Author |
Message
|
brownma58 |
Posted: Tue Jun 25, 2002 2:41 pm Post subject: having problem with CCSID on win2K and AS400 |
|
|
Newbie
Joined: 21 Jun 2002 Posts: 3 Location: Concord, OH
|
Following setup:
MQ 5.2.1 on win2k sending to AS400. When I send the AS400 the message, it receives the following:
RFH MQSTR³_½ª¾µÂ¾óµóµéCREDITCHECK~10351~204300~20020625141628~8.64000~
CCSID is set for 1208 on my side for the JMSConnectionFactory, and the queue, with Data Conversion on the send channel set to "yes".
what is the junk that is getting in the begining of the message? _________________ Matthew A. Brown
Avery Dennison Corp.
Websphere Developer |
|
Back to top |
|
 |
nimconsult |
Posted: Wed Jun 26, 2002 12:42 am Post subject: |
|
|
 Master
Joined: 22 May 2002 Posts: 268 Location: NIMCONSULT - Belgium
|
The junk at the beginning of your message is a MQRFH2 structure, which is automatically prepended to your message by the JMS implementation of MQ Series. For details about the content of the structure, read the Application Programming Reference manual.
By the way, you will also see that the message format in the MQMD is RFH.
If you want to skip the header, there is an attribute in the RFH which contains the length of the structure. _________________ Nicolas Maréchal
Senior Architect - Partner
NIMCONSULT Software Architecture Services (Belgium)
http://www.nimconsult.be |
|
Back to top |
|
 |
brownma58 |
Posted: Wed Jun 26, 2002 5:45 am Post subject: How do change Queue's using Admin tool to eliminate MQRFH2 |
|
|
Newbie
Joined: 21 Jun 2002 Posts: 3 Location: Concord, OH
|
I tried to test the targclient property to MQ on the sending queue(using the JMSAdmin tool). Do I need to change on other any other objects?
Thanks in advance. _________________ Matthew A. Brown
Avery Dennison Corp.
Websphere Developer |
|
Back to top |
|
 |
nimconsult |
Posted: Wed Jun 26, 2002 6:21 am Post subject: |
|
|
 Master
Joined: 22 May 2002 Posts: 268 Location: NIMCONSULT - Belgium
|
Honnestly I am not the JMS-MQ expert but I used to interact with JMS applications with this MQRFH2. This is why I was able to provide the answer to your initial question
I think that changing the "targclient" should be enough to remove the MQRFH2 header but this should be tested (please tell me I am interested in the response). _________________ Nicolas Maréchal
Senior Architect - Partner
NIMCONSULT Software Architecture Services (Belgium)
http://www.nimconsult.be |
|
Back to top |
|
 |
brownma58 |
Posted: Wed Jun 26, 2002 7:41 am Post subject: |
|
|
Newbie
Joined: 21 Jun 2002 Posts: 3 Location: Concord, OH
|
Actually- that worked(i just needed to reboot my machine). I think it didn't reload into the websphere realm.....Thanks for the help! _________________ Matthew A. Brown
Avery Dennison Corp.
Websphere Developer |
|
Back to top |
|
 |
techno |
Posted: Fri Oct 21, 2005 11:03 am Post subject: |
|
|
Chevalier
Joined: 22 Jan 2003 Posts: 429
|
How do I find the length of RFH header? I do not see it in clear text. |
|
Back to top |
|
 |
EddieA |
Posted: Fri Oct 21, 2005 11:18 am Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
Quote: |
How do I find the length of RFH header? I do not see it in clear text |
That's because it's an Integer.
The manuals do a really good job of showing you the layout of all the MQ structures. You really should try reading them sometime.
And also learn not to highjack other posts.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
|