Communicating with the user interface routine
Communication between HCL Workload Automation for Z panel and user exit routine is through the ISPF variable defined in shared pool. The panel passes the following variables to the user exit routine:
| Variables | ||
|---|---|---|
| UROSTAT | CHAR(1) | Current operation status |
| URNSTAT | CHAR(1) | New operation status |
| UROPERR | CHAR(4) | New operation error code |
| UROPDUR | CHAR(5) | New operation duration |
The UROSTAT variable contains the status value of the current operation. New operation parameters are passed initialized to blank.
| N3P_COM Variable | Description |
|---|---|
| OPGROUP | Authority group |
| OPADI | Application ID |
| OPIAD | Application input arrival date after MCP |
| OPIAT | Application input arrival time after MCP |
| OPTXT | Textual description |
| OPJBN | OS job name or blank |
| OPWSN | Workstation name |
| OPNUM | Operation number |
| OPJCL | JOB-, SYSOUT-class, or blank |
| OPFRM | From number or blank |
| OPPSD | Planned start date |
| OPPST | Planned start time |
| OPPED | Planned end date |
| OPPET | Planned end time |
| OPOID | Operation input arrival date |
| OPOIT | Operation input arrival time |
| OPODD | Operation deadline date |
| OPODT | Operation deadline time |
| OPLOD | Latest out for operation date |
| OPLOT | Latest out for operation time |
| OPASD | Actual start date |
| OPAST | Actual start time |
| OPAAD | Actual arrival date |
| OPAAT | Actual arrival time |
| OPISD | Intermediate start date if interrupted |
| OPIST | Intermediate start time if interrupted |
| OPAED | Actual end date |
| OPAET | Actual end time |
| OPEDU | Estimated duration, hh.mm |
| OPADU | Actual duration, hhhh.mm |
| OP£PS | Parallel servers required |
| OP£R1 | WS resources required (r1) |
| OP£R2 | WS resources required (r2) |
| OPCST | Current status |
| OPERR | Error code |
| OPAEC | Automatic error completion (Y or N) |
| OPPRI | Priority |
| OPXST | Extended status |
| OP£SU | Number of successors |
| OP£PR | Number of predecessors |
| OP£SR | Number of special resources |
| OPAJR | Automatic hold/release (Y or N) |
| OPASUOP | Automatic submit (Y or N) |
| OPTJT | Time job (Y or N) |
| OPRESTA | Restartable operation |
| OPRERUT | Reroutable operation |
| OPWRER | Operation was rerouted |
| OPAWS | Operation alternate WS |
| OPDWTO | Operation deadline WTO |
| OPMXLVL | Maximum nesting level |
| OPUPDA | Operation userdata field |
| OPMHLD | Operation manually held field |
| OPNOP | Operation nop field |
| OPEXEC | Operation execute field |
| OPMCPUP | Last MCP update |
| OPJES | Job ID |
| OPCMJST | Job log status |
| OPEXDEST | Execution destination |
| OPEDUS | Estimated duration hh.mm.ss |
| OPADUS | Actual duration hh.mm.ss |
| OPMON | External monitor (Y or N) |