Previous Topic: RMOGRW - General Report WriterNext Topic: Control Statements


Job Control Statements

Specify the following JCL to execute RMOGRW:

JOB

Initiates the job.

EXEC

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

You may also need to specify a region size (REGION=4096K is recommended).

STEPLIB DD

Identifies the load library that contains RMOGRW.

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.

PRTFILE DD

Defines the sequential output data set (typically SYSOUT) to which the hardcopy report is to be written using the PRINT control statement.

The DD statement name can be changed by use of the CONTROL control statement.

OUTFILE DD

Defines the sequential output data set to which records are to be output using the OUTPUT control statement.

The DD statement name can be changed by use of the CONTROL control statement. The DCB parameters LRECL, BLKSIZE, and RECFM are required to avoid a system error.

SORTLIB DD

Defines the load library containing the sort library programs.

SORTWK01 DD

Defines sort work disk space.

SORTWK02 DD

Defines sort work disk space.

SORTWK03 DD

Defines sort work disk space.

SYSOUT DD

Defines the sort message data set.

SYSIN DD

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