Processing a dump using IPCS in batch

Use this topic to understand how IBM® MQ dumps can be formatted by IPCS commands in batch mode.

To use IPCS in batch, insert the required IPCS statements into your batch job stream (see Figure 1 ).

Change the data set name (DSN=) on the DUMP00 statement to reflect the dump you want to process, and insert the IPCS subcommands that you want to use.
Figure 1. Sample JCL for printing dumps through IPCS in the z/OS environment

//*************************************************
//*   RUNNING IPCS IN A BATCH JOB                 *
//*************************************************
//MQMDMP   EXEC  PGM=IKJEFT01,REGION=5120K
//STEPLIB  DD    DSN=mqm.library-name,DISP=SHR
//SYSTSPRT DD    SYSOUT=*
//IPCSPRNT DD    SYSOUT=*
//IPCSDDIR DD    DSN=dump.directory-name,DISP=OLD
//DUMP00   DD    DSN=dump.name,DISP=SHR
//SYSTSIN  DD    *
  IPCS NOPARM TASKLIB(SCSQLOAD)
  SETDEF PRINT TERMINAL DDNAME(DUMP00) NOCONFIRM
  **************************************************
  * INSERT YOUR IPCS COMMANDS HERE, FOR EXAMPLE:   *
  VERBEXIT LOGDATA
  VERBEXIT SYMPTOM
  VERBEXIT CSQWDMP 'TT,SUBSYS=QMGR'
  **************************************************
 
  CLOSE   ALL
END
/*