Posted: Fri Jun 03, 2005 7:45 am Post subject: Urgent: Invalid Character after MQRFH header.
Apprentice
Joined: 01 Jun 2004 Posts: 48
Hi All,
I am attaching an MQRFH header to an XML msg using control center(v2.1 CSD07). A dot (hex value 00) is appearing in the msg after the MQRFH header and before the msg data. It is required that the dot be replaced by a blank space.
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
Quote:
It is required that the dot be replaced by a blank space.
Why. You may break the format of the RFH if you do.
Quote:
The length in bytes of NameValueString is equal to StrucLength minus MQRFH_STRUC_LENGTH_FIXED. To avoid problems with data conversion of the user data in some environments, it is recommended that this length should be a multiple of four. NameValueString must be padded with blanks to this length, or terminated earlier by placing a null character following the last significant character in the string. The null character and the bytes following it, up to the specified length of NameValueString, are ignored.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum