(ZOS) Sample JCL to display WebSphere for z/OS trace data
Use this sample JCL to display trace data for WebSphere Application Server for z/OS .
The following sample shows JCL that displays WebSphere for z/OS trace data.
The JCL uses an IPCS dump directory (in VSAM data set userid.DUMP.DIR) that must be allocated before running the JCL. See z/OS VS™ IPCS Commands, SA22-7594 , for information about initializing a dump directory.
//SHOWTRC JOB <job card info> //JOBLIB DD DISP=SHR,DSN=BBO.MIGLIB // DD DISP=SHR,DSN=SYS1.MIGLIB //PRINTIT EXEC PGM=IKJEFT01,REGION=OM //IPCSDDIR DD DISP=(OLD,KEEP),DSN=userid.DUMP.DIR //IPCSPARM DD DISP=SHR,DSN=SYS1.PARMLIB //SYSTSPRT DD SYSOUT=* //IPCSTOC DD SYSOUT=* //IPCSPRNT DD SYSOUT=* //*--------------------------- //SYSTSIN DD * IPCS NOPARM CTRACE COMP(SYSBBOSS) SUB((subname)) FULL DSN('dump.data.set') /*The following example shows JCL that displays WebSphere for z/OS trace data for multiple address spaces.
//SHOWTRC2 JOB <job card info> //JOBLIB DD DISP=SHR,DSN=BBO.MIGLIB // DD DISP=SHR,DSN=SYS1.MIGLIB //PRINTIT EXEC PGM=IKJEFT01,REGION=OM //IPCSDDIR DD DISP=(OLD,KEEP),DSN=userid.DUMP.DIR //IPCSPARM DD DISP=SHR,DSN=SYS1.PARMLIB //SYSTSPRT DD SYSOUT=* //IPCSTOC DD SYSOUT=* //IPCSPRNT DD SYSOUT=* //*--------------------------- //SYSTSIN DD * IPCS NOPARM MERGE CTRACE COMP(SYSBBOSS) SUB((subname)) FULL DSN('dump.data.set') CTRACE COMP(SYSBBOSS) SUB((subname2)) FULL DSN('dump.data.set') MERGEEND /*We need to copy the files from WAS_HOME/lib/ipcs/ into BBO.MIGLIB.
Formatting CTRACE data in batch mode with IPCS ICPS CTRACE command