Author |
Message
|
rvaidyan |
Posted: Wed Nov 24, 2010 8:37 am Post subject: |
|
|
Novice
Joined: 19 Nov 2010 Posts: 10
|
mqjeff,
I dont have any other sections under the variable field. I only have one section, which is the <usr> section.
Thanks
Ram |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Nov 24, 2010 5:14 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
So create a message using RFHUtil and compare it's RFH header with the one you generated. i'm sure this will get you oriented faster than our discussion here.  _________________ MQ & Broker admin |
|
Back to top |
|
 |
rvaidyan |
Posted: Wed Nov 24, 2010 5:24 pm Post subject: |
|
|
Novice
Joined: 19 Nov 2010 Posts: 10
|
Ok. As far as i know, you can write messages using RFHUTIL by either reading a text file that has RFH headers or reading another queue that has a message with RFH header.
Both the things do not work, becuase that is exactly what im trying to achieve. Also, RFH header information has "un-readable" characters because of either encoding/CCSID values.
So exactly i dont know what kind of information is in the RFH data.
Thanks
Ram |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Nov 24, 2010 5:27 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Ask some help from a JMS programmer. He'll create you a well formatted RFH message.
You do as well realize that the usr folder is only suitable for simple property - value pairs... so if your value is an xml document all relevant characters need to bee escaped... (</>)  _________________ MQ & Broker admin |
|
Back to top |
|
 |
rvaidyan |
Posted: Wed Nov 24, 2010 5:30 pm Post subject: |
|
|
Novice
Joined: 19 Nov 2010 Posts: 10
|
Ok. Lets assume he creates a RFH message and i load it into RFHUTIL tool. Still, i will not know what kind of RFH parameters was used to generate the message and not sure whether those parameters are available in RPG environment. |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Nov 24, 2010 5:32 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
rvaidyan wrote: |
Ok. Lets assume he creates a RFH message and i load it into RFHUTIL tool. Still, i will not know what kind of RFH parameters was used to generate the message and not sure whether those parameters are available in RPG environment. |
Look at the message in binary form with any other editor. RFHUtil will just be used there to verify the correctness of the header.
You're up to counting bytes in the non usr section... shouldn't be so difficult to find where the difference is...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|