Interface to the exit
The application-description-feedback exit is invoked in task mode, problem state, and key 8 and the job-step task is APF-authorized. The active task runs with the same access authority as the job-step task. The exit must restore this state before returning to its caller.
Control is passed to the exit using the BAL instruction. The exit must return to its caller using the address and addressing mode passed to it in general register 14.
The exit is entered in AMODE 31 but must switch to AMODE 24 before performing any input or output operations, and then switch back to AMODE 31 before returning to the caller.
When the exit is entered, register 1 contains the address of the parameter list. Each address in this list is used to locate the parameter value. These parameters are passed to the exit:
- ADID
- Name of the application that will be updated.
- OPIA
- Input-arrival date and time of an operation that is described by the current application-description record.
- OPID
- Identifies the current operation further by giving the name of the workstation and the internal operation number of the application.
- OLDDUR
- Current estimated duration (in minutes), as given by the application description.
- CURDUR
- Measured duration that the current operation was active at the workstation.
- NEWDUR
- New estimated duration that HCL Workload Automation for Z will save in the application-description record. If this parameter is set, the minimum value is 1, and the maximum value is 5999.