NetBatch Manual

Attributes
NetBatch Manual522460-004
7-113
TEMPORARY Attachment-Set Attribute
Consideration
The scheduler assigns a default TEMPORARY attribute to an attachment set added by
a command that does not specify that attribute. The value of the default attribute
depends on whether the set has a user-specified or scheduler-generated (through
#CURRENT) identifier. Possible values are:
TEMPORARY OFFfor sets added with user-specified identifiers (that is,
named
attachment sets). For example:
17} ADD ATTACHMENT-SET (FPP.QA)ADP
Attachment-set (FPP.QA)ADP added
18} INFO ATTACHMENT-SET (FPP.QA)ADP, TEMPORARY
ATTACHMENT-SET ATTRIBUTES for (FPP.QA)ADP
temporary: Off
TEMPORARY ONfor sets added with scheduler-generated identifiers (that
is,
numbered attachment sets). For example:
22} CHANGEUSER NB.USER psswrd
22} SUBMIT JOB X, ATTACHMENT-SET #CURRENT
Attachment-set (NB.USER)12 added
Job X job number 16 submitted
23} INFO ATTACHMENT-SET 12, TEMPORARY
ATTACHMENT-SET ATTRIBUTES for (NB.USER)12
temporary: On
Examples
This example shows the automatic deletion of an attachment set at the end of a
BATCHCOM session:
9} ADD ATTACHMENT-SET #CURRENT
Attachment-set (NB.USER)34 added
10} INFO ATTACHMENT-SET 34, TEMPORARY
ATTACHMENT-SET ATTRIBUTES for (NB.USER)34
temporary: On
11} SUBMIT JOB A, IN INFILE, HOLDAFTER ON, ATTACHMENT-SET 34
Job A job number 387 submitted
12} STATUS JOB 387
JOB JOBNAME USERID LOG STATE CLASSNAME
---- ---------------- ------- ---- ----------- ---------
387 A 133,2 132 EXECUTING DEFAULT
13} INFO JOB 387, ATTACHMENT-SET
JOB ATTRIBUTES for A
jobnumber: 387
attachment-set: (NB.USER)34
14} STATUS ATTACHMENT-SET 34
ATTACHMENT SET IN USE BY JOBS
--------------------------------- --------------
(NB.USER)34 (NB.USER)A
15} STATUS JOB 387
JOB JOBNAME USERID LOG STATE CLASSNAME
---- ---------------- ------- ---- ----------- ---------