PROMPTN
The PROMPTN instruction specifies that NO is the reply to a recovery prompt issued for an abended operation.
Table 1 describes the keywords that can be used.
Keyword | Requirement | Multiple Values Allowed | Description | Abbreviation | Format |
---|---|---|---|---|---|
APPL() | Required | No | The name of the application to be modified. | ||
OPNO() | Optional | Yes | The number of the operation to be modified. | OP | |
IADATE() | Optional (1) | No | The input arrival date of the application occurrence. IADATE(=) assumes the current date. IADATE() and IA() are mutually exclusive. | IAD | YYMMDD |
IATIME | Optional (1) | 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 (1) | 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 occurrence occurrences found in the current plan, depending on the SORT parameter. IA() cannot be used together with IADATE() or IATIME(). | YYMMDDHHMM | |
Note: 1 Mutually exclusive with another keyword. |
Examples:
- PROMPTN APPL(TEST01)
- Specifies that NO is the reply to a recovery prompt issued for any of the operations of application occurrence TEST01
- PROMPTN APPL(TEST01) OP(10,30,50)
- Specifies that NO is the reply to a recovery prompt issued for operations 10, 30, and 50 of application occurrence TEST01
- PROMPTN APPL(TEST01) IAD(=)
- Specifies that NO is the reply to a recovery prompt issued for any of the operations of application occurrence TEST01 for the current input arrival date and the default input arrival time
- PROMPTN APPL(TEST01) IAD(=) IAT(1800)
- Specifies that NO is the reply to a recovery prompt issued for any of the operations of application occurrence TEST01 for the current input arrival date and input arrival time 18.00
- PROMPTN APPL(TEST01) IAD(970708)
- Specifies that NO is the reply to a recovery prompt issued for any of the operations of application occurrence TEST01 for the input arrival date 970708 and the default input arrival time
- PROMPTN APPL(TEST01) IA(=) OP(30)
- Specifies that that NO is the reply to a recovery prompt issued for operation 30 of application occurrence TEST01 for the current input arrival date and time
- PROMPTN APPL(TEST01) IA(9707081801)
- Specifies that NO is the reply to a recovery prompt issued for any of the operations of application occurrence TEST01 for the input arrival date 970708 and the input arrival time 18.01
The PROMPTN instruction returns one of the following return
codes:
- RESULT = 0
- Operations status modified.
- RESULT = 4
- Occurrence or operations not found in the current plan.
- RESULT = 8
- Invalid instruction or PIF problem. Refer to the error messages.