NetBatch Manual
Attributes
NetBatch Manual—522460-004
7-104
STARTUP Job Attribute
> STOP $Z076
> BATCHCOM $ZBAT; STATUS JOB *
JOB STATUS
JOB JOBNAME USERID LOG STATE CLASSNAME
---- ---------------- ------- ---- ----------- ---------
380 X 205,70 30 14OCT93 DEFAULT
381 Y 205,70 32 9:STALL DEFAULT
STARTUP Job Attribute
The STARTUP job attribute specifies one or more program parameters the scheduler
sends a job’s executor-program process in the startup message.
param-set
is a string of 1 through 961 characters.
Consideration
S-M (an abbreviation of STARTUP-MESSAGE) is an alias of the attribute keyword
STARTUP.
Examples
•
This example shows the submission, execution, and result of a job with the
STARTUP attribute. The attribute specifies parameters that cause the job’s
BATCHCOM executor-program process to open scheduler $SCHD and execute a
STATUS EXECUTOR command.
> BATCHCOM; SUBMIT JOB S, OUT OUTFILE, EXECUTOR-PROGRAM
BATCHCOM, STARTUP "$SCHD; STATUS EXECUTOR *"
Job S job number 354 submitted
> FUP COPY OUTFILE
EXECUTOR STATUS
EXECUTOR CPU STATE JOB CLASS
------------------------ --- ------ ---- -------
E1 0 ACTIVE 354 DEFAULT
E2 1 ON
E3 2 ON
E4 3 ON
•
This example shows the STARTUP attribute specifying parameters for a job’s
NBEXEC executor program:
1} SUBMIT JOB A, EXECUTOR-PROGRAM NBEXEC, OUT
$DATA7.NB.PURGEME, STARTUP "LABEL XYZ, PURGE, LIMIT 3:00"
Job A job number 501 submitted
2} INFO JOB A, STARTUP
JOB ATTRIBUTES for A
STARTU[P] " param-set "