Route error considerations

After you receive the SYSID and APPLID of a target region, you can attempt to route the unit of work to the target region.

However, the routing attempt may result in an error condition if the system is unavailable. When this happens, you should:
  1. Set the WTRA_FUNC field to WTRA_FUNCERR to indicate a routing error.
  2. Specify the reason for the error in the WTRA_ERR field.
  3. Reinvoke CICSPlex® SM workload management.

CICSPlex SM workload management provides another target from the scope list, if possible. If no other systems are available, the WTRA_RESPONSE field is set to 8 and the WTRA_API_RESP and WTRA_API_REAS fields describe the reason for the failure. You may have to invoke CICSPlex SM workload management more than once for routing errors until you receive a valid target region.