NetBatch Manual
Commands
NetBatch Manual—522460-004
6-62
ALTER JOB Command
ALTER JOB Command
Use the ALTER JOB command to change job attributes.
file-name
specifies a command output file. The file can be a device, a process, or a disk file.
For a disk file, BATCHCOM appends output if the file exists, but creates an EDIT
file if the file does not exist. If you specify / OUT / (that is, omit file-name),
BATCHCOM suppresses output.
job-ID-1
specifies the name, number, or range of names of the job or jobs you want to alter.
To specify a range of job names, use the asterisk (*) and question mark (?) wild-
card characters. An asterisk on its own specifies all jobs and is the default in a
command that includes filter but not job-ID-1.
NOT
excludes jobs that satisfy the specified job-selection criterion.
filter
specifies one of these job-selection criteria (see STATUS JOB Command on
page 6-165):
A[TTACHMENT]-S[ET]BBC[( AALVS1([ (user-ID) ] attachment-set-
ID,#CURRENT) )
CL[ASS] class-ID
IN file-ID
STATE state
U[SER] user-ID
WAITO[N] master-job
LIKE
specifies that all attributes are to match those of job job-ID-2. attribute
overrides job-ID-2 attributes of the same type.
job-ID-2
is the name of a job whose attributes you want job job-ID-1 or all jobs (*) to
match.
ALT[ER] [ JOB ] [ / OU[T] [ file-name ] / ]
{ job-ID }
{ ( [ [NOT] job-ID ,]… [NOT] filter [ , [NOT] filter ]… ) }
{ , LIK[E] job-ID-2 [ , attribute ]… }
{ , attribute [ , attribute ]… }
[ { IN } ]
[ , REM[OVE] { J[OB]-L[OG] } ] …
[ { LIB } ]