JCL SYSMDUMP Statement

JCL SYSABEND Statement JCL SYSUDUMP Statement

Advertisements


SYSMDUMP DD statement used to direct the system to produce dump.

System produces the dump when the job abends abnormally.

If the JOB successfully completed, then system will not generate any dump even though SYSMDUMP coded.

SYSMDUMP produces a dump of the system areas and the program's address space.

The dump is unformatted and machine-readable;

SYSMDUMP dumps are the only ABEND dumps.


Syntax:

//SYSMDUMP  DD parameter[,parameter]...  [comments]

Do not place two DD statements with the same dump ddname.


Example:

//STEP     EXEC PGM=PROG1
//SYSMDUMP DD   UNIT=3390,VOLUME=SER=3456,SPACE=(CYL,(0,1)),
//           DISP=(NEW,DELETE,KEEP),DSNAME=MTH.MDUMP

The SYSMDUMP DD statement allocates dump data set MTH.MDUMP to a direct access device.


JCL SYSABEND Statement JCL SYSUDUMP Statement

Advertisements