NetBatch Manual

Attributes
NetBatch Manual522460-004
7-75
LIMIT Job Attribute
RUN command has the same effect.) For more information, see ALTER JOB
Command on page 6-62.
The scheduler places the value of the LIB attribute in the library-file
parameter of the PROCESS_CREATE_ procedure. For more information about the
procedure, see the Guardian Procedure Calls Reference Manual.
Example
This example shows the LIB attribute specifying the library file for a user-written
program:
> BATCHCOM $ZBAT; SUBMIT JOB SCHDCOLD, EXECUTOR-PROGRAM
$TRASH.OBJS.OBJ9409, LIB $TRASH.LIBS.OBJLIB, IN
$TRASH.INFILES.SCHDCOLD
Job SCHDCOLD Jobnumber 33 submitted
> STATUS *, GMOMJOBID $ZBAT.33, DETAIL .
.
Library File Name: $TRASH.LIBS.OBJLIB .
.
GMOMJOBID: $ZBAT.33
LIMIT Job Attribute
The LIMIT job attribute specifies an execution time limit for a job. On expiration of the
limit, the job continues to execute, but its state changes from EXECUTING to OVER
LIMIT.
hours
is a number in the range 0 through 999 specifying the hours limit.
mins
is a number in the range 0 through 59 specifying the minutes limit. The default is 0.
Considerations
The scheduler treats a job submitted without the LIMIT attribute like a job
with the
attribute LIMIT 0:0.
To remove the LIMIT attribute from a job, specify LIMIT 0:0 in an ALTER
JOB
command.
A log-file event in this form appears in the scheduler and job log files when a
job exceeds its execution time limit:
ddmmmyy hh: mm: ss LIMIT Exceeded J_ job-number
LIM[IT] hours [ : mins ]