Print this page

The following job can be used to print off MQ z/os log data:

//PRTLOG   EXEC PGM=CSQ1LOGP
//STEPLIB  DD DSN=<HLQ>.SCSQANLE,DISP=SHR
//         DD DSN=<HLQ>.SCSQLOAD,DISP=SHR
//SYSPRINT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//ARCHIVE  DD DISP=SHR,DSN=<HLQ>.MQARCHIVE.A00xxxx
//SYSSUMRY DD SYSOUT=*
//CSQBACK  DD SYSOUT=*
//CSQCMT   DD SYSOUT=*
//*SQBOTH  DD SYSOUT=*
//CSQINFLT DD SYSOUT=*
//CSQOBJS  DD SYSOUT=*
//SYSIN    DD *
SUMMARY(ONLY)
EXTRACT(YES)
/*

The ARCHIVE entry is used to specify archive log data sets to be used; more than one can be concatenated if necessary (be careful with this as large amounts of spool may be generated).  By looking through the queue manager MSTR JESMSGLG, it should be possible to determine which logs were used in a specific period (or use input parameters).

Most detailed information is written to SYSPRINT.  SYSSUMMRY is used for the SUMMARY command, which is used to specify whether a summary is to be produced; values can either be YES, NO or ONLY (only produce a summary, not a detailed report).

The EXTRACT command will write:

  • details of commits to CSQCMT,
  • details of backout requests to CSQBACK,
  • details of the both of the above to CSQBOTH (if specified),
  • details of object changes to CSQOBJS,
  • and details of in flight transactions to CSQINFLT.

 

Details of the record layout can be found here.