NetBatch Manual
Commands
NetBatch Manual—522460-004
6-64
ALTER JOB Command
REMOVE
removes the job’s IN attribute, JOB-LOG attribute, or the library file from the job’s
executor program.
IN
removes the job’s IN attribute, which makes the scheduler become the job’s
input file. If the job reads the file, it encounters file-system error 2 (operation
not allowed). If the job writes the file, it writes to the scheduler’s log file.
JOB-LOG
removes the job’s JOB-LOG attribute, which makes the scheduler create a
spooler-job log file if the job’s OUT attribute specifies a spooler collector
process. If the OUT attribute specifies a device, a disk file, or a nonspooler
collector process, the scheduler does not create a log file.
LIB
removes the library file from the job’s executor program. As a consequence,
the program runs without a library. (Specifying LIB without a file name in a
TACL RUN command has the same effect.)
Considerations
•
The ALTER JOB command is available to all users, but these conditions apply:
°
You can alter all attributes of a job if the job has a disk input file to which you
have write access. You can also alter all attributes of a job if the job’s input file
does not exist or is a device or a process, but you can do this only if you are
the job’s owner.
°
NetBatch supervisors can alter all attributes of any job except:
°
The ALTER JOB command’s * option lets you alter your own jobs only. To alter
other users’ jobs to which you have access, use the command’s job-ID-1
option.
•
The ALTER JOB command updates a job’s description in the scheduler database.
Whether the updated description applies to the job when it runs depends on the
job’s processing state:
°
If the job’s state is EVENT, READY, RUNNEXT, RUNNOW, SPECIAL-n, TAPE,
or TIME, the updated description applies when the job runs.
ATTACHMENT-SET JOB-LOG PURGE-IN-FILE
DESCRIPTION JOBID-ZERO RUND
EXECUTOR-PROGRAM LIB STARTUP
HIGHPIN NAME STOP-ON-ABEND
IN OUT VOLUME