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.

Table 1. Keywords used in the Modop Instructions
Keyword Requirement Multiple Values Allowed Description Abbreviation Format
APPL() Required Yes The name of the application to be modified.
CLNTYPE() Optional No Cleanup type:
A
Automatic
I
Immediate
M
Manual
N
None
If not specified, the default is N.
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:
P
Critical path.
W
Eligible for WLM assistance.
N
Not eligible for WLM assistance. This is the default.
JOBPOL() Optional No Specifies the WLM assistance policy to apply, if the job was defined as critical. Possible values are:
D
Deadline. The job is assisted if it has not completed at deadline time.
L
Long Duration. The job is assisted if it runs beyond the estimated duration.
S
Latest Start Time. The job is assisted if it was submitted before its latest start time.
C
Conditional. An algorithm is used to decide whether to apply the Deadline or Latest Start Time policy.
blank
The policy set in the OPCOPTS statement is applied.
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.

Table 2. Operations 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:
MODOP APPL(APPLNAME) IADATE(IADATE) IATIME(IATIME) OPNO(OPNO)
one of the following parameters must be specified:
  • 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.