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 » CCSID issues when receiving messages

Post new topic  Reply to topic
 CCSID issues when receiving messages « View previous topic :: View next topic » 
Author Message
anilm
PostPosted: Thu Mar 27, 2003 7:03 pm    Post subject: CCSID issues when receiving messages Reply with quote

Newbie

Joined: 20 Mar 2003
Posts: 7

Hi All

Below is a description of our project, followed by the problem.

Brief Description:
In our project, we have a MQSI flow deployed on Sun Solaris (UNIX) environment that sends messages to a Java adapter( a java program) residing on AS/400. The Java adapter parses the received message, extracts a service request, gets the request data from DB2 and then sends a message back to the MQSI with the requested data in the form of a XML String. The data contains both character and numeric.

From the MQSI on Solaris, we are adding a RFH2 header to the message before it is sent to the AS/400 box. The Java adapter ignores the header, and simply adds the same header to the reply message.

Problem:
When MQSI Request flow sends the request message to adapter it sets the CCSID to 819. Java Adapter is able to read the message and can parse it as well. After processing the request, Java adapter sends the response back to MQSI Reply flow but with CCSID of 32 (Native to MQ Queue manager on AS/400), and when MQSI reply flow receives the response and tries to parse it for getting business specific information, the flow throws parsing exception.

But, currently we have made a temporary fix. That is, in the Java adapter code, we are setting(hardcoding) the CCSID to 819 before PUTting the message. The MQSI flow will then not throw any exceptions! And we want to avoid hardcoding, if at all possible.

We have tried converting the message on request and reply flows and also tried conversion on MQ channels but all options have failed.

We have tried the following without any success.
Set CCSID on both sides to respective codepages, (all sorts of combinations)
Changed the encoding, etc,
Tried keeping CONVERT "ON".
Set Format to String.

Are we missing something? Can you please help us solve this?

Thanks in advance.

Anil.
Back to top
View user's profile Send private message
tillywern
PostPosted: Mon Mar 31, 2003 10:10 am    Post subject: CCSIDs Reply with quote

Centurion

Joined: 28 Jan 2003
Posts: 109
Location: Colorado

Unless you really don't want to.... Make sure that the get with convert option is specified in your MQInput node. This should force MQSeries to do the convert for MQSI on the return.

It sounds like you have looked at the message when sitting on the Solaris queu emanger and verified the CCSID that was sent from AS400... I suppose that it is possible that a conversion page from 32 -> 819.. In this case MQ would not be able to transalate the message... If it were a missing conversion page then I would expect a error message to be thown at the application layer or by MQ.

Just a thought.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
anilm
PostPosted: Tue Apr 01, 2003 5:04 am    Post subject: Reply with quote

Newbie

Joined: 20 Mar 2003
Posts: 7

yes, we have lookied at the conversion pages and they are there.....and we have tried with channel conversion "on" in the solaris side.....still does not beat the problem.

cant see what we are not doing logically!

anil.
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 API Support » CCSID issues when receiving messages
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.