2013 (07DD) (RC2013): MQRC_EXPIRY_ERROR

Explanation

On an MQPUT or MQPUT1 call, the value specified for the Expiry field in the message descriptor MQMD is not valid.

[V8.0.0.4 Oct 2015]This reason code is also generated by JMS applications specifying a delivery delay value greater than either the:
  • Message expiry time specified by the application, or
  • Expiry time set by the CUSTOM(CAPEXPRY) attribute of the objects used in the resolution of the target queue or topic.

Completion Code

MQCC_FAILED

Programmer response

Specify a value that is greater than zero, or the special value MQEI_UNLIMITED.

[V8.0.0.4 Oct 2015] Ensure that the delivery delay specified by JMS applications is less than the:
  • Message expiry time specified by the application, or
  • Expiry time set by the CUSTOM(CAPEXPRY) attribute of the objects used in the resolution of the target queue or topic.