Customizing OCL
Follow these steps
to customize the OCL function.
- Customize the initialization parameters in the OCL library
member
EQQYRPRM. The initialization parameters are as follows:
- SUBSYS()
- Default subsystem ID for Z controller. This is overridden by the SUBSYS specified in the EQQYPARM DD card and by the SUBSYS() keyword specified in the OCL instructions (for details, see Specifying input arrival dates and times).
- OPCTRK()
- Default subsystem ID for tracker.
- LUNAME()
- LU node name of the server communicating with the controller system.
- REMHOST()
- The server host name for the program interface TCP/IP session. REMHOST and LUNAME are mutually exclusive.
- REMPORT()
- The server port number for the program interface TCP/IP session. REMPORT and LUNAME are mutually exclusive.
- DEFCONDID()
- Default condition identifier; for example, 001.
- DEFIAT()
- Default Input Arrival time in HHMM format; for example, 1800.A blank value is allowed. If DEFIAT is set to blank and an IA time is not specified, the following rules apply:
- All the occurrences matching the other specified parameters are searched for, by applying the mechanism set by the SORT parameter (MIN or MAX).
- If the action is an add occurrence, the blank value is replaced by the current time.
- DEFOPNO()
- Default operation number; for example, 001.
- DEFPREOPNO()
- Default external predecessor operation number; for example, 099. This is used only for external dependencies.
- DUBPROC()
- Determines
the parameter with which the BPX1SDD routine is to
be invoked. It can be Y or N.
- Y
- The BPX1SDD routine is invoked by using the DUBPROCESS parameter.
- N
- The BPX1SDD routine is invoked by using the DUBPROCESSDEFER parameter.
- SORT()
- If you do not specify the occurrence Input Arrival date and time in the OCL
instructions, SORT() determines which application occurrence in the current plan to
consider. SORT
is also used when only the IA date is set; in this case, after the MAX or MIN
criterion is applied, the IA date is used to filter the matching occurrences.
- MAX
- Determines the occurrence with the latest IA date and time.
- MIN
- Determines the occurrence with the earliest IA date and time.
- TSOCMD()
- The external TSO command and
REXX instruction activator. It
can be YES or NO.
- YES
- You can specify TSO commands and REXX instructions other than those provided by OCL.
- NO
- You can specify only OCL instructions.
- INCVALUE()
- Indicates the increasing value for
the variable calculation.
OCL will add days to or subtract days from an input date up to the
INCVALUE value. It will calculate the new date ±n calendar
days, where n is a value from 1 to the value
of INCVALUE,
which can be in the range 1-30.
This parameter is used only by CHKDATE instruction.
- LOOPDEP()
- OCL does not add a group of
applications if the group contains applications that are mutually dependent. In this case, the
operation fails and message EQQCL7QE is issued. Set LOOPDEP to NO if you do not want OCL to check
whether the applications in a group are mutually dependent.
The default is YES.
For information about how to specify initialization parameters, see Specifying the initialization parameters.
- If you want to enable the logging function, allocate the log data set. The log data set must be a sequential data set with LRECL 133 and RECFM FB. For information about the logging function, see Logging executed instructions.
- Customize all the JCL cards in the OCL library member EQQYRPRC, in accordance with your installation standards.
- Customize all the JCL cards in the OCL library member EQQYRJCL, in accordance with your installation standards.
- Specify the
OCL instructions in the data set referred to by the
SYSIN DD card in the EQQYRJCL member.
Example:
//EQQOCL.SYSIN DD * CHKAPPL APPL(TEST*) STATUS(E) * …
- Submit the job.