NetBatch Manual
Job Planning, Submission, and Management
NetBatch Manual—522460-004
4-14
Submitting a Job With the SUBMIT JOB Command
Examples
•
The SUBMIT JOB command in this example submits a job named DAILY-BACKUP.
The job’s attributes nominate its run time, class, and executor program, its input
and output files, and its tape drives requirements. The example also shows the
command response, which contains the scheduler-assigned job number.
2} SUBMIT JOB DAILY-BACKUP, EVERY 1 DAYS, AFTER 18:00, CLASS
OPERATIONS, EXECUTOR-PROGRAM BACKUP, IN $NB.BACKUPS.BKUPIN,
OUT
$S.#BKUPOUT, TAPEDRIVES 1
Job DAILY-BACKUP Jobnumber 4 submitted
•
This example shows a scheduler with the SUBMIT-ALLOWED OFF attribute
rejecting a submitted job:
63} INFO SCHEDULER, SUBMIT-ALLOWED
SCHEDULER ATTRIBUTES
submit-allowed: Off
64} SUBMIT JOB X
2128-E SUBMIT-ALLOWED is OFF; the scheduler is not accepting
job submissions
65} INFO JOB X
2099-E JOB does not exist
Specifying a Job Name
When you specify a job name, it must be in the correct form. Otherwise job submission
fails. A valid job name contains 1 through 24 letters and numbers. It can contain
hyphens but must begin with a letter and end with a letter or number. It cannot contain
spaces.
Specifying Job Attributes
You use job attributes to determine when a job runs, its processing environment and
dependencies, and its behavior on failure. In particular, job attributes let you perform all
the tasks listed on page 4-13
.
Table 4-4
on page 4-15 lists the job attributes, describes their functions, and gives their
default values. For more information about the attributes, see Section 7, Attributes. For
a discussion about attribute defaulting, see SUBMIT JOB Command on page 6-183.