Using the dynamic transaction routing program with Link3270

When the dynamic transaction routing user replaceable program is called in the Link3270 bridge environment, these input parameters are set.

DYRTYPE
8
DYRBRTK
bridge facilitytoken
DYRTRAN
name of user transaction as known in the router region

When a client links to the bridge routing program (DFHL3270) with the first application transaction for that facility and that transaction is defined as dynamic, the dynamic transaction routing program is called to determine if the request should be routed (using DPL) to another server region. The dynamic transaction routing program is passed the transaction id in the message, and determines the SYSID of the region (AOR) where the user transaction will be started.

The dynamic transaction routing program is only called if the transaction is defined as DYNAMIC(YES).

Once a bridge transaction has been routed successfully to an AOR, all transactions executing with the same FACILITYTOKEN are routed to the same AOR. This affinity continues until the bridge facility is deleted in the AOR.

In session mode, subsequent transactions that are defined as dynamic will cause a notify call to the dynamic transaction routing program, informing the routing program that the transaction request is being routed to a specific region.

See Routing bridge requests dynamically for information about using a dynamic routing program.