2335 (091F) (RC2335): MQRC_RFH_STRING_ERROR

Explanation

The contents of the NameValueString field in the MQRFH structure are not valid. NameValueString must adhere to the following rules:
  • The string must consist of zero or more name-value pairs separated from each other by one or more blanks; the blanks are not significant.
  • If a name or value contains blanks that are significant, the name or value must be enclosed in double quotation marks.
  • If a name or value itself contains one or more double quotation marks, the name or value must be enclosed in double quotation marks, and each embedded double quotation mark must be doubled.
  • A name or value can contain any characters other than the null, which acts as a delimiter. The null and characters following it, up to the defined length of NameValueString, are ignored.
The following is a valid NameValueString:

Famous_Words "The program displayed ""Hello World"""

Completion code

MQCC_FAILED

Programmer response

Modify the application that generated the message to ensure that it places in the NameValueString field data that adheres to the rules. Check that the StrucLength field is set to the correct value.