NetBatch Manual

Commands
NetBatch Manual522460-004
6-183
SUBMIT JOB Command
> STATUS *, USER
Process Pri PFR %WT Userid Program file Hometerm
$C2 0,51 150 R 000 205,70 $SYS.SYS.TACL $TRM2.#A
$Y 0,92 119 000 205,70 $SYS.SYS.DELAY $ZBAT
$X 0,101 119 000 205,70 $SYS.SYS.DELAY $ZBAT
$C2 B 2,22 150 001 205,70 $SYS.SYS.TACL $TRM2.#A
SUBMIT JOB Command
Use the SUBMIT JOB command to submit jobs to a scheduler.
file-name
specifies a command output file. The file can be a device, a process, or a disk file.
For a disk file, BATCHCOM appends output if the file exists, but creates an EDIT
file if the file does not exist. If you specify / OUT / (that is, omit file-name),
BATCHCOM suppresses output.
job-name-1
is the name of the job you want to submit. The name can contain from 1 to 24
letters and numbers. It also can contain hyphens but must begin with a letter and
end with a letter or number. The name cannot contain spaces.
Omitting job-name-1 makes the scheduler generate a job name of the form
ZBAT- nnnn, where nnnn is the job’s scheduler-assigned number. The scheduler
replaces a user-specified ZBAT- nnnn job name with a generated name.
LIKE
specifies that all attributes are to match those of job job-name-2. LIKE overrides
job attributes in the working-attributes set and job defaults (see Table 6-9 on
page 6-185). attribute overrides job-name-2 attributes of the same type.
job-name-2
is the name of an existing job whose attributes job job-name-1 is to match.
attribute
is one of these job attributes (see Section 7, Attributes):
AF[TER] [ date ] [ time ]
AT [ date ] [ time ]
A[TTACHMENT]-S[ET]
[ [ ( user-ID ) ] attachment-set-ID | #CURRENT ]
SUB[MIT] [ JOB ] [ / OU[T] [ file-name ] / ] [ job-name-1 ]
[ , LIK[E] job-name-2 ] [ , attribute ]…
Note. To avoid confusion, do not use these keywords and keyword aliases as job names:
ADP, ATTACHMENT-SET, CLASS, EXECUTOR, JOB, JOBCLASS, and SCHEDULER.