MODOP
The MODOP instruction changes the operation's details.
Keywords used in the Modop Instructions describes the keywords that can be used to select the operations to be modified.
| Keyword | Requirement | Multiple Values Allowed | Description | Abbreviation | Format |
|---|---|---|---|---|---|
| APPL() | Required | Yes | The name of the application to be modified. | ||
| CLNTYPE() | Optional | No | Cleanup type:
|
||
| CONDRJOB() | Optional | No | Specifies if the operation might recover a conditional predecessor (Y or N). The default is N. | ||
| EXPJCL | Optional | No | Expanded JCL used (Y or N). If not specified the default is N. | ||
| OPNO() | Optional | Yes | The number of the operation to be modified. If you omit this parameter, the process changes all the operations in the selected occurrence, regardless of any default operation number, DEFOPNO, specified in the OCL program. | OP | |
| IADATE() | Optional¹ | No | The input arrival date of the application occurrence. IADATE(=) assumes the current date. IADATE() and IA() are mutually exclusive. | IAD | YYMMDD |
| IATIME | Optional¹ | No | The input arrival time of the application occurrence. If IADATE(=) is specified, IATIME() assumes the default input arrival time specified in the DEFIAT parameter of the EQQYRPRM member. IADATE() and IA() are mutually exclusive. | IAT | HHMM |
| IA() | Optional¹ | No | The input arrival date and time of the application occurrence. IA(=) assumes the current date and time. It defaults to the earliest or latest input arrival date and time of the application occurrences found in the current plan, depending on the SORT parameter. IA() cannot be used together with IADATE() or IATIME(). | YYMMDDHHMM | |
| JOBCRT() | Optional | No | Specifies whether
the operation is critical or eligible for WLM assistance, if late.
Possible values are:
|
||
| JOBPOL() | Optional | No | Specifies the
WLM assistance policy to apply, if the job was defined as critical.
Possible values are:
|
||
| MONITOR | Optional | No | Specifies if the operation is monitored by an external product (Y or N). | ||
| USRSYS() | Optional | No | User sysout needed (Y or N). If not specified the default is N. | ||
| WLMSCLS | Optional | No | The WLM service class. | ||
| Note: ¹
Mutually exclusive with another keyword. |
|||||
Operations Details that can be modified describes the operation details that can be modified.
| Keyword | Requirement | Multiple Values Allowed | Description | Abbreviation | Format |
|---|---|---|---|---|---|
| JOBNAME() | Optional | No | The job name | JOB | |
| WSNAME() | Optional | No | The workstation name | WS | |
| DESC() | Optional | No | The operation descriptive text | ||
| EDUR() | Optional¹ | No | The operation estimated duration. EDUR() and DURATION() are mutually exclusive. | HHMM | |
| ASUB() | Optional | No | The automatic job submission option (Y or N) | ||
| AJR() | Optional | No | The hold/release option (Y or N) | ||
| TIMEDEP() | Optional | No | The time dependent option (Y or N) | ||
| CLATE() | Optional | No | The cancel-if-late option (Y or N) | ||
| OPIA() | Optional | No | The operation input arrival date and time | YYMMDDHHMM | |
| OPDL() | Optional | No | The operation deadline | YYMMDDHHMM | |
| PSUSE() | Optional | No | The number of parallel servers required by the operation | ||
| R1USE() | Optional | No | A value in the range 0–99, indicating the maximum capacity of workstation resource 1 | ||
| R2USE() | Optional | No | A value in the range 0–99, indicating the maximum capacity of workstation resource 2 | ||
| DURATION() | Optional¹ | No | The operation estimated duration. EDUR() and DURATION() are mutually exclusive. | HHMMSS | |
| Note: ¹ Mutually exclusive with another
keyword. |
|||||
Examples:
- MODOP APPL(TEST01) OP(10) TIMEDEP(N)
- Changes the time dependent option for operation 10
- MODOP APPL(TEST01) IAD(&OYMD1), JOB(job22222) OP(20) OPIA(&OYMD1.1600)
- Changes the operation input arrival time
The MODOP instruction returns one of the following return
codes:
- RESULT = 0
- Occurrence modified.
- RESULT = 4
- Occurrence found but operations not found in the current plan, or the operation input arrival or deadline are not valid, but are accepted. Refer to the warning message.
- RESULT = 8
- Occurrence not found in the current plan. Invalid
instruction or PIF problem. Refer to the error messages. Note: Using the MODOP instruction as follows:
one of the following parameters must be specified:MODOP APPL(APPLNAME) IADATE(IADATE) IATIME(IATIME) OPNO(OPNO)- AJR
- ASUB
- CLATE
- CLNTYPE
- CONDRJOB
- DESC
- DURATION
- EDUR
- EXPJCL
- JOBCRT
- JOBNAME
- JOBPOL
- MONITOR
- OPDL
- OPIA
- PSUSE
- R1USE
- R2USE
- TIMEDEP
- USRSYS
- WLMSCLS
- WSNAME
Otherwise the message, EQQCL4VW NO PARAMETER WAS ISSUED, message is issued.