Previous Topic: RMORAP - Activating and Deactivating Reports from BatchNext Topic: JOB Control Statement


Job Control Statements

Specify the following JCL to execute RMORAP:

JOB

Initiates the job.

EXEC

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

STEPLIB DD

Identifies the load library that contains RMORAP.

If the program resides in a linklist library, you can omit this statement.

SYSPRINT DD

Identifies the sequential output data set (typically the SYSOUT) to which control statements and messages are to be sent.

If you do not specify a SYSOUT data set, specify DCB=BLKSIZE=nnn, where nnn represents a number that is a multiple of 133.

JOBACT DD

Defines the sequential data set containing the names of the jobs whose reports are to be activated or deactivated.

The data set can contain fixed or variable records of any length. You can omit this DD statement if job names are not to be input to the program.

RPTACT DD

Defines the sequential data set containing the identifiers of the reports to be activated/deactivated.

The data set can contain fixed or variable records of any length. You can omit this DD statement if report identifiers are not to be input to the program.

SYSIN DD

Specifies the name of the card image data set where the control statements you want to input are located.

Important! Use either JOBACT DD or RPTACT DD but not both. RMORAP control statements must fit entirely on one card image. Continuations are not allowed.