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 DS CL16 (Name of current application) OPIA DS CL10 (Input arrival of current operation, YYMMDDHHMM) OPID DS CL6 (Workstation name, operation number (binary)) OLDDUR DS F (Old estimated duration, in minutes) CURDUR DS F (Duration of current operation, in minutes) NEWDUR DS F (New estimated duration, in minutes)
- ADID
- The name of the application that will be updated.
- OPIA
- The 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
- The current estimated duration (in minutes), as given by the application description.
- CURDUR
- The measured duration that the current operation was active at the workstation.
- NEWDUR
- The new estimated duration that Tivoli Workload Scheduler for z/OS will save in the application-description record. If this parameter is set, the minimum value is 1, and the maximum value is 5999.