Previous Topic: General Report Writer Program (SARGRW)Next Topic: SARGRW Control Statements


SARGRW Job Control Statements

To execute SARGRW, specify the following JCL:

JOB

Initiates the job.

EXEC

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

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

STEPLIB DD

Identifies the load library that contains SARGRW.

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 sent.

If you do not specify a SYSOUT data set, then 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.

Use the CONTROL control statement to change the DD statement name.

OUTFILE DD

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

Use the CONTROL control statement to change the DD statement name. 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 the sort work disk space.

SORTWK02 DD

Defines the sort work disk space.

SORTWK03 DD

Defines the 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.