Coding a NAK message to discard the callout message and end RESUME TPIPE call

To code a NAK message that directs OTMA to discard the rejected synchronous callout message and end the RESUME TPIPE call:

  1. Specify N in the IRM_F4 field
  2. Optional: Include an extended error code by specifying the following:
    • IRM_F0 = X'10'
    • IRM_NAK_RSNCDE = A two-byte hexadecimal extended error code

    The extended error code is returned to the IMS application in the AIBERRXT field of the AIB of the ICAL call.

Upon receiving this NAK message, OTMA issues to the IMS application program a return code of X'100' and a reason code of X'108'.

If the NAK is for an asynchronous output message, the asynchronous output is returned to the tpipe hold queue.