NetBatch Manual
Commands
NetBatch Manual—522460-004
6-131
SET ATTACHMENT-SET Command
Considerations
•
The SET ATTACHMENT-SET command is available to all users.
•
You can list attachment-set attributes in the working-attributes set by using the
SHOW ATTACHMENT-SET command.
•
Two types of default attachment-set attributes are displayed in the working-
attributes set: temporary and permanent.
•
Temporary defaults are the ASSIGNs, DEFINEs, and PARAMs that BATCHCOM
inherits from the TACL environment. They are defaults because they are
automatically available when a session begins. They are temporary defaults,
however, because you can delete them during the session by using the RESET
ATTACHMENT-SET command. (You also can use this command to delete
attributes set by the SET ATTACHMENT-SET command.)
•
The only permanent default attribute is defaults DEFINE =_DEFAULTS. Like
temporary default attributes, this DEFINE comes from the TACL environment.
Unlike those attributes, you cannot delete it.
•
DEFINE =_DEFAULTS specifies the node and volume set by the last SET
ATTACHMENT-SET (DEFINE =_DEFAULTS, VOLUME …), SYSTEM, or VOLUME
command. If there was no such command, the DEFINE specifies the current node
and volume from the TACL environment.
•
The LIKE qualifier is available for DEFINEs only. Use it in the SET 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 working-attributes set.
•
The SET ATTACHMENT-SET command, like the OPEN and RESET
ATTACHMENT-SET commands, sets the #CURRENT variable’s value to null.
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 SET
ATTACHMENT-SET command only when ATTACHMENT-SET is the current
assumed object. For more information, see ASSUME ATTACHMENT-SET
Command on page 6-69.
Examples
•
This example first shows attachment-set attributes in the working set. It then shows
a SET ATTACHMENT-SET command adding attributes to the set and altering an
existing attribute. Finally, the example displays the updated set before showing the
effect of the RESET ATTACHMENT-SET command.
1} SHOW ATTACHMENT-SET
ATTACHMENT-SET ATTRIBUTES
attachments: DEFINE =_DEFAULTS, CLASS DEFAULTS, VOLUME