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 Java / JMS » having problem with CCSID on win2K and AS400

Post new topic  Reply to topic
 having problem with CCSID on win2K and AS400 « View previous topic :: View next topic » 
Author Message
brownma58
PostPosted: Tue Jun 25, 2002 2:41 pm    Post subject: having problem with CCSID on win2K and AS400 Reply with quote

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
View user's profile Send private message Visit poster's website
nimconsult
PostPosted: Wed Jun 26, 2002 12:42 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
brownma58
PostPosted: Wed Jun 26, 2002 5:45 am    Post subject: How do change Queue's using Admin tool to eliminate MQRFH2 Reply with quote

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
View user's profile Send private message Visit poster's website
nimconsult
PostPosted: Wed Jun 26, 2002 6:21 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
brownma58
PostPosted: Wed Jun 26, 2002 7:41 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
techno
PostPosted: Fri Oct 21, 2005 11:03 am    Post subject: Reply with quote

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
View user's profile Send private message
EddieA
PostPosted: Fri Oct 21, 2005 11:18 am    Post subject: Reply with quote

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

MQSeries.net Forum Index » IBM MQ Java / JMS » having problem with CCSID on win2K and AS400
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.