NetBatch Manual
Attributes
NetBatch Manual—522460-004
7-13
ASSIGN Attachment-Set Attribute
ASSIGN-attributes
specifies ASSIGN attributes in this form. For descriptions of the options for each
syntax item, see the description of the ASSIGN command in theTACL Reference
Manual.
logical-unit , actual-file-name [ , create-open-spec ]…
logical-unit
is the name to use as a substitute for the actual file name, specified in one of
these forms:
[ logical-file
program-unit.logical-file
*.logical-file ]
actual-file-name
is the name of the actual file to which logical-unit refers.
create-open-spec
specifies one of these file creation and open attributes:
B[LOCK] block-size
C[ODE] file-code [ EXCL[USIVE]
S[HARED]
P[ROTECTED] ]
E[XT] ( pri-extent-size [ , sec-extent-size ] )
[ IN[PUT]
O[UTPUT]
I-[O] ]
R[EC] record-size
Consideration
For more information about ASSIGNs, see the TACL Reference Manual and the TACL
Programming Guide.
Examples
•
This example shows the scheduler passing ASSIGNs from a job’s attachment set
to the job’s TACL executor-program process:
> LOGON FPP.QA, psswrd
> FUP COPY INFILE
ASSIGN
> BATCHCOM $ZBAT; ADD ATTACHMENT-SET B, (ASSIGN FILE-A,
$NB.NEWFILE.A, EXCLUSIVE, INPUT, EXT (100, 200), CODE
789, REC 1024, BLOCK 4096), (ASSIGN DAILY-LOG,
$DATA7.LOGS.DAYLOG)
Attachment-set (FPP.QA)B added
> BATCHCOM $ZBAT; SUBMIT JOB Y, EXECUTOR-PROGRAM TACL, IN
INFILE, OUT OUTFILE, ATTACHMENT-SET B