ICO0028E javax.resource.ResourceException:
ICO0028E:methodname error.
The Prefix flag in the
OTMA header Message-Control Information segment of the
IMS output message is not
valid.
Explanation
The OTMA header in the IMS transaction output message was not built properly. The Prefix flag in
the OTMA header specified which segments are included in the OTMA header of the message, but the
total length of the message (which must include both the headers and the message data) is less
than the sum of the lengths of the specified headers. The total message length must be equal to
or greater than the total length of the headers, depending on whether the message contains any
data, but never less than the total length of the headers.
User response
Correct the problem with how the message header is built. This situation
typically is a result of either a user message incorrectly modifying the message header or an
internal error in either IMS Connect or the IMS TM resource adapter.
If your user exits are being used as shipped, without modification, or you are unable to
determine why the headers are not being built correctly, contact IBM® Software Support.