2104 (0838) (RC2104): MQRC_UNKNOWN_REPORT_OPTION

Explanation

An MQPUT or MQPUT1 call was issued, but the Report field in the message descriptor MQMD contains one or more options that are not recognized by the local queue manager. The options are accepted.

The options that cause this reason code to be returned depend on the destination of the message; see the description of REPORT in Report options and message flags for more information.

Completion code

MQCC_WARNING

Programmer response

If this reason code is expected, no corrective action is required. If this reason code is not expected, do the following:
  • Ensure that the Report field in the message descriptor is initialized with a value when the message descriptor is declared, or is assigned a value prior to the MQPUT or MQPUT1 call.
  • Ensure that the report options specified are valid; see the Report field described in the description of MQMD in MQMD - Message descriptor for valid report options.
  • If multiple report options are being set by adding the individual report options together, ensure that the same report option is not added twice.
  • Check that conflicting report options are not specified. For example, do not add both MQRO_EXCEPTION and MQRO_EXCEPTION_WITH_DATA to the Report field; only one of these can be specified.