JCL for the Inventory utility


This topic describes the JCL requirements for the Inventory utility.

JCL requirements

The following table provides a description of the JCL and DD statements needed for executing the Inventory utility:

JCL and DD Statements

Description

EXEC JCL

An EXEC statement is required.

The EXEC JCL statement must specify a program name of ILMMAIN.

No PARM= operand is required. If you provide a parameter, the utility ignores it.

STEPLIB DD

A STEPLIB DD (or a JOBLIB DD) statement is required.

The data set name must be the name of the load module library containing the Inventory utility program. Additionally, you must provide a DD statement that specifies the data set name of the library containing your installation’s IMS RESLIB.

SYSPRINT DD

A SYSPRINT DD statement is required.

The statement identifies the data set containing the various reports and error messages.

NSMSYSIN DD

A NSMSYSIN DD statement is required.

The data set specifies parameters that the program uses. The statement must contain 80-character, fixed length records.

SYSOUT DD

A SYSOUT DD statement is required by your installation’s sort program.

DBDLIB DD

ACBLIB DD

RECON1

IMSDALIB

MODBLKS

One or more additional DD statements are required.

The DD names include: DBDLIB, ACBLIB, RECON1, IMSDALIB and MODBLKS. The specific DD statements depend on the TYPEDATA= and INDD= operands in the INVENTRY command.

Required DD statements shows the required DD statements that are based on the TYPEDATA= operand value. R indicates that the DD statement is required, and O indicates the DD statement is optional. A blank indicates the DD statement is not allowed.


Required DD statements

TYPEDATA=

DBDLIB

ACBLIB

RECON1

IMSDALIB

MODBLKS

DBNALL

R

R

R

R

R1

DDNALL

R

R

R

R

NA

DSNALL

NA

NA

R

NA

NA

DBNONLY2

O

O

O

NA

O

DDNONLYb

O

O

O

O

NA

DSNONLYb

NA

NA

O

O

NA

EXITRTNS

R

NA

NA

NA

NA

DBORG

R

NA

NA

NA

NA

1 Not required if you specify EXCLUDE=MODBLKS.
2 Specify one of the indicated DD names in the INDD= operand.

Warning

INDD= operand is required when TYPEDATA= operand specifies DBNONLY, DDNONLY, or DSNONLY.

JCL example

An example of the JCL required to run the Inventory utility program follows:

//DBDINV EXEC PGM=ILMMAIN
//STEPLIB DD DSN=BMCI.CONS.LOAD,DISP=SHR
// DD DSN=IMSVS.RESLIB,DISP=SHR
//DBDLIB DD DSN=IMSVS.DBDLIB,DISP=SHR
//ACBLIB DD DSN=IMSVS.ACBLIB,DISP=SHR
//MODBLKS DD DSN=IMSVS.MODBLKS,DISP=SHR
//RECON1 DD DSN=IMSVS.RECON1,DISP=SHR
//IMSDALIB DD DSN=IMSVS.MDALIB,DISP=SHR
//SYSPRINT DD SYSOUT=*
//NSMLOG DD SYSOUT=*
//SYSOUTDD SYSOUT=*
//NSMSYSIN DD *
GLOBAL PREVIEW=NO,REPORTS=(DSNREF=YES)
INVENTRY TYPEDATA=DBNALL,EXCLUDE=MODBLKS 

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC iLM for IMS 8.2