At the moment we are monitoring the CICS thresholds, and to see if they have been applied as expected.The Count-value can be quite high when you don't monitor frequently.Is there a way to have the value auto-reset/cleared after a certain time ?
The CTHRESH command has a line command "RESET" can be used to reset the count value to zero.
There is no built in method to clear or zero the count value at specific level or duration. A simple SYSVIEW CLIST could be written to achieve the desired outcome.
The following commands in the clist would be a start:
SELECT COUNT GT nnnn
LINECMD RESET 1-9999
If you are getting large count values, maybe the limit value of the threshold needs to be adjusted.
You state the count-value can be quite high. How high is "quite-high". Just curious.
Hi Todd,as an example, see below (sorry about the formatting).Basically what the intention is: "all tasks are to be forcepurged after 15 minutes of RUNTIME, except..."
And in this case the 'catch-all' Resourc1, called "=", is triggered a lot. Even though it doesn't have to take action because of the exceptions that are mentioned at a more specific level.Nevertheless the counter of "=" is raised at each trigger.
Jobname Name Resourc1 Resourc2 Cancel CanLimitCICSPROD RUNTIME = = FORCEPUR 00:15:00CICSPROD . BMTP = NOCANCEL 00:30:00CICSPROD . B11R = NOCANCEL 00:30:00CICSPROD . C= = NOCANCEL 00:30:00CICSPROD . CSMI = FORCEPUR 00:30:00CICSPROD . CSOL = NOCANCEL 00:30:00
Is this the sme idea? CONSOLE Refresh CICS Thresholds
no. that one is about 'reloading' the threshold-definitions from parmlib, using a modify-command.My query is about 'resetting' the counters of a threshold.