gtps2m4c | ACF/SNA Data Communications Reference |
Figure 103 illustrates the extended TPF outbound message flow.
Figure 103. Extended TPF Outbound Message Flow
As shown in the Figure 103, immediately preceding the PSV exit in the ROUTC code, is the user ROUTC Exit. For an illustration of the user ROUTC Exit, see Figure 94. See TPF System Installation Support Reference for additional information about user exits. This exit provides you with the opportunity to dynamically indicate the PSV routine to be selected for a message. This exit is required for messages that have been presented to ROUTC using the LEID interface.
ROUTC macro code starts the PSV routine indicated on return from the user ROUTC Exit, or the PSV routine previously associated with the RID of the destination LU, if the message was presented to ROUTC using a RID interface.
The exit routine is expected to issue the ROUTC macro to send the message to its actual destination. When the exit routine completes its processing it should issue an EXITC macro to return control to the system.
Optionally, the exit routine may need to queue the message on DASD before transmission. TPF provides a generalized queuing package to allow the user to queue messages. See Queue Manager for more information.