ICO0002E javax.resource.spi.EISSystemException:
ICO0002E:methodname error.
IMS OTMA returned an error:
SENSECODE=[sensecode], REASONCODE=[otmareasoncode].
[source_methodname:source_exception]

Explanation

IMS OTMA returned a negative acknowledgment (NAK) error.

User response

The IMS TM resource adapter displays sensecode and otmareasoncode in decimal. A reason code of 0 indicates that the sense code does not have an associated reason code. If the application is running with two-phase commit, you might receive the following sense code values with the NAK error.

Table 1. Sense code values if the application is running with two-phase commit
Sense code Description
17 (decimal, 11 hex) Your IMS is not enabled with resource recovery services (RRS) processing. Ensure your IMS has Protected Conversation processing with RRS enabled. See the topics on global transactions and two-phase commit support for more information.
46 (decimal, 2E hex) RRS and two-phase commit processing is not supported by IMS Connect and the IMS TM resource adapter.
51 (decimal, 33 hex)

If an authorization failure occurs when an asynchronous output message or a callout request is being retrieved from the hold queue, the OTMA reason code might be one of the following values:

  • 1 – A security segment is required.
  • 2 – A user ID is required.
  • 3 – A RACF® group name is required.
  • 4 – A UTOKEN is required.
  • 5 – A TPIPE name is required.
  • 6 – A system error occurred in RACF.
  • 7 – The RACF profile for the USERID is not in RACF database.
  • 8 – An authorized user ID is required.
  • 9 – A valid TPIPE name is required.

For diagnostic information about the sense code (sensecode) and OTMA reason code (otmareasoncode) values of the NAK error, see the IMS Messages and Codes information.