This topic describes methods to copy an input job without executing
any steps. These methods are not supported in an APPC scheduling
environment, and are not supported for started tasks.
Code one of the following on the JOB statement to copy an input
job without executing any steps:
- TYPRUN=COPY
- A CLASS job class defined during initialization as containing
jobs to be copied without execution.
While copying the input stream, JES2 or JES3 scans the JCL for
syntax errors.
In both cases, JES2 or JES3 places the copy of the input stream
in a sysout data set. The sysout data set is in the class specified
in the JOB statement MSGCLASS parameter. Pick the MSGCLASS class to
control how the copied input stream is to be processed, as follows:
- By JES2, JES3 or by an external writer.
- Scheduled for immediate output or held because the message class
is held. If held, the sysout data set is available to the TSO/E OUTPUT
command.
Examples: //CPYJ1 JOB 1589D10,'I. BUTLER',TYPRUN=COPY
.
//CPYJ2 JOB ,'D. BALLARD',CLASS=P
.