<job attribute list>
┌◄────────────────────────────────────┐ ──┴─┬─<task attribute assignment>─┬─ ; ─┴──────────────────────────────┤ ├─<class specification>───────┤ ├─<fetch specification>───────┤ └─<starttime specification>───┘
Explanation
The job attribute list assigns task attributes and job specifications to the job. The CLASS specification, FETCH specification, and STARTTIME specification can only be applied to a job and are described under their own headings later in this section.
The syntax for task attribute assignment is described in Task Initiation. The types and the meanings of the task attributes recognized by the WFL compiler are described in the Task Attributes Programming Reference Manual.
Attributes not assigned to values in the job attribute list are assigned values by the system on the following basis:
-
Certain attributes inherit values associated with the usercode the job is originated from, such as the CLASS, CHARGECODE, FAMILY, CONVENTION, PRIORITY, and USERCODE attributes. These values are stored in USERDATA locator nodes in the USERDATAFILE. For information about the USERDATAFILE, refer to the Security SDK.
-
Other attributes can inherit values associated with the class (or queue) of the job. A class can have default values and/or maximum values specified for the PRIORITY, MAXPROCTIME, MAXIOTIME, or ELAPSEDLIMIT attributes. A job is discontinued if the job attribute list specifies greater resource limits than those associated with the class of the job.
-
Attributes assume their default values if they are not included in the job attribute list and do not receive values from the usercode or class of the job. The attributes that limit resource usage default to their maximum possible values.
Task attributes can also be assigned to specific tasks initiated by a job. Refer to Task Initiation for a description of how to assign task attributes to specific tasks.
Task attributes associated with a job can be changed or interrogated later in the job by using the MYJOB predeclared task variable.
Note: | A string primary cannot be used in job-related task attribute assignments unless you use the MYJOB or MYSELF predeclared task variable syntax. Refer to MYJOB and MYSELF Predeclared Task Variables for details. |