OpenTP1 Version 7 Programming Guide
User exit routines are programs which help UAPs with message processing when OpenTP1 is in process of message exchange mode communication.
Either C or C++ is used for coding user exit routines. When the C is used, code the user exit routine in either the ANSI C format or the pre-ANSI K&R format (Classic C). When the C++ is used, code the user exit routine according to the C++ specification.
The figure below shows the relationship between message processing and user exit routines.
Figure 3-20 Positions of user exit routines
Table 3-15 User exit routines available with OpenTP1
Type of user exit routine | Processing that can be performed by user exit routine | Processing that is performed if user exit routine is not used |
---|---|---|
User exit routine that edits input messages/user exit routine that determines application name |
|
The first up to 8 characters before the first space on the first segment are treated as the application name. |
User exit routine that edits sequential number of send message |
|
The segments are given the sequence numbers specified in the function which is to send the message. |
User exit routine that determines the inheriting timer-start message |
|
Whether the timer start message is inherited is determined according to the specification in the definition. |
User exit routine that edits output message |
|
The message to be output is sent without editing. |
All Rights Reserved. Copyright (C) 2006, 2010, Hitachi, Ltd.