ICO0027E javax.resource.ResourceException:
ICO0027E:methodname error.
The OTMA header of the IMS output message did not contain a segment_name segment.

Explanation

The OTMA header in the IMS transaction output message was not built properly. It did not contain the segment identified by segment_name.

User response

Correct the problem with how the message header is built. An example of a situation in which this error could occur is executing a SYNC_RETRIEVE_ASYNCHOUTPUT_WAIT or SYNC_RETRIEVE_ASYNCHOUTPUT_NOWAIT interaction that retrieves a message that was queued by a non-IMS TM resource adapter client (for example, a 3270 terminal interaction). Messages that are queued by non-IMS TM resource adapter clients typically do not have the OTMA headers that are required by the IMS TM resource adapter. To resolve the problem, ensure that the IMS TM resource adapter and non-IMS TM resource adapter clients use separate queues for their respective asynchronous output.