Some processing considerations

A dynamic routing program has the following processing considerations.

  • When invoked for program-link requests, the dynamic routing program should restrict its use of EXEC CICS commands to those in the DPL subset. For information about which commands constitute the DPL subset, see Exception conditions for LINK command.
  • Although the routing program can issue any EXEC CICS command in the DPL subset, consider carefully the effect of commands that alter protected resources, because changes to those resources might be committed or backed out inadvertently as a result of logic in the routed program.
  • If you want to keep information about how link requests are routed, this must be done in the user routing program, perhaps by writing the information to a temporary storage queue.
  • Avoid creating tangled daisychains. For any program-link request that is being dynamically routed, avoid routing back to a node that has previously been routed from. For more details, see Daisy-chaining of DPL requests.
  • The dynamic routing program can be RMODE ANY, but must be AMODE 31.