NetBatch Manual
Attributes
NetBatch Manual—522460-004
7-74
LIB Job Attribute
Myterm: $ZBAT .
.
GMOMJOBID: $ZBAT.1
> BATCHCOM $ZBAT; SUBMIT JOB NO-GMOMJOBID, EXECUTOR-PROGRAM
DELAY, STARTUP "1 MINS", NAME $NO, JOBID-ZERO ON, TERM
\MELBDEV.$ZTN0.#PTY6
Job NO-GMOMJOBID Jobnumber 2 submitted
> STATUS $NO, DETAIL .
.
Myterm: $ZTN0.#PTY6 .
.
GMOMJOBID:
LIB Job Attribute
The LIB job attribute specifies the name of the user library file for a job’s executor
program.
file-name
specifies the name of the user library file. The file must be on the same node as
the executor-program process.
BATCHCOM expands a partially qualified file name by using the defaults specified
in the last VOLUME command. If there was no such command, the defaults current
at the start of the session apply.
If you specify LIB without file-name in an ALTER JOB command, the scheduler
removes the LIB attribute from the job. Specifying LIB without file-name in a
SET JOB command makes BATCHCOM remove the LIB attribute from the
working-attributes set.
Considerations
•
The executor program of a job submitted without the LIB attribute uses the
library
file specified when the program last ran. The program runs without a library
file if that is how it ran previously. The current library file applies if the program is
already running.
•
The owner of a job with the LIB attribute must have write access to the job’s
executor program for the job to start. Without write access, the job fails on startup
and goes into the SPECIAL-3 state.
•
Any number of processes can share a library file, but each must have the
same user-library
configuration to avoid library-conflict errors.
•
To remove the library file from an executor program, use the ALTER JOB
command’s REMOVE LIB qualifier. (Specifying LIB without a file name in a TACL
LIB [ file-name ]