Printing, viewing, copying, and clearing a pre-allocated or SYS1.DUMPxx data set

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:
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
/*