XLOG CICS logstreams reports
search cancel

XLOG CICS logstreams reports

book

Article ID: 241661

calendar_today

Updated On:

Products

SYSVIEW Performance Management

Issue/Introduction

How to produce a report with the XLOG CICS logstream? 

How to produce a FLASHBACK LIST that provides four fields: 

Cmd     Date            Time     System     Jobname        Name               Resourc1                Resourc2 
___       2022/05/10 08:14:30 PDC2     CICPFHT1      ABENDS          Q463                      4038     
___       2022/05/10 08:15:19 PDC2     CICPFHT1      CICSTRAN      ACM1                     62954    
___       2022/05/10 08:15:19 PDC2     CICPFHT1      ABENDS          ACM1                     AKCC     
  

The idea is to obtain in a file the list of these four fields:   Jobname     Name     Resourc1       Resourc2 

  • Jobname gives the CICS REgion name
  • Name provides the threshold name
  • Resourc1 provides the transaction name
  • Resourc2 the abend code

               

Environment

SYSVIEW 15.0 & 16.0 - z/OS supported releases - 

 

Resolution

Here are the parameters that can be used to get the four fields:
 
OPTION(ZEROFLD=ZERO,NULLINE=NO,SUMMARY=NO,ECHO=NO)      
                                                        
TITLE1 ABENDING TRANSACTION REPORT                      
                                                        
DEFINE XID CICSJ,                                       
PRODUCT=EXPC,                                           
RECORD=03,                                              
OFFSET=X40,                                             
LENGTH=8,                                               
TYPE=CHAR,                                              
HDR1=CICSJ                                              
                                                        
SELECT VARNAME(ABENDS)                                  
                                                        
FLASHBACK LIST DATE,                                    
   ENDTIME HDR1(END) HDR2(TIME) FORMAT(HH:MM:SS),       
   CICSJ                               AND,             
   COMMON THRESHOLD EXCEPTION RESOURCE AND,             
   COMMON THRESHOLD EXCEPTION RESOURCE2 AND,            
   COMMON THRESHOLD EXCEPTION VARNAME                   
END                                                     
RUN