Posted: Thu Dec 10, 2009 2:06 am Post subject: WebSphere MQ plug-in is unable to process non-string formatt
Novice
Joined: 27 May 2007 Posts: 22
Hi All,
I am trying to read message from MQ queue using IBM datastage.The queue is getting message from Publish subscribe application.As you know when we publish any message using Pub/Sub the MQRFH2 header will get added.
Hence getting exception WebSphere MQ plug-in is unable to process non-string formatted messages”.
The header that i am setting in publish flow is
SET OutputRoot.MQMD.Format = 'MQRFH2';
SET OutputRoot.MQRFH2.(MQRFH2.Field)Version =MQRFH_VERSION_2;
SET OutputRoot.MQRFH2.(MQRFH2.Field)Format = 'MQSTR';
SET OutputRoot.MQRFH2.(MQRFH2.Field)Encoding = InputRoot.MQMD.Encoding;
SET OutputRoot.MQRFH2.(MQRFH2.Field)CodedCharSetId = InputRoot.MQMD.CodedCharSetId;
SET OutputRoot.MQRFH2.(MQRFH2.Field)Flags = 0;
SET OutputRoot.MQRFH2.(MQRFH2.Field)NameValueCCSID = 1208;
Can any one have some clue how to do it so that datastage(ETL run process message sucessfully)
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
have you looked at the message using rfhutil before you send it to the Datastage system?
This will tell you if your message is properly constructed. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
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