Posted: Wed May 14, 2008 10:58 pm Post subject: BLOB to CHAR. Simple question?
Acolyte
Joined: 14 Jul 2006 Posts: 68 Location: Germany
Hi all,
I have a very simple problem but I'm not able to solve. With RFHUtil I put a message with text "This is a test" into a queue. The MQInputNode is configured with message domain BLOB. Within a ComputeNode I want to have the text in a CHAR variable. I tried the following:
Code:
DECLARE theText CHAR;
SET theText = CAST(InputRoot."BLOB"."BLOB" as CHAR CCSID InputRoot.MQMD.CodedCharSetId);
But I only get the following string:
X'5468697320697320612074657374'
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