EXEC and DD statements for the Statistics Data Import Utility

You must specify an EXEC statement and DD statements that define the input and output data sets in your JCL.

EXEC statement

The EXEC statement must be in the following format:

//STEP EXEC PGM=BSNUTIL0,PARM='FUNC=IMPORT_STATS'

The EXEC statement in the batch JCL contains one keyword specification in the PARM field: FUNC=.

FUNC
Identifies which Policy Services utility is to be invoked.

To invoke the Statistics Data Import Utility, specify either 'FUNC=IMPORT_STATS' or 'FUNC=IMPS'.

Summary of DD statements

DD statements for the Statistics Data Import Utility determine the input and output data sets and specify how to run the Statistics Data Import Utility.

The following table summarizes the DD statements for the Statistics Data Import Utility.

Table 1. DD statements for the Statistics Data Import Utility
DD name Use Format Can be dynamically allocated? Required or optional?
STEPLIB Input RECFM=U No Required
IMS Input RECFM=U No Start of changeRequired if the IMSCATHLQ keyword is not specifiedEnd of change
BSNSYSIN Input RECFM=FB,LRECL=80 No Required
BSNUJRNL Output RECFM=FBA,LRECL=133 Yes Optional
BSNURPRT Output RECFM=FBA,LRECL=133 Yes Optional

DD statements for input

The following input DD statements are used for the Statistics Data Import Utility.

STEPLIB
This DD statement is required. It specifies the following load module libraries: Start of change
  • The IMS Tools Base library (SHKTLOAD). This library is required.
  • The IMS Tools Base library (SGLXLOAD). This library is required if you specify the IMSCATHLQ keyword.
  • The IMS load module library (SDFSRESL). This library is required if you specify the IMSCATHLQ keyword.
End of change
IMS
Start of changeIf you do not specify the IMSCATHLQ keyword, this DD statement is required. It specifies the library that contains the DBD. The DBD name is described in the input CSV data set.

If you specify the IMSCATHLQ keyword, the IMS DD statement is not required; the IMS directory is used instead of the DBD library.

End of change
BSNSYSIN
This DD statement is required. It specifies the input control statement that controls the Statistics Data Import Utility functions.

The BSNSYSIN DD statement can be coded as a standard SYSIN file, a sequential data set, or a PDS member. LRECL=80 is required for the DCB of this data set.

For details about coding the BSNSYSIN DD statement, see Control statements for the Statistics Data Import Utility.

DD statements for output

The following output DD statements are used for the Statistics Data Import Utility.

BSNUJRNL
This DD statement is optional. It specifies the processing log output data set, which stores processing messages that are issued by the Statistics Data Import Utility.

If you do not specify this DD statement, the Statistics Data Import Utility dynamically allocates the data set by using SYSOUT=*.

BSNURPRT
This DD statement is optional. It specifies the report output data set, which stores the Imported Sensor Data report.

If you do not specify this DD statement, the Statistics Data Import Utility dynamically allocates the data set by using SYSOUT=*.