Module 4: JCL DD Statement
SPECIAL DD PARAMETER/STATEMENTS
SYSABEND DD statement
This dataset are written in case of abend. This parameter is used to dump(print) the program area, trace back of subroutine called, content of registers, variables and dataset accessed at the time of abnormal termination. It differs from SYSUDUMP because it also prints system nucleus. This requires lot of storage space and also presence of mind to analyse. This parameters is useful for system programmers.
Syntax :-
//SYSABEND DD ………
Example:-
//DEPTJOB JOB A123,’STEVE’
//STEP1 EXEC PGM=PROG1
//DATA1 DD DSN=DEPT1.EMP1.DATA1,
// DISP=SHR
//SYSABEND DD SYSOUT=A