NetBatch Manual
Attributes
NetBatch Manual—522460-004
7-12
ASSIGN Attachment-Set Attribute
Example
This example shows the AFTER attribute of a job specifying the time after which the
job becomes eligible for execution:
25} SUBMIT JOB YEAR-END, AFTER 31DEC94 MIDDAY
Job YEAR-END Jobnumber 23 submitted
26} STATUS JOB YEAR-END
JOB STATUS
JOB JOBNAME USERID LOG STATE CLASSNAME
---- ---------------- ------- ---- ----------- ---------
23 YEAR-END 255,255 31DEC94 DEFAULT
27} INFO JOB YEAR-END, AFTER
JOB ATTRIBUTES for YEAR-END
jobnumber: 23
after: 31DEC94 12:00:00
next-runtime: 31DEC94 12:00:00
The job submitted on Tuesday, September 27, in this example
will become eligible for
execution at the start of Monday, October 3:
11> TIME
September 27, 1994 16:30:35
12> BATCHCOM $ZBAT; SUBMIT JOB MONDAY-MORNING, AFTER MONDAY
Job MONDAY-MORNING Jobnumber 24 submitted
13> BATCHCOM $ZBAT; INFO JOB MONDAY-MORNING, AFTER
JOB ATTRIBUTES for MONDAY-MORNING
jobnumber: 24
after: 03OCT94 00:00:00
next-runtime: 03OCT94 00:00:00
ASSIGN Attachment-Set Attribute
The ASSIGN attachment-set attribute specifies the name and attributes of an ASSIGN.
(An ASSIGN is a parameter that assigns the name of an actual file to a logical file
name in a program. It also can specify the file’s creation and open attributes.) The
scheduler passes the ASSIGN to the executor-program process of a job using the
attachment set when the job starts.
ASSIGN-name
is the name of an ASSIGN. The name can contain from 1 through 31 letters,
numbers, hyphens, and circumflexes. The name cannot contain spaces.
( ASSI[GN] ASSIGN-name , ASSIGN-attributes )
Note. To avoid confusion, do not use the attribute keywords ASSIGN, DEFINE, and
PARAM as ASSIGN names.