NetBatch Manual
Commands
NetBatch Manual—522460-004
6-143
SHOW ATTACHMENT-SET Command
•
The command SHOW ATTACHMENT-SET DEFINE =? displays the last DEFINE
added to, altered in, or listed from the working-attributes set; for example:
5} SET ATTACHMENT-SET (DEFINE=BACKUP, CLASS TAPE, DEVICE
$TAPE1, EXPIRATION 22OCT1994, OWNER "205,70", USE OPENFLAG,
DENSITY 6250, LABELS ANSI)
6} SHOW ATTACHMENT-SET DEFINE =?
ATTACHMENT-SET ATTRIBUTES
attachments: DEFINE =_Work set, CLASS TAPE, LABELS
ANSI, OWNER "205,70", EXPIRATION
"22 OCT 1994", DENSITY 6250, USE
OPENFLAG, DEVICE \MELBDEV.$TAPE1
BATCHCOM identifies the DEFINE as “=_Work set” instead of by name.
•
The OBEY-FORM qualifier is available for all SHOW commands. It enables the
creation of BATCHCOM command files that you can use to set up a working-
attributes set.
•
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 SHOW
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 SHOW ATTACHMENT-SET command in this example lists attachment-set
attributes in a sample working-attributes set. The set inherits all attributes from the
TACL working set, except DEFINEs whose names begin with =_ZBAT. (The
=_ZBAT DEFINEs in the example specify the scheduler’s help text file and log file.)
> ASSIGN FILE-A, $BIG2.FILES.A
> ASSIGN FILE-B, $BIG2.FILES.B
> ASSIGN FILE-C, $BIG2.FILES.C
> ALTER DEFINE =_DEFAULTS, VOLUME $A.NB
> ADD DEFINE =LP, CLASS SPOOL, COPIES 1, LOC $S
> ADD DEFINE =_ZBAT_IMMU_FILE, CLASS MAP, FILE $A.NB.HELP
> ADD DEFINE =_ZBAT_LOG_FILE, CLASS MAP, FILE $A.NB.DAYLOG
> PARAM 1 ABC
> PARAM 2 DEF
> PARAM 3 GHI
> BATCHCOM
1} SHOW ATTACHMENT-SET
ATTACHMENT-SET ATTRIBUTES
attachments: DEFINE =LP, CLASS SPOOL, LOC $S, COPIES 00001
DEFINE =_DEFAULTS, CLASS DEFAULTS, VOLUME
$A.NB
ASSIGN FILE-A, $BIG2.FILES.A
ASSIGN FILE-B, $BIG2.FILES.B
ASSIGN FILE-C, $BIG2.FILES.C
PARAM 1 ABC