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 » General IBM MQ Support » Getting non-readable characters on mainframe queue

Post new topic  Reply to topic
 Getting non-readable characters on mainframe queue « View previous topic :: View next topic » 
Author Message
Ajit
PostPosted: Thu Mar 31, 2005 4:36 pm    Post subject: Getting non-readable characters on mainframe queue Reply with quote

Newbie

Joined: 14 Apr 2004
Posts: 8

We have a point-2-point connection of a distributed queue manager with mainframe queue manager. No WMQI invlolved.

The putting application (VB6) is setting the CCSID as 500 and encoding as 785. Still, when the message reaches the MF queue, the data is all in non-readable characters. We tried with the CONVERT parameter of the sender channel with YES as well as NO. In both the cases, result was the same.

Any ideas what can be done in such a case ?

Thanks.
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Thu Mar 31, 2005 5:30 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Well, the first thing I would tend to do is refer back to the manuals to make sure I understood what setting CONVERT on the channel did or did not do.

Then I would make sure that I understood Conversion to know what data will be converted, and what data won't be converted.

And then I would change the code to indicate that the data is String data, and to specify CONVERT on the Get rather than in the Channel.

But that last bit is only useful if you've done the first bit already.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
kman
PostPosted: Thu Mar 31, 2005 10:59 pm    Post subject: Reply with quote

Partisan

Joined: 21 Jan 2003
Posts: 309
Location: Kuala Lumpur, Malaysia

And I would not, normally, set the CCSID and encoding on my put.
Back to top
View user's profile Send private message Yahoo Messenger
Michael Dag
PostPosted: Fri Apr 01, 2005 3:56 am    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

Ajit, did your resolve this by now?
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
jfluitsm
PostPosted: Tue Apr 05, 2005 12:37 am    Post subject: Reply with quote

Disciple

Joined: 24 Feb 2002
Posts: 160
Location: The Netherlands

The ccsid on the put must reflect the charset used to create the message. For VB6 I believe this is utf8 (ccsid 1208) otherwise it is Windows Latin 1 (ccsid 5348).
What you did is creating a message in one of the above charsets but telling MQ that it is in EBCDIC.

The conversion should be done preferably on the receiving site using the MQGMO_CONVERT option or on the channel. The message itself must be all text and the MQMD.Format must be MQFMT_STRING in order to get the conversion working.

For your mesage the encoding doesn't play a role, in general ther is no need to change the encoding.
_________________
Jan Fluitsma

IBM Certified Solution Designer WebSphere MQ V6
IBM Certified Solution Developer WebSphere Message Broker V6
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Getting non-readable characters on mainframe queue
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.