Retrieving a record directly from HCL Workload Automation for Z

When you are retrieving a record directly from HCL Workload Automation for Z as opposed to a record from a list, the arguments identify which record you want to retrieve. Two ways you can do this are:
  • Specify field names of the record as argument names. The argument values specify values for these fields that identify the particular record you want to retrieve. Argument values can be:
    • Character values. A blank character terminates the field.
    • Numeric values, which must occupy a fullword.
    You must specify sufficient arguments to uniquely identify a record. You can use a comparison operator after the argument values. The default, an equals sign (=), is assumed if you do not.
  • Use the common part of the record, which you have previously retrieved with a LIST or a SELECT request, to identify the required record. Here the argument name specifies the resource code (common segment name), and the argument value specifies the address of the common segment data area that contains the common segment of the record. See Records Using a Common Segment.

CPST (current plan status) is only one record; therefore, select arguments are not required.

Note: The values of PIF arguments as dates depend on the PIF base year, which is defined by the PIFCWB keyword on the INTFOPTS statement, or the CWBASE keyword of the INIT statement. The value of the VALTO argument for default high date depends on the PIFHD keyword of the INTFOPTS statement or the HIGHDATE keyword of the INIT statement. For details about these statements, see Customization and Tuning.

You can specify the following values.