NetBatch Manual
Commands
NetBatch Manual—522460-004
6-162
STATUS ATTACHMENT-SET Command
•
The STATUS ATTACHMENT-SET command in this example lists attachment sets
owned by NB.USER. The attachment-set-ID of M?2 restricts the listing to sets
having three-character names beginning with M and ending with 2.
21} STATUS ATTACHMENT-SET (NB.USER)M?2
ATTACHMENT SET IN USE BY JOBS
--------------------------------- ---------------------------
(NB.USER)MX2 None
(NB.USER)MY2 None
(NB.USER)MZ2 None
•
This STATUS ATTACHMENT-SET command lists the current user’s attachment
sets:
53} CHANGEUSER SUPER.NB psswrd
53} STATUS ATTACHMENT-SET *
ATTACHMENT SET IN USE BY JOBS
--------------------------------- ---------------------------
(SUPER.NB)1 (SUPER.NB)CLEANUP
(SUPER.NB)BUILDS None
(SUPER.NB)COMPARES (SUPER.NB)COMPARE-OLD-NEW
(SUPER.NB)COMPILES (SUPER.NB)COBOL-COMPILE
This example shows the STATUS ATTACHMENT-SET command
listing the
value of the #CURRENT variable at various stages during a
session. At the start of the
session, the variable has a null value. Its value is also
null at the end of the session.
1} STATUS ATTACHMENT-SET #CURRENT
-^-0345-
E Undefined substitution
2} ADD ATTACHMENT-SET UN
Attachment-set (NB.USER)UN added
3} STATUS ATTACHMENT-SET #CURRENT
ATTACHMENT SET IN USE BY JOBS
--------------------------------- ---------------------------
(NB.USER)UN None
4} ADD ATTACHMENT-SET DEUX
Attachment-set (NB.USER)DEUX added
5} STATUS ATTACHMENT-SET #CURRENT
ATTACHMENT SET IN USE BY JOBS
--------------------------------- ---------------------------
(NB.USER)DEUX None
6} ADD ATTACHMENT-SET #CURRENT
Attachment-set (NB.USER)3 added
7} STATUS ATTACHMENT-SET #CURRENT
ATTACHMENT SET IN USE BY JOBS
--------------------------------- ---------------------------
(NB.USER)3 None
8} ALTER ATTACHMENT-SET UN, SECURITY "GOGO"
Attachment-set (NB.USER)UN altered
9} STATUS ATTACHMENT-SET #CURRENT
ATTACHMENT SET IN USE BY JOBS
--------------------------------- ---------------------------
(NB.USER)UN None