NetBatch Manual
Commands
NetBatch Manual—522460-004
6-78
DELETE ATTACHMENT-SET Command
attribute
is one of these attachment-set attributes:
ASSI[GN] [ ASSIGN-name ]
DEFI[NE] [ DEFINE-name ]
PA[RAM] [ PARAM-name ]
attribute causes BATCHCOM to delete only the specified attribute from the 
attachment sets specified by attachment-set-ID. If you omit attribute and do not 
specify DETAIL, BATCHCOM deletes all attachment sets specified by 
attachment-set-ID.
You can use ASSIGN-name, DEFINE-name, or PARAM-name to specify an 
ASSIGN, DEFINE, or PARAM name or a range of names. To specify a range of 
names, use the asterisk (*) and question mark (?) wild-card characters. If you 
specify ASSIGN, DEFINE, or PARAM, but omit ASSIGN-name, DEFINE-name, or 
PARAM-name, BATCHCOM deletes all ASSIGNs, DEFINEs (except 
=_DEFAULTS), or PARAMs.
attribute cannot specify the SECURITY or TEMPORARY attributes.
DETAIL
causes BATCHCOM to delete all ASSIGNs, DEFINEs (except =_DEFAULTS), and 
PARAMs from the attachment sets specified by attachment-set-ID. If you omit 
DETAIL and do not specify attribute, BATCHCOM deletes all attachment sets 
specified by attachment-set-ID.
DETAIL does not delete the SECURITY and TEMPORARY attributes.
Considerations
•
The DELETE ATTACHMENT-SET command is available to all users, but:
°
To delete an attachment set, you must have purge access to it. For example, 
NB.USER could delete attachment set (SUPER.SUPER)X secured “NNNN” 
but not attachment set (NB.MANAGER)Y secured “GGGO.”
°
To delete ASSIGNs, DEFINEs, and PARAMs from an attachment set, you must 
have write access to it. For example, only super-group users (255, n) could 
delete ASSIGNs, DEFINEs, or PARAMs from attachment set (SUPER.NB)Z 
secured “AGAO.”
•
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 DELETE 
ATTACHMENT-SET command only when ATTACHMENT-SET is the current 
assumed object. For more information, see ASSUME ATTACHMENT-SET 
Command on page 6-69.










