Arguments

The arguments are used in these situations:
  • If you are inserting a new current-plan occurrence of an existing application description, use the arguments to identify the application rather than having to provide the complete record yourself. The arguments tell HCL Workload Automation for Z which application is required, and it handles the insertion of this application as an occurrence record in the LTP or CP. The arguments can also provide additional information, such as input arrival time, deadline, and priority. If you use the arguments, set the data area pointer address to zero before you issue your call.

    If you are inserting a new LTP or current plan occurrence, use the arguments to identify the application.

  • If you are inserting a new current-plan occurrence and providing the application description information in the data area, the arguments can specify occurrence information, such as input arrival time, deadline, and priority. These arguments override the values in the application description.
  • If you are inserting information for an existing LTP or current plan occurrence or operation, use the arguments to provide all the information to be inserted.
Note:
  1. No arguments can be provided for AD, OI, JS, AWSCL, CL, ETT, PR, SR, WS, and WSV resource codes, because the complete record must be in the data area.
  2. When inserting calendar records (CL) the standard day segment (that is, ='STANDARD') must appear as the second segment in the input field right after the CLCOM segment. Its corresponding interval segment must be immediately after.
  3. When inserting special resource (SR), DAY=8 represents the STANDARD day.
  4. The format of the duration used in the data area in Insert AD/WS will be defined by the DURSEC option, described in the paragraph OPTIONS request.
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. .
Note: If the argument DURATION is used with the argument EDUR, an error message occurs.