Output message passed to message exit

Output messages from IMS Connect are passed to the user message exit in a certain message structure, regardless of whether the exit is for an IMS TM Resource Adapter client or a user-written IMS Connect client application.

The following table shows the message format from IMS Connect to the exit for the client. The table provides information about the length and meaning of the fields in the output message.

Table 1. Format of output messages from IMS Connect to the user message exit
Field Length Meaning
OTMA HDRs Length of total OTMA headers Mapped by the HWSOMPFX macro in the IMS.SDFSMAC data set. For a description of the fields see OTMA header fields used by IMS Connect.
Control data (applicable to synchronous callout request) n bytes Control data sent by the IMS application program
LL 2 bytes Length of data segment
zz 2 bytes Reserved (set to binary zeros)
DATA n bytes User data
OTMA CTL HDR 32 bytes Mapped by the HWSOMPFX macro in the IMS.SDFSMAC data set. For a description of the fields see OTMA header fields used by IMS Connect.
LL 2 bytes Length of this segment
zz 2 bytes Reserved (set to binary zeros)
DATA n bytes User data
...    
OTMA CTL HDR 32 bytes Mapped by the HWSOMPFX macro in the IMS.SDFSMAC data set. For a description of the fields see OTMA header fields used by IMS Connect.
LL 2 bytes Length of this segment
zz 2 bytes Reserved (set to binary zeros)
DATA n bytes User data