I am trying to use logical groups in CICS threshold definitions, but having trouble using type JOBNAME. I have the following definitions in the GROUPS parmlib member:
DEFINE CICSM
TYPE JOBNAME
DESC 'TEST lpar CICS Regions '
MEMBER CICSM1
MEMBER CICSM2
DEFINE MXXXXX TYPE CICSTRAN DESC 'Test out GROUP function '
INSTANCE =
MEMBER SSCC
MEMBER SSCD
The following threshold definition coded in the CTHRESH member does not trigger:
DEFINE LIFETIME JOBNAME >CICSM TRAN >MXXXXX RSCE = LIMIT 30.000 ....
I also have this rule defined that is triggered:
DEFINE LIFETIME JOBNAME CICSM* TRAN = RSCE = LIMIT 600.000 ...
Why doesn't the rule defined for the Group CICSM (LIFETIME JOBNAME >CICSM TRAN >MXXXXX RSCE = LIMIT 30.000 ...) trigger?
SYSVIEW R16.0 and prior releases
First of all, Type CICSPLEX, not JOBNAME, need to be used creating a logical group for " lpar CICS Regions" (in this case Group CICSM).
So the definition within the GROUPS parmlib member needs to be changed to:
DEFINE CICSM
TYPE CICSPLEX
DESC 'TEST lpar CICS Regions '
MEMBER CICSM1
MEMBER CICSM2
Then when viewing the definitions online, we can better understand how the Threshold process searches threshold definitions and finds the best match on a rule. All threshold definitions for the specific metric or variable name will be processed. The last match in the list "wins". The generic threshold ( DEFINE LIFETIME JOBNAME CICSM* TRAN = RSCE = ) wins over the process to find the best match for a transaction defined in group MXXXXX running in any of the CICS regions included in the CICSM group.
See Topics : Exception definition best match rules (Type TOPICS in SYSVIEW to reference)
See HELP panel for CTHRESH command