NetBatch Manual
Commands
NetBatch Manual—522460-004
6-118
RESET ATTACHMENT-SET Command
DEFINE, or PARAM, but omit ASSIGN-name, DEFINE-name, or PARAM-name,
BATCHCOM removes all ASSIGNs, DEFINEs (except =_DEFAULTS), or PARAMs.
Considerations
•
The RESET ATTACHMENT-SET command is available to all users.
•
The RESET ATTACHMENT-SET command, like the OPEN and SET
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 RESET
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
•
The RESET ATTACHMENT-SET command in this example removes all
attachment-set attributes except the DEFINE =_DEFAULTS from the working-
attributes set:
3} SHOW ATTACHMENT-SET
ATTACHMENT-SET ATTRIBUTES
temporary: On
attachments: DEFINE =INFILE, CLASS MAP, FILE $A.NB.INFILE
DEFINE =_DEFAULTS, CLASS DEFAULTS, VOLUME
$A.NB
ASSIGN FILE-X, $A.NB.X
ASSIGN FILE-Y, $A.NB.Y
PARAM DATE 19JUN93
PARAM TIME 2:39:12
4} RESET ATTACHMENT-SET; SHOW ATTACHMENT-SET
ATTACHMENT-SET ATTRIBUTES
attachments: DEFINE =_DEFAULTS, CLASS DEFAULTS, VOLUME
$A.NB
•
This example shows the RESET ATTACHMENT-SET command removing two
PARAMs from the working-attributes set:
36} SHOW ATTACHMENT-SET PARAM
ATTACHMENT-SET ATTRIBUTES
attachments: PARAM ADDR1 19333_VALLCO_PARKWAY
PARAM ADDR2 CUPERTINO
PARAM ADDR3 CA_95014
PARAM ADDR4 USA
PARAM ADDR5 408_725-6000
37} RESET ATTACHMENT-SET PARAM ADDR4, PARAM ADDR5
38} SHOW ATTACHMENT-SET PARAM
ATTACHMENT-SET ATTRIBUTES
attachments: PARAM ADDR1 19333_VALLCO_PARKWAY