OpenTP1 Version 7 Programming Guide

[Contents][Index][Back][Next]

3.9.1 User exit routine that edits input message and application name determination

This user exit routine determines the application name of the MHP which processes input messages. When this user exit routine is incorporated, messages which OpenTP1 receives from other systems are passed to the user exit routine. After processing by the user exit routine ends, the message data is passed to the input queue. Then, the message data is transferred to the function for receiving MHP messages scheduled by OpenTP1.

When an MCF event informs and recovery processing is to be performed by the MCF event handling MHP, the user exit routine that edits input message and determines application name is not used.

For the format of the user exit routine that edits input message and determines application name, see the applicable OpenTP1 Protocol manual.

Organization of this subsection
(1) Incorporation into OpenTP1

(1) Incorporation into OpenTP1

Specify the function address of the created user exit routine in the MCF main function (start function: dc_mcf_svstart()). The function address of the user exit routine that edits input message can be determined optionally. If the MCF main function is compiled and link-edited, the object file of the user exit routine is linked to the MHP execution form file and can be executed. For details on the MCF main function, see the manual OpenTP1 Operation.