Posted: Fri Jun 04, 2010 7:26 am Post subject: Passing MQRFH2 along with BLOB message
Newbie
Joined: 04 Jun 2010 Posts: 2
MF1 - Message flow 1
MF2 - Message flow 2
I have a requirement to convert my message to blob in MF1.
In MF2 i use MRM parser and retrive my message back to (non-xml) MRM format.
The MRM message is getting created successfully in MF2, if MQRFH2 is deleted and send via MF1. However if MQRFH2 is not deleted in MF1 am getting 'unknownparsernext' in MF2 and the message still persist as BLOB.
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
Can you post the value of your MQMD.Format
If you delete the RFH2 header, you have to update the MQMD to tell WMQ that there are no more headers after the MQMD. _________________ 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.
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
What have you set the Format parameter in the RFH2 Header to?
This will tell WMQ what the format of the NEXT header or data is.
You should set it to MQSTR so the WMQ will interpret the data which comes next as not a header.
There are numerous posts in this forum about RFH2 headers. _________________ 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 generally get "unknownparsernext " if theres no specification of message format. You have set it to BLOB without specifying to MB that it has to parse it as BLOB and hence that issue of unknownparser.
Just from the top my head : To do this transformation why is rfh2 being used when MB itself provides a ton of easier ways!! _________________ ----------------------------
IBM MQ v6.0 Sys Admin
IBM MBv6.0 Sol Desgnr
----------------------------------------------------
By the Mountain Side.. looking at the Great Divide
----------------------------------------------------
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