NetBatch Manual
Attributes
NetBatch Manual—522460-004
7-89
PARAM Attachment-Set Attribute
•
The FUP process in this example fails because it tries to open the same disk
output file as that of the executor program. This failure does not occur if output
from the FUP and executor-program processes goes to the same spooler location.
> FUP COPY FUPIN
FUP FILES *
> BATCHCOM $ZBAT; SUBMIT JOB Y, IN FUPIN, OUT FUPOUT
Job Y job number 346 submitted
112> FUP COPY FUPOUT
TACL (T9205Dxx - DDMMMYY), Operating System Dxx .
.
FUP FILES *
ABENDED: 0,70
•
The FUP process in this example runs successfully because its disk output file is
different from that of the executor program:
> FUP COPY FUPIN
FUP /OUT FUPOUT/ FILES *
> BATCHCOM $ZBAT; SUBMIT JOB Z, IN FUPIN, OUT OUTFILE
Job Z job number 347 submitted
> FUP COPY OUTFILE
TACL (T9205Dxx - DDMMMYY), Operating System Dxx .
.
FUP /OUT FUPOUT/ FILES *
> FUP COPY FUPOUT
$DATA7.A65052L
FILE1 FILE2 FILE3 …
$DATA7.BANK
FILE1 FILE2 FILE3 … .
.
PARAM Attachment-Set Attribute
The PARAM attachment-set attribute specifies the name and value of a PARAM. (A
PARAM is a parameter that supplies a user-defined value to a process requesting that
value at creation time.) The scheduler passes the PARAM to the executor-program
process of a job using the attachment set when the job starts.
PARAM-name
is the name of a PARAM. The name can contain from 1 through 31 letters,
numbers, hyphens, and circumflexes. The name cannot contain spaces.
PARAM-value
is the PARAM value, which can contain from 1 through 255 characters. The value
cannot contain spaces.
( PA[RAM] PARAM-name PARAM-value )
Note. To avoid confusion, do not use the attribute keywords ASSIGN, DEFINE, and
PARAM as PARAM names.