ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ API Support » Generate RFH2 header using RPGLE

Post new topic  Reply to topic Goto page Previous  1, 2
 Generate RFH2 header using RPGLE « View previous topic :: View next topic » 
Author Message
rvaidyan
PostPosted: Wed Nov 24, 2010 8:37 am    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Wed Nov 24, 2010 5:14 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
rvaidyan
PostPosted: Wed Nov 24, 2010 5:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Wed Nov 24, 2010 5:27 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
rvaidyan
PostPosted: Wed Nov 24, 2010 5:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Wed Nov 24, 2010 5:32 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » IBM MQ API Support » Generate RFH2 header using RPGLE
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.