How to run Diagnostics Aid with JCL

To run the Diagnostics Aid (FABJDIAG), supply an EXEC statement and a DD statement that defines the output data set.

EXEC
This statement must be in the following form:
//stepname  EXEC PGM=FABJDIAG 
STEPLIB DD
This statement defines the library that contains the FABJDIAG program (generally SHPSLMD0).
SHPSLMD DD
This statement defines the library that contains the load modules (generally HPS.SHPSLMD0) for which you have a problem.

The Load Module APAR Status report is not generated if this DD statement is not provided or if DD DUMMY is specified.

It is recommended that you always specify this DD statement.

SHPSMAC DD
This statement defines the library that contains the provided macros (generally HPS.SHPSMAC0) for which you have a problem.

The Macro APAR Status report is not generated if this DD statement is not provided or if DD DUMMY is specified.

SYSPRINT DD
This output data set contains the Load Module/Macro APAR Status report. The data set contains 133-byte, fixed-length records. It can reside on a tape, direct-access device, or printer; or it can be routed through the output stream. If BLKSIZE is coded in the DD statement, it must be a multiple of 133. However, it is recommended that you use:
//SYSPRINT  DD SYSOUT=A