NetBatch Manual
Attributes
NetBatch Manual—522460-004
7-67
IN Job Attribute
•
Specifying an input file to which other users have write access causes the
scheduler
to generate this warning message:
0512-W Other users can WRITE or PURGE the IN file;
resecure if required
Users with write access to your job input file can alter any job attribute or delete a
job using the file. Using the input file as a medium, these users also can assume
your level of security. As a result, they could modify the input file to purge your
files, change your password, and so on. To avoid compromising system security,
secure input files by means of the Safeguard distributed security management
facility or the Guardian standard security system.
For information about Safeguard security, see the Safeguard Reference Manual.
For information about Guardian security, see the Guardian User’s Guide.
•
To remove the IN attribute from a job, use the ALTER JOB command’s
REMOVE
IN qualifier. For more information, see ALTER JOB Command on
page 6-62.
•
A job without the IN attribute uses the scheduler as its 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.
Example
This example shows the use of the IN attribute:
> FUP COPY INFILE
FILES $DATA7.ZBAT
> BATCHCOM $ZBAT; SUBMIT JOB X, EXECUTOR-PROGRAM TACL, IN
INFILE, OUT OUTFILE
Job X job number 424 submitted
> BATCHCOM $ZBAT; INFO JOB X, IN
JOB ATTRIBUTES for X
jobnumber: 424
in: $DATA7.NB.INFILE
> FUP COPY OUTFILE
TACL (T9205Dxx - DDMMMYY), Operating System Dxx .
.
FILES $DATA7.ZBAT
$DATA7.ZBAT
ATTACH ATTACH0 BATCHCTL CHKQUE CHKQUE0 EXECUTO0
EXECUTOR JOB JOBCLAS0 JOBCLASS LOGAAA NBATTX
NBATTX0