How to run Diagnostics Aid with JCL stream

To run IMS Index Builder Diagnostics Aid (IIUUDIAG), supply an EXEC statement and a DD statement that define the output data set.

EXEC
This statement must be in the following form:
    //stepname  EXEC PGM=IIUUDIAG
STEPLIB DD
This statement defines the library containing the IIUUDIAG program (typically IIU.SIIULMOD).
SIIULMOD DD
This statement defines the library containing the IMS Index Builder load modules (typically IIU.SIIULMOD) for which you have a problem.

If this DD statement is not provided, or if DD DUMMY is specified, the IMS Index Builder Load Module APAR Status report is not generated.

It is always recommended that you specify this DD statement.

SYSPRINT DD
This output data set contains the IMS Index Builder Load Module 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 the following:
    //SYSPRINT  DD SYSOUT=A
The following figure shows example JCL statements to run IMS Index Builder Diagnostics Aid.
Figure 1. Example JCL statements to run IMS Index Builder Diagnostics Aid
//DIAG     EXEC PGM=IIUUDIAG  
//STEPLIB  DD DISP=SHR,DSN=IIU.SIIULMOD  
//SIIULMOD DD DISP=SHR,DSN=IIU.SIIULMOD
//SYSPRINT DD SYSOUT=A