NetBatch Manual

Attributes
NetBatch Manual522460-004
7-21
ATTACHMENT-SET Job Attribute
Attachment-set commands that do not affect the #CURRENT variable are
ASSUME, DELETE, INFO, SHOW, and STATUS.
ADP (an abbreviation of ASSIGNs, DEFINEs, and PARAMs) is an alias of
the
attribute keyword ATTACHMENT-SET.
Examples
This example shows the ATTACHMENT-SET attribute assigning, changing, and
dissociating a job’s attachment set:
37} SUBMIT JOB COMPILE-JOB, IN BUILD, OUT =OUT, HOLD ON,
ATTACHMENT-SET (NB.USER)COMPILE-C30
Job COMPILE-JOB job number 13 submitted
38} INFO JOB 13, ATTACHMENT-SET
JOB ATTRIBUTES for COMPILE-JOB
jobnumber: 13
attachment-set: (NB.USER)COMPILE-C30
39} ALTER JOB 13, ATTACHMENT-SET (SUPER.FPP)COMPILE-D20
Job COMPILE-JOB job number 13 altered
40} INFO JOB 13, ATTACHMENT-SET
JOB ATTRIBUTES for COMPILE-JOB
jobnumber: 13
attachment-set: (SUPER.FPP)COMPILE-D20
41} ALTER JOB 13, ATTACHMENT-SET
Job COMPILE-JOB job number 13 altered
42} INFO JOB 13, ATTACHMENT-SET
JOB ATTRIBUTES for COMPILE-JOB
jobnumber: 13
This example shows a job adopting the #CURRENT attachment set:
49} CHANGEUSER NB.USER psswrd
49} INFO ATTACHMENT-SET #CURRENT, DETAIL
-^-0345-
E Undefined substitution
50} ALTER ATTACHMENT-SET COMPILE-C30, (ASSIGN TAL,
$SYSTEM.SYSTEM.TAL)
Attachment-set (NB.USER)COMPILE-C30 altered
51} INFO ATTACHMENT-SET #CURRENT, DETAIL
ATTACHMENT-SET ATTRIBUTES for (NB.USER)COMPILE-C30
security: "UUUU"
temporary: Off
attachments: DEFINE =_DEFAULTS, CLASS DEFAULTS, VOLUME
$DATA7.WORK
ASSIGN TAL, $SYSTEM.SYSTEM.TAL
52} SUBMIT JOB TAL-COMPILE, HOLD ON, ATTACHMENT-SET #CURRENT
Job TAL-COMPILE job number 14 submitted
53} INFO JOB 14, ATTACHMENT-SET
JOB ATTRIBUTES for TAL-COMPILE
jobnumber: 14
attachment-set: (NB.USER)COMPILE-C30
This example shows the #CURRENT variable causing the scheduler to create an
attachment set for a job. The scheduler creates the set because #CURRENT has a