Rejecting a Link3270 bridge request
When the routing program is invoked for routing, it can choose whether the link request should be routed or rejected. If you want the request to be routed, whether you have changed any values or not, return a zero value to CICS® in field DYRRETC of the communications area.
The routing program can reject the request by returning a value of 4 or 8 in field DYRRETC.
The BRIH returned to the client contains a return code value indicating that the routing program has rejected the request. The BRIH compcode gives further information about the last attempt to route the request by the routing program. If the routing program placed a return code value of 8 into field DYRRETC a message is issued with the details of the last attempt to route the request.
Returning a value in DYRRETC has no effect when the routing program is invoked at request termination or when a notify call is being made.