HOLD

The HOLD instruction holds an operation or all the operations of an occurrence in the current plan.

Keywords used in the Hold Instruction describes the keywords that can be used.

Table 1. Keywords used in the Hold Instruction
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 HOLD command, MH, will be issued to all the occurrence operations. 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.
Example control statements:
HOLD APPL(TEST01)
Sets to HOLD status all operations of occurrence TEST01
HOLD APPL(TEST01) OP(10,30,50)
Sets to hold status operations 10, 30, and 50 of occurrence TEST01
HOLD APPL(TEST01) IAD(=)
Sets to HOLD status all operations of occurrence TEST01 for the current input arrival date and the default input arrival time
HOLD APPL(TEST01) IAD(=) IAT(1800)
Sets to HOLD status all operations of occurrence TEST01 for the current input arrival date and input arrival time 18.00
HOLD APPL(TEST01) IAD(970708)
Sets to HOLD status all operations of occurrence TEST01 for input arrival date 970708 and the default input arrival time
HOLD APPL(TEST01) IA(=)
Sets to HOLD status all operations of occurrence TEST01 for the current input arrival date and time
HOLD APPL(TEST01) IA(9707081801)
Sets to HOLD status all operations of occurrence TEST01 for input arrival date 970708 and input arrival time 18.01
The HOLD 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.