Previous Topic: Tape Map ReportsNext Topic: SARTCP Control Statements


Job Control Statements

Sample execution JCL can be found in member HAEXTCP in your CVDEJCL data set.

These job control statements are necessary to execute SARTCP:

JOB

Initiates the job.

EXEC

Specifies the program name (PGM=SARTCP).

To invoke the duplicate function, you must add (PARM='COPYASIS') to the execute statement. When COPYASIS is invoked, the control statements in the SYSIN file are ignored.

To create a new CA View header (SARHDR) record on the output tape, add PARM='ADDHDR' to the execute statement. If the input tape has a CA View Header, the message SARTCP03 is be displayed and the step abends with a U'0003'.

STEPLIB DD

Defines the load library containing SARTCP.

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

SYSPRINT DD

Defines the sequential output data set (normally SYSOUT) into which the mapping report is written.

If not a SYSOUT data set, DCB=BLKSIZE=nnn must be coded, where nnn is a multiple of 133.

TAPEIN DD

Defines the input tape.

Generally, the tape must be defined with standard labels. However, if the tape has been damaged, bypass label processing can be used.

TAPEOUT DD

Defines the output tape.

This statement is optional; if omitted, no tape copy is performed.

SYSIN DD

Defines a card image data set containing the control statements.

Note: When COPYASIS is invoked, the control statements in the SYSIN file are ignored.