Modifying the application’s containers

This section applies to the routing of:

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.