SVC dumps are unformatted when created. Use IPCS to format a dump
and then view it at a terminal or print it.
After the dump has been copied to a permanent data set, use a DUMPDS
operator command to clear the data set so that the system can use
the data set for another dump. Then use IPCS to view the copy.
You can copy a dump that was written to tape so that you can view
the dump through IPCS more efficiently.
For a pre-allocated data set or a SYS1.DUMPxx data set, the JCL
shown in
Figure 1 does the following:
- Uses the SVC dump in the SYS1.DUMP00 data set. The IPCSDUMP DD
statement identifies this data set.
- Copies the dump from the SYS1.DUMP00 data set to the data set
identified in the DUMPOUT DD statement. To use this example, change
the DUMPOUT DD statement to give the DSNAME for the desired location.
- Clears the SYS1.DUMP00 data set so that it can be used for a new
dump.
- Deletes the IPCS dump directory in the DELETE(DDIR) statement.
This statement uses the USERID of the batch job in the directory identification.
- Allocates the dump directory through the BLSCDDIR statement. The
default is volume VSAM01. The example shows VSAM11. Override the
default volume with the desired volume.
- Formats the dump using the IPCS subcommands in LIST 0. To use
this example, replace the LIST 0 command with the desired IPCS subcommands
or a CLIST. See z/OS MVS IPCS User's Guide for
CLISTs.
Figure 1. Example:
JCL to print, copy, and clear an SVC dump data set//IPCSJOB JOB
//IPCS EXEC PGM=IKJEFT01,DYNAMNBR=75,REGION=1500K
//SYSPROC DD DSN=SYS1.SBLSCLI0,DISP=SHR
//IPCSDUMP DD DSN=SYS1.DUMP00,DISP=SHR
//DUMPOUT DD DSN=GDG.DATA.SET(+1),DISP=SHR
//SYSUDUMP DD SYSOUT=*
//IPCSTOC DD SYSOUT=*
//IPCSPRNT DD SYSOUT=*
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
DELETE(DDIR) PURGE CLUSTER
BLSCDDIR VOLUME(VSAM11)
IPCS NOPARM
SETDEF DD(IPCSDUMP) LIST NOCONFIRM
LIST 0
COPYDUMP INFILE(IPCSDUMP) OUTFILE(DUMPOUT) CLEAR NOPRINT NOCONFIRM
END
/*