Modifying the application’s containers
This section applies to the routing of:
- Transactions started by terminal-related START requests (described in Routing transactions dynamically)
- Program-link (DPL) requests (described in Routing DPL requests dynamically)
- Non-terminal-related START requests (described in Routing non-terminal-related START requests)
If the user application uses a channel, rather than a communications area, the routing program is given, in field DYRCHANL, the name of the channel. Because the routing program is given the name of the channel, not its address, it is unable to use the contents of DYRCHANL to inspect or change the contents of the channel’s containers.
However, an application that uses a channel can create, within the channel, a special container named DFHROUTE. If the application issues a LINK or terminal-related START request (but not a non-terminal-related START request) that is to be dynamically routed, the dynamic routing program is given, in the DYRACMAA field of DFHDYPDS, the address of the DFHROUTE container, and can inspect and change its contents.