NetBatch Manual

Commands
NetBatch Manual522460-004
6-55
ALTER ATTACHMENT-SET Command
7} INFO ATTACHMENT-SET 23, SECURITY, TEMPORARY
ATTACHMENT-SET ATTRIBUTES for (SUPER.SUPER)23
security: "GOGO"
temporary: Off
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 ALTER
ATTACHMENT-SET command to specify DEFINEs whose attributes match those
of DEFINEs specified earlier in the command. You also can specify DEFINEs
whose attributes match those of existing DEFINEs in the target attachment set.
To delete ASSIGNs, DEFINEs (except =_DEFAULTS), and PARAMs from an
attachment set, use the DELETE ATTACHMENT-SET command. You also can use
this command to delete an attachment set from a scheduler.
The ALTER ATTACHMENT-SET command changes the attachment set specified
by the #CURRENT variable to the altered attachment set. This example shows the
state of the variable after various ALTER ATTACHMENT-SET commands.
BATCHCOM displays an “undefined substitution” message when the variable has
a null value.
65} RESET ATTACHMENT-SET
66} INFO ATTACHMENT-SET #CURRENT
-^-0345-
E Undefined substitution
67} ALTER ATTACHMENT-SET (NB.USER)A1, …
Attachment-set (NB.USER)A1 altered
68} INFO ATTACHMENT-SET #CURRENT
ATTACHMENT-SET ATTRIBUTES for (NB.USER)A1 .
.
69} ALTER ATTACHMENT-SET (NB.USER)B2, …
Attachment-set (NB.USER)B2 altered
70} INFO ATTACHMENT-SET #CURRENT
ATTACHMENT-SET ATTRIBUTES for (NB.USER)B2 .
.
71} RESET ATTACHMENT-SET
72} INFO ATTACHMENT-SET #CURRENT
-^-0345-
E Undefined substitution
When you use the ALTER ATTACHMENT-SET command to change the
#CURRENT variable, you change the actual attachment set the variable specifies.
ADP (an abbreviation of ASSIGNs, DEFINEs, and PARAMs) is an alias of the
object keyword ATTACHMENT-SET.
You can omit the object keyword ATTACHMENT-SET from the ALTER
ATTACHMENT-SET command only when ATTACHMENT-SET is the current
assumed object. For more information, see ASSUME ATTACHMENT-SET
Command on page 6-69.