Routing transactions dynamically

Dynamic routing of transactions can be started from user terminals or by eligible terminal-related EXEC CICS START commands.

When you define transactions to CICS®, you can describe them as remote or local. Local transactions are always executed in the terminal-owning region; remote transactions can be routed to other regions connected to the terminal-owning region by IPIC, MRO, or APPC (LUTYPE6.2) ISC links. IPIC supports transaction routing of 3270 terminals between CICS TS 4.1 or later regions, where the terminal-owning region (TOR) is uniquely identified by an APPLID.

You can dynamically select both the system to which the transaction is to be routed and the remote name of the transaction, rather than when the transaction is defined to CICS, by using a dynamic routing program. The CICS-supplied default routing program is called DFHDYP. Its source-level code is supplied in assembler language, COBOL, PL/I, and C versions. You can write your own program in any of these languages, using the default program as a model.