NetBatch Management Programming Manual

NetBatch Procedure Calls
NetBatch Management Programming Manual522462-003
7-7
NB^JOB^SUBMIT Procedure
purge-test-flag input
INT:value
is one of these values specifying the job’s PURGE-IN-FILE attribute:
Setting the value of purge-test-flag to 1 disables NB^JOB^SUBMIT’s submit
and alter functions and returns the job’s rt-time .
time-rec input
STRUCT:ref:*
specifies the job’s AT, AFTER, CALENDAR, EVERY, and IFFAILS attributes.
time-rec has the structure:
T-TYPE
is one of these values specifying which of the AT, AFTER, CALENDAR,
EVERY, and IFFAILS attributes apply to the job. Thisfield is mandatory.
A job with the AT attribute runs at the time specified by base-date. If
submission of the job fails because the scheduler has the attribute AT-
ALLOWED OFF, NB^JOB^SUBMIT resubmits the job with the AFTER attribute.
A job with the AFTER attribute becomes eligible to run after the time specified
by base-date.
T-EVERY
specifies the EVERY attribute and the value of that attribute. T-EVERY is
mandatory if T-TYPE is 2, 3, 10, or 11. The fields are:
-1 PURGE-IN-FILE ON
0 PURGE-IN-FILE OFF
DEF TIME-REC.
03 T-TYPE Type Binary 16.
03 T-EVERY.
05 EDAYS Type Binary 16.
05 HHHMM Type Binary 16.
05 FILLER Type Character 32.
03 CALENDAR Redefines T-EVERY
Type Character 36.
END
-1 AT 5 AFTER, CALENDAR, IFFAILS
0 AFTER 10 AT, EVERY
2 AFTER, EVERY 11 AT, EVERY, IFFAILS
3 AFTER, EVERY, IFFAILS 12 AT, CALENDAR
4 AFTER, CALENDAR 13 AT, CALENDAR, IFFAILS