NetBatch Manual
Job Planning, Submission, and Management
NetBatch Manual—522460-004
4-21
Specifying a Job’s Input File, Defaults, and PURGE-
IN-FILE Attribute
> STATUS *, GMOMJOBID $SCHD.8
Process Pri … Program file Hometerm
$Z227 0,42 180 … $SYSTEM.SYS00.TACLHI $SCHD
Attributes
Executor program EXECUTOR-PROGRAM
Run options EXTSWAP, HIGHPIN, JOBID-ZERO, LIB, MEM, NAME,
PFS,
PRI, RUND, SAVEABEND, SWAP, and TERM
Run parameters STARTUP
Job Planning, Submission, and Management
Specifying a Job’s Input File, Defaults, and PURGE-IN-FILE
Attribute
The IN and VOLUME attributes specify a job’s input file, and volume and security
defaults. (The input file contains the statements executed by the job’s executor
program.) The PURGE-IN-FILE attribute determines whether the scheduler purges the
input file on job deletion.
Example
This example shows the effect on a job of the IN, VOLUME, and PURGE-IN-FILE
attributes. The IN attribute specifies the job’s input file, which contains a FUP CREATE
command executed by the job’s executor program. The VOLUME attribute specifies
the volume, subvolume, and security defaults for the file created by the command. The
PURGE-IN-FILE attribute makes the scheduler purge the input file after deleting the
job.
> FILEINFO $DATA7.TEMP.*
$DATA7.TEMP
Code …
INFILE 101 …
> FUP COPY $DATA7.TEMP.INFILE
CREATE X
> BATCHCOM $ZBAT; SUBMIT JOB K, EXECUTOR-PROGRAM FUP,
IN $DATA7.TEMP.INFILE, VOLUME $DATA3.NEWFILES, "AAAA",
PURGE-IN-FILE ON
Job K job number 492 submitted
> BATCHCOM $ZBAT; INFO JOB 492, IN, VOLUME, PURGE-IN-FILE
JOB ATTRIBUTES for K
jobnumber: 492
volume: $DATA3.NEWFILES, "AAAA"
in: $DATA7.TEMP.INFILE
purge-in-file: On
> FILEINFO $DATA3.NEWFILES.X
$DATA3.NEWFILES
Code … RWEP …
X 0 … "AAAA" …
> FILEINFO $DATA7.TEMP.*
No files match \MELBQAT.$DATA7.TEMP.*