NetBatch Manual

Attributes
NetBatch Manual522460-004
7-107
SUBMIT-ALLOWED Scheduler Attribute
SUBMIT-ALLOWED Scheduler Attribute
The SUBMIT-ALLOWED scheduler attribute allows or disallows job submission by
permitting or preventing use of the SUBMIT JOB command.
OFF
disallows job submission by preventing use of the SUBMIT JOB command.
BATCHCOM displays this message when a scheduler with the SUBMIT-ALLOWED
OFF attribute rejects a submitted job:
2128-E SUBMIT-ALLOWED is OFF; the scheduler is not
accepting job submissions
ON
allows job submission.
Considerations
A scheduler adopts the attribute SUBMIT-ALLOWED ON by default when cold
started.
The SUBMIT-ALLOWED OFF attribute affects the SUBMIT JOB command only. It
does not affect other scheduler operations.
ADD is an alias of SUBMIT. Therefore ADD-ALLOWED is an acceptable variant of
SUBMIT-ALLOWED.
Examples
This example shows the effect of the SUBMIT-ALLOWED attribute:
14} INFO SCHEDULER, SUBMIT-ALLOWED
SCHEDULER ATTRIBUTES
submit-allowed: Off
15} SUBMIT JOB X
2128-E SUBMIT-ALLOWED is OFF; the scheduler is not accepting
job submissions
16} ALTER SCHEDULER, SUBMIT-ALLOWED ON
Scheduler altered
17} INFO SCHEDULER, SUBMIT-ALLOWED
SCHEDULER ATTRIBUTES
submit-allowed: On
18} SUBMIT JOB X
Job X job number 213 submitted
This example shows a scheduler running a job, despite having the SUBMIT-
ALLOWED OFF attribute. The example illustrates the consideration that states the
S[UBMIT]-A[LLOWED] { OF[F] | ON }