Start of change

Statistics alert definition examples

You can use an alert definition for Statistics List, Summary, and Alert reports.

Statistics List definition example

The following example shows an alert definition that can be used for both alerting and report selection criteria. The first condition includes all Transaction Manager records that have a peak task percentage that exceeds the nominated threshold level for the specified resource and APPLID. The second and third conditions select the Dispatcher TCB Modes records with Java TCB Modes (DSGTCBNM = J*) and the value of UNKNOWN in the TCB Mode Open (DSGTCBMD) field.

   File  Edit  Lists  Options  Help 
 ─────────────────────────────────────────────────────────────────────────────
                EDIT Statistics Alert Definition - SALRTSLX  Row 1 of 3 More: > 
 Command ===>                                                 Scroll ===> PAGE 

 Description  . . .                                      

 Specify the Conditions for this Alert Definition.

   Alert     Peak tasks (% of maximum tasks)                    
   Formula   XMGPAT / XMGMXT * 100                                        
                                                                          +
   Critical  >=90            Warning  >=60            Info                
     Res     DFH*                                          List           +  
     APPLID  IYK*     
 ----------------------------------------------------------------------------- 
   Alert     Java TCB Mode         __                           
   Formula   DSGTCBNM                                                     
                                                                          +
   Critical                  Warning                  Info                
     Res     J*                                            List           +  
     APPLID           
 ----------------------------------------------------------------------------- 
   Alert     TCB Mode not activated                             
   Formula   DSGTCBMD           ____________________________              
                                                                          +
   Critical                  Warning                  Info                
     Res     UNKNOWN                                       List           +  
     APPLID           
 ----------------------------------------------------------------------------- 
Note: You could not define a fourth condition that specifies a different value such as K* for field DSGTCBNM. Both conditions could never be true for the same record, so whichever condition is not true would terminate record processing as stated in the selection criteria rules.

Statistics Summary definition example

The following example shows an alert that filters the Statistics Summary report to show only the records where Max TCB Pool Limit is greater than 340.

   File  Edit  Lists  Options  Help 
 ------------------------------------------------------------------------------
                EDIT Statistics Alert Definition - SAD5      Row 1 of 1 More: > 
 Command ===>                                                 Scroll ===> PAGE 

 Description  . . . Dispatcher TCB modes and pools       

 Specify the Conditions for this Alert Definition.

   Alert     Max TCB Pool Limit >340                            
   Formula   DSGMXTCB                                                     
                                                                          +
   Critical                  Warning  >340            Info                
     Res                                                   List           +  
     APPLID           
 ----------------------------------------------------------------------------- 
 ******************************* Bottom of data ********************************
End of change