NetBatch Manual
Commands
NetBatch Manual—522460-004
6-36
ADD ATTACHMENT-SET Command
Figure 6-1 illustrates the attribute conditions described earlier.
Considerations
•
The ADD ATTACHMENT-SET command is available to all users.
•
BATCHCOM supports all classes of DEFINE available in the TACL environment.
The default DEFINE class is MAP.
•
The LIKE qualifier is available for DEFINEs only. Use it in the ADD ATTACHMENT-
SET command to specify DEFINEs whose attributes match those of DEFINEs
specified earlier in the command.
•
The ADD ATTACHMENT-SET command changes the attachment set specified by
the #CURRENT variable to the added attachment set. To illustrate this
consideration, this example shows the state of the variable after various ADD
PARAM No PARAM attribute.
SECURITY UUUU.
TEMPORARY OFF for attachment sets added by ADD ATTACHMENT-SET commands
that specify an ID of attachment-set-name.
ON for attachment sets added by ADD ATTACHMENT-SET commands that
specify an ID of #CURRENT.
Figure 6-1. Examples of Attribute Defaulting-Attachment Set
Table 6-3. Attachment-Set Defaults (page2of2)
Attribute Default Value
++
=
ADD ATTACHMENT-SET
&
(NB.USER) NB1, &
SECURITY “NCNC”, &
(ASSIGN FILE-A, A), &
(DEFINE =M1,
CLASS MAP,
FILE $A.NB.C), &
(PARAM YEAR 1993)
Attachment set
(NB.USER)NB1 added
ADD ATTACHMENT-SET…
SET ATTACHMENT-SET
&
SECURITY “GOGO”, &
(ASSIGN FILE-B, B), &
(DEFINE =_DEFAULTS,
CLASS DEFAULTS,
VOLUME $A.NB), &
(PARAM YEAR 1992)
Working-attributes set
SECURITY “UUUU”
TEMPORARY OFF
Attachment-set defaults
(scheduler-supplied)
SECURITY “NCNC”
TEMPORARY OFF
ASSIGN FILE-A, A
ASSIGN FILE-B, B
DEFINE =M1,
CLASS MAP,
FILE \DEV.$A.NB.C
DEFINE =_DEFAULTS,
CLASS DEFAULTS,
VOLUME $A.NB
PARAM YEAR 1993
Attachment set
(NB.USER)NB1
++=
CHANGEUSER FPP.QA
ADD ATTACHMENT-SET
&
#CURRENT
Attachment set (FPP.QA)2
added
ADD ATTACHMENT-SET…
SET ATTACHMENT-SET
&
(DEFINE =_DEFAULTS,
CLASS DEFAULTS,
VOLUME $A.NB)
Working-attributes set
SECURITY “UUUU”
TEMPORARY ON
Attachment-set defaults
(scheduler-supplied)
SECURITY “UUUU”
TEMPORARY ON
DEFINE =_DEFAULTS,
CLASS DEFAULTS,
VOLUME $A.NB
Attachment set (FPP.QA)2
VST014.vsd