NOP
The NOP instruction removes an operation that is already in the current plan. When a NOP operation is ready to be started, IBM Z Workload Scheduler immediately sets it to C status. The operation is not submitted and successor operations are eligible to start. The NOP instruction can be issued for any operation that has status A, R, *, W, or, for computer workstations with automatic reporting only, C. NOP operations are identified by the N extended status code. If you want to restore the operation, use the UNNOP instruction.
Keywords used in the Nop Instruction describes the keywords that can be used.
| Keyword | Requirement | Multiple Values Allowed | Description | Abbreviation | Format |
|---|---|---|---|---|---|
| APPL() | Required | Yes | The name of the application to be modified. | ||
| OPNO() | Optional | Yes | The number of the operation to be modified. If OPNO() is not specified, the NOP command, NP, will be issued to all the occurrence operations. | 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 that the default input arrival time is 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 | |
|
Note: ¹
Mutually exclusive with another keyword. | |||||
Example control statements:
- NOP APPL(TEST01)
- Sets all the operations of occurrence TEST01 in NOP status
- NOP APPL(TEST01) OP(10,30,50)
- Sets operations 10, 30, and 50 of occurrence TEST01 in NOP status
NOP instruction returns one of the following return codes:
- RESULT = 0
- Operations status modified.
- RESULT = 4
- Occurrence found but operations not found in the current plan.
- RESULT = 8
- Occurrence not found in the current plan. Invalid instruction or PIF problem. Refer to the error messages.