NetBatch Management Programming Manual

NetBatch Procedure Calls
NetBatch Management Programming Manual522462-003
7-9
NB^JOB^SUBMIT Procedure
att-set input
STRING:ref:43
specifies the value (an attachment-set ID) of the job’s ATTACHMENT-SET
attribute. To remove the attribute from the job, specify spaces.
Consideration
The first call to NB^JOB^SUBMIT opens the scheduler specified by the SCHEDULER
field of JOB-DETAILS in submit-rec. The data passed in open-t must not be
modified after that call so that subsequent calls do not have to reopen the scheduler.
open-t must be global. For COBOL, open-t must be declared in the main program
where it is initialized the first time to LOW-VALUES. Other programs that call
NB^JOB^SUBMIT must be called with open-t in the USING parameter list of the
CALL verb.