NetBatch Manual
Commands
NetBatch Manual—522460-004
6-53
ALTER ATTACHMENT-SET Command
attachment-set-name
specifies an attachment-set name or a range of names when specified with the
asterisk (*) and question mark (?) wild-card characters.
attachment-set-number
is a scheduler-generated number identifying an attachment set created by
means of the #CURRENT variable.
*
specifies all attachment sets.
#CURRENT
is the attachment set specified by the #CURRENT variable. If #CURRENT has a
null value, BATCHCOM displays this message:
0345-E Undefined substitution
attribute
is one of these attachment-set attributes (see Section 7, Attributes):
( ASSI[GN] ASSIGN-name , ASSIGN-attributes )
( DEFI[NE] DEFINE-name-1 , [ LIK[E] DEFINE-name-2 , ]
[ CLASS DEFINE-class , ]
DEFINE-attribute [ , DEFINE-attribute ]… )
( PA[RAM] PARAM-name PARAM-value )
SEC[URITY] " security "
TEM[PORARY] { OF[F] | ON }
Considerations
•
The ALTER ATTACHMENT-SET command is available to all users, but you must
have write access to the set you want to alter. For example, SUPER.FPP could
alter set (SUPER.SUPER)P secured “NGNO” but not set (SUPER.NB)Q secured
“AOAO.”
•
The ALTER ATTACHMENT-SET command enables you to change an existing
attachment set:
°
By adding ASSIGNs, DEFINEs, and PARAMs. For example:
1} CHANGEUSER SUPER.NB psswrd
1} INFO ATTACHMENT-SET STANDARD, ASSIGN, DEFINE, PARAM
ATTACHMENT-SET ATTRIBUTES for (SUPER.NB)STANDARD
attachments: DEFINE =_DEFAULTS, CLASS DEFAULTS,
VOLUME $A.NB
ASSIGN FILE-X, X
PARAM A 1
2} ALTER ATTACHMENT-SET STANDARD, (ASSIGN FILE-Y, Y),
(DEFINE =LOC, CLASS SPOOL, LOC $S), (PARAM B 2)
Attachment-set (SUPER.NB)STANDARD altered