CPAPALST - Performance Alerts List report

This JCL runs CICS PA Performance Alerts List reports. For example:
 1 
Performance Alerts List report using a FORM to generate the FIELDS. SEVERITY(ALL) indicates that all transactions are reported regardless of whether they are eligible or not and whether they generate an alert or not.
 2 
Performance Alerts List report using the Alert Template to specify the fields in the report instead of a FORM. Operand SEVERITY(CRITICAL) indicates that only transactions with severity of Critical are reported.
 3 
Performance Alerts List report using the Alert Template to specify the fields in the report instead of a FORM. Operand SEVERITY(WARNING) indicates that only transactions with severity of Warning or Critical are reported.
 4 
Performance Alerts List report using the Alert Template to specify the fields in the report instead of a FORM. SEVERITY(INFO) indicates that only transactions with severity of Informational, Warning and Critical are reported.
 5 
Performance Alerts List report using the Alert Template to specify the fields in the report instead of a FORM. SEVERITY(ELIGIBLE) indicates that only transactions that are eligible for alert processing are reported. Eligible transactions are those that have field values that match the Resource values defined in the Alert definition. Eligible transactions with and without alerts are reported.
Figure 1. Sample JCL CPAPALST - Performance Alerts List report
//CPAPALST JOB ,CLASS=A,NOTIFY=&SYSUID
//CICSPA   EXEC PGM=CPAMAIN,REGION=4M,PARM=NOSTAE
//STEPLIB  DD  DSN=CPA.V3R2M0.SCPALINK,DISP=SHR
//SYSPRINT DD  SYSOUT=*                                   
//*                                                
//* HDB Register                                   
//CPAHDBRG DD  DISP=SHR,DSN=<CICSPA.HDB.Register>
//*                                                       
//* SMF Input Files                                     
//SMFIN001 DD  DISP=SHR,DSN=<SMF.Input.DSN.applid1>       
//*                                                       
//* Commands to request CICS PA reports                   
//SYSIN    DD  *                                          
 CICSPA IN(SMFIN001),                                     
        APPLID(<applid1>),                                
            LIST(OUTPUT(LIST0001),                     1         
                ALERTDEF(<alertdefinitionname>),              
                SEVERITY(ALL),                                          
                FIELDS(TRAN,                                            
                       STOP(TIMES),                                     
                       RESPONSE,                                        
                       RESPONSE(SEV),                                   
                       DISPATCH(TIME),                                  
                       DISPATCH(TIME,SEV),                              
                       CPU(TIME),                                       
                       CPU(TIME,SEV),                                   
                       DISPWAIT(TIME),                                  
                       FCWAIT(TIME),                                    
                       FCAMCT,                                          
                       IRWAIT(TIME))),                                  
            LIST(OUTPUT(LIST0002),                    2                    
                ALERTDEF(<alertdefinitionname>),                        
                SEVERITY(CRITICAL)),                                   
            LIST(OUTPUT(LIST0003),                    3                   
                ALERTDEF(<alertdefinitionname>),                        
                SEVERITY(WARNING)),                                    
            LIST(OUTPUT(LIST0005),                    4                   
                ALERTDEF(<alertdefinitionname>),                        
                SEVERITY(INFO)),                                       
            LIST(OUTPUT(LIST0006),                    5                   
                ALERTDEF(<alertdefinitionname>),                        
                SEVERITY(ELIGIBLE))                                     
/*