Subparameter definition

COPY (JES2 only)
Requests that JES2 copy the input job stream, as submitted, directly to a sysout data set and schedule the sysout data set for output processing. The system does not schedule the job for execution. The class of this sysout data set is the same as the message class of the job and is controlled by the JOB MSGCLASS parameter.
Note: COPY is supported only in JES2 systems.
HOLD
Requests that the system hold the job before execution until the operator releases it. The operator should release the job when a particular event occurs. If an error occurs during input service processing, JES does not hold the job.
JCLHOLD (JES2 only)
Start of changeRequests that JES2 hold the job before completing JCL processing. JES2 holds the job until the operator releases it. However, if there are error messages pending for the job, which surface as a result of completing JCL processing, the job is not held. The job completes JCL processing and then is placed in the OUTPUT queue.
Note: JCLHOLD is supported only in JES2 systems.
End of change
SCAN
Requests that the system scan this job’s JCL for syntax errors, without executing the job or allocating devices. This parameter asks the system to check for:
  • Spelling of parameter keywords and some subparameter keywords that is not valid.
  • Characters that are not valid.
  • Unbalanced parentheses.
  • Misplaced positional parameters on some statements.
  • In a JES3 system only, parameter value errors or excessive parameters.
  • Invalid syntax on JCL statements in cataloged procedures invoked by any scanned EXEC statements.

The system does not check for misplaced statements, for invalid syntax in JCL subparameters, or for parameters and/or subparameters that are inappropriate together.

In a JES3 system, the system does not scan the JCL on the submitting system when a //*ROUTE or XMIT JCL statement follows the JOB statement.

TYPRUN=SCAN checks the JCL only through the converter, not the interpreter. The difference is that the converter basically checks all expressions to the LEFT of an equal sign plus SOME expressions to the right of an equal sign (and issues messages that start with IEFC), while the interpreter checks all expressions to the RIGHT of an equal sign (and issues messages that start with IEF). For example, a data set name containing a qualifier that exceeds eight characters, such as
     DSN=L9755TB.JCL.TEST19970103

would NOT be flagged by TYPRUN=SCAN but would be caught by the interpreter.