2425 (0979) (RC2425): MQRC_TOPIC_STRING_ERROR

Explanation

On the MQOPEN or MQPUT1 call in the Object Descriptor MQOD, or on the MQSUB call in the Subscription Descriptor MQSD the resultant full topic string is not valid.

One of the following applies:
  • ObjectName contains the name of a TOPIC object with a TOPICSTR attribute that contains an empty topic string.
  • The fully resolved topic string contains the escape character '%' and it is not followed by one of the characters, '*', '?' or '%', and the MQSO_WILDCARD_CHAR option has been used on an MQSUB call.
  • On an MQOPEN, conversion cannot be performed using the CCSID specified in the MQOD structure.
  • The topic string is greater than 255 characters when using WebSphere® MQ Multicast messaging.

Completion Code

MQCC_FAILED

Programmer Response

Ensure that there are no invalid topic string characters in either ObjectString or ObjectName.

If using WebSphere MQ Multicast messaging, ensure that the topic string is less than 255 characters.