Handling route selection errors of Link3270 bridge requests
If an error occurs in route selection—for example, if the SYSID returned by the dynamic routing program is unavailable or unknown, or the link fails on the specified target region—the dynamic routing program is invoked again.
When this happens, you have a choice of actions:
- You can tell CICS® not to continue trying to route the request, by issuing a non-zero return code in DYRRETC.
- You can change the sysid, and issue a return code of ‘0' in DYRRETC to try to route the request again. Note that if you change the sysid, you may also need to supply a different transaction ID.
A count of the times the routing program has been invoked for routing purposes for this request is passed in field DYRCOUNT. Use this count to help you decide when to stop trying to route the transaction.