How to run FF DB Sensor Diagnostics Aid with JCL stream

To run Diagnostics Aid (HPSCDIAG), 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=HPSCDIAG
STEPLIB DD
This statement points to the load module library data set where HPSCDIAG load module resides:
//STEPLIB DD DISP=SHR,DSN=HPS.SHPSLMD0
where HPS.SHPSLMD0 is the name of the library that contains the DB Sensor load modules.
SHPSLMD DD
This statement defines the library containing the DB Sensor load modules (typically HPS.SHPSLMD0) for which you have a problem.

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

It is always recommended that you specify this DD statement.

SHPSMAC DD
This statement defines the library containing the provided DB Sensor macros (typically HPS.SHPSMAC0) for which you have a problem.

If this DD statement is not provided, or if DD DUMMY is specified, the DB Sensor Macro APAR Status report is not generated.

SYSPRINT DD
This output data set contains the DB Sensor 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 the following:
    //SYSPRINT  DD SYSOUT=A