Posted: Wed Aug 11, 2004 4:59 am Post subject: CCSID problem
Voyager
Joined: 01 May 2004 Posts: 96
I have a message from AS400 to Unix,with character set id set as MQRFH2.CodedCharSetId = 37(The MQMD.CodedCharSetId is set to 819 by our exit). I tried converting this to 819 using the convert option in MQInput node. But this is not working !! Can anyone suggest a way to do this. I don't want to code the conversion logic in ESQL.
I think the broker documentation is a little confused on this point.
Selecting convert in the input node is the same as using the MQGMO_CONVERT option in an MQGET.
So if the Format field is a built MQ format, MQ will do an automatic conversion of the message payload from the CCSID in the last MQ header to the CCSID specified in the input node. It will do the reverse when putting a message from the flow.
However if you are going to parse your message in XML or MRM domains then these will convert the message to the internal broker CCSID (unicode) as they parse it anyway.
It will then be returned to it's original format (if the MQMD remains unchanged) when it 's put again.
So the only point in doing convert on the input node is if you want to handle your message as a BLOB.
MQ can only convert if the Format field in the MQMD is a built in MQ format.
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