Previous Topic: GREXX VariablesNext Topic: SARBCH Control Statements


SARBCH JCL Statements

ample execution JCL can be found in member HAEXBCH in your CVDEJCL data set.

The following job control statements are required to execute SARBCH.

JOB

Initiates the job.

EXEC

Specifies the program name (PGM=SARBCH) and, optionally, the high-level name of the product database as the PARM parameter (PARM='VIEW.SYSTEM1').

STEPLIB DD

Defines the load library containing SARBCH.

If the program resides in a link list library, omit this statement.

SYSPRINT DD

Defines the sequential output data set (normally SYSOUT) used for listing the control statements and messages.

If you are not defining a SYSOUT data set, you must code DCB=BLKSIZE=nnn, where nnn is a multiple of 133.

REPORT DD

Defines an output data set (normally SYSOUT) into which SYSOUT listing from the LIST function is written.

This statement can be omitted if no LIST control statements are input to the program. If you are not defining a SYSOUT data set, you must code DCB=BLKSIZE=nnn, where nnn is a multiple of 133.

SARLOAD DD

Defines a user-maintained, sequential data set into which the LOAD function is to load the SYSOUT.

This statement is optional, but, if you omit it, the product temporarily loads the SYSOUT to its database. Multiple SARLOAD DD statements with the FREE=CLOSE parameter can be used to load multiple SYSOUT groups to different user-defined data sets.

SYSIN DD

Defines a card image data set that contains the control statements to be input.

DDNAME DD

Defines a data set to which a SYSOUT group can be written.

Note: For more information about this dataset, see the LOAD and PRINT SARBCH control statements.

CTLCARDS DD

Optional DD, used with the LISTDEV, LISTFILT, and LISTVIEW parameters to create DEFDEV, DEFFILT, and DEFVIEW statements that can later be used to define new or modify existing devices, filters, and logical views. This dataset is to have the following JCL attributes:

RECFM=FB

LRECL=80