INIT
Syntax
INIT VARTAB() | SUBSYS() | SORT()
The INIT instruction overrides the IBM Z Workload Scheduler subsystem name and the SORT parameter specified in the EQQYRPRM member, and specifies the variable table name used by the UPD or SETUPD instructions.
Table 1 describes the keywords that you can use:
Keyword | Requirement | Multiple Values Allowed | Description |
---|---|---|---|
VARTAB() | Optional | No | The scheduler variable table to be updated. This keyword is required only by the UPD and SETUPD instructions. |
SUBSYS() | Optional | No | The scheduler subsystem name. It overrides the subsystem name specified in the EQQYRPRM member, unless you specify the SUBSYS() keyword in the EQQYPARM DD. |
SORT() | Optional | No | This keyword overrides the SORT parameter specified in the EQQYRPRM member. It determines the application occurrence in the current plan to be selected if you do not specify the input arrival date and time in the OCL instruction. SORT(MAX) determines the occurrence with the latest input arrival date and time. SORT(MIN) determines the occurrence with the earliest input arrival date and time. |
Examples:
INIT VARTAB(&OADID) SUBSYS(OPCC)
INIT SUBSYS(OPCC)
INIT SORT(MAX)
INIT returns one
of the following return codes:
- CC = 0
- Instruction correctly processed
- CC = 8
- Invalid instruction. Refer to the error message.