2011 (07DB) (RC2011): MQRC_DYNAMIC_Q_NAME_ERROR

Explanation

On the MQOPEN call, a model queue is specified in the ObjectName field of the ObjDesc parameter, but the DynamicQName field is not valid, for one of the following reasons:
  • DynamicQName is completely blank (or blank up to the first null character in the field).
  • Characters are present that are not valid for a queue name.
  • An asterisk is present beyond the 33rd position (and before any null character).
  • An asterisk is present followed by characters that are not null and not blank.

This reason code can also sometimes occur when a server application opens the reply queue specified by the ReplyToQ and ReplyToQMgr fields in the MQMD of a message that the server has just received. In this case the reason code indicates that the application that sent the original message placed incorrect values into the ReplyToQ and ReplyToQMgr fields in the MQMD of the original message.

Completion Code

MQCC_FAILED

Programmer response

Specify a valid name.