Download TSO/E User's Guide

Transcript
Submitting Batch Jobs
Example
To submit the jobs in data sets JOB5.CNTL and JOB7.CNTL, where data sets
FIVEIN.DATA and SEVENIN.DATA contain input for each job, enter:
SUBMIT (job5,fivein,job7,sevenin)
|
|
|
|
job
input
|
|
job
input
Holding a Batch Job's Output
HOLD/NOHOLD Operands
To have the system hold a job's output for later processing, use the HOLD
operand. NOHOLD specifies that you do not want the output held for later
processing. NOHOLD is the default.
Example
To have the system retain the output from the job in data set JOB5.CNTL,
enter:
SUBMIT job5 HOLD
Appending Characters to a Batch Job's Job Name
JOBCHAR/NOJOBCHAR Operands
To have the system append characters to the job name on each job statement in a
data set, use the JOBCHAR operand. This operand is useful if you want to submit
the same job several times but each time use a different job name. Use only one
character if you plan to use the STATUS command and the job name matches your
user ID. Issue the SUBMIT command and specify:
Ÿ The name of the data set containing the job(s)
Ÿ The JOBCHAR operand with the characters to be appended to each job's
name enclosed in parentheses.
Example
To define the characters XM as the characters that the system appends to each
job's name in data set JOB5.CNTL, enter:
SUBMIT job5 JOBCHAR(xm)
To have the system prompt you for job name characters whenever the job name is
the user ID, use the NOJOBCHAR operand. NOJOBCHAR is a default with the
SUBMIT command.
14-6
OS/390 V2R7.0 TSO/E User's Guide