NetBatch Manual
Commands
NetBatch Manual—522460-004
6-144
SHOW ATTACHMENT-SET Command
PARAM 2 DEF
PARAM 3 GHI
•
This example shows the SHOW ATTACHMENT-SET command listing the
attributes of a specified ASSIGN and PARAM from the working-attributes set:
> BATCHCOM; SHOW ATTACHMENT-SET ASSIGN FILE-C, PARAM 3
ATTACHMENT-SET ATTRIBUTES
attachments: ASSIGN FILE-C, $BIG2.FILES.C
PARAM 3 GHI
•
This example shows a SHOW ATTACHMENT-SET command writing the ASSIGN
attachment-set attributes from the working-attributes set to an EDIT file:
> BATCHCOM; SHOW ATTACHMENT-SET /OUT ASSIGNS/ ASSIGN
> FUP COPY ASSIGNS
ATTACHMENT-SET ATTRIBUTES
attachments: ASSIGN FILE-A, $BIG2.FILES.A
ASSIGN FILE-B, $BIG2.FILES.B
ASSIGN FILE-C, $BIG2.FILES.C
•
This example shows the result of a SHOW ATTACHMENT-SET command that
includes the OBEY-FORM qualifier. In the example, BATCHCOM sends the
command’s output to an EDIT file. Note the use of the keyword alias ADP.
> BATCHCOM; SHOW ADP /OUT A1/ DEFINE, PARAM, OBEY-FORM
> FUP COPY A1
ASSUME ATTACHMENT-SET
RESET
SET (DEFINE =LASER,CLASS SPOOL,LOC \MELBQAT.$S,COPIES 00001)
SET (DEFINE =_DEFAULTS,CLASS DEFAULTS,VOLUME $A.NB)
SET (PARAM 1 ABC)
SET (PARAM 2 DEF)
SET (PARAM 3 GHI)
•
This example shows a SHOW ATTACHMENT-SET command listing the
SECURITY and TEMPORARY attributes specified by a SET ATTACHMENT-SET
command:
1} SET ATTACHMENT-SET SECURITY "AOGO", TEMPORARY ON
2} SHOW ATTACHMENT-SET SECURITY, TEMPORARY
ATTACHMENT-SET ATTRIBUTES
security: "AOGO"
temporary: On
•
This example shows the effect of the question mark wild-card character in a
SHOW ATTACHMENT-SET command. Note the use of the keyword alias ADP.
49} SET ADP (PARAM AX 1), (PARAM BY 2), (PARAM CZ 3)
50} SET ADP (PARAM DX 1), (PARAM EY 2), (PARAM FZ 3)
51} SET ADP (PARAM GX 1), (PARAM HY 2), (PARAM IZ 3)
52} SHOW ADP PARAM ?Y
ATTACHMENT-SET ATTRIBUTES
attachments: PARAM BY 2
PARAM EY 2
PARAM HY 2