NetBatch Manual
Attributes
NetBatch Manual—522460-004
7-95
RESTART Job Attribute
> FILEINFO
No files match \MELBDEV.$NB.TEMP.*
•
This example shows a job’s input-file security preventing the scheduler from
purging the file on deletion of the job:
> FILEINFO
$BIG1.MANAGER
Code EOF Last Modification Owner RWEP …
ONLYMGRS 101 2078 16-Sep-93 12:08:52 205,255 "NCNO" …
> LOGON 205,100, psswrd
> BATCHCOM $ZBAT; SUBMIT JOB XYZ, IN ONLYMGRS, PURGE-IN-
FILE ON
Job XYZ job number 251 submitted
0530-W You have no PURGE access to IN file
> BATCHCOM $ZBAT; STATUS JOB 251
JOB STATUS
JOB JOBNAME USERID LOG STATE CLASSNAME
---- ---------------- ------- ---- ----------- ---------
251 XYZ 205,100 203 EXECUTING DEFAULT
> BATCHCOM $ZBAT; STATUS JOB 251
2099-E JOB does not exist
130> FILEINFO
$BIG1.MANAGER
Code EOF Last Modification Owner RWEP …
ONLYMGRS 101 2078 16-Sep-93 12:08:52 205,255 "NCNO" …
RESTART Job Attribute
The RESTART job attribute determines whether the scheduler restarts a job that stops
with completion code 7 (restart request sent to the scheduler) or terminates because of
CPU failure. The attribute works in combination with the job’s IFFAILS, STALL, and
STOP-ON-ABEND attributes.
OFF
causes the scheduler to treat the job according to:
•
The job’s IFFAILS, STALL, and STOP-ON-ABEND attributes.
•
Whether the job is recurrent or nonrecurrent (a recurrent job has the
CALENDAR or EVERY attribute).
•
The cause of the failure (for example, the job’s executor-program process
abends) For more information, see Table 4-5, Job States on Process Failure,
on page 4-28, IFFAILS Job Attribute on page 7-64, STALL Job Attribute on
page 7-102, and STOP-ON-ABEND Job Attribute on page 7-105.
REST[ART] { OF[F] | ON }