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 » data conversion

Post new topic  Reply to topic
 data conversion « View previous topic :: View next topic » 
Author Message
blane99
PostPosted: Thu Aug 07, 2003 8:38 am    Post subject: data conversion Reply with quote

Apprentice

Joined: 12 Jun 2002
Posts: 41

We have a problem with data conversion from a clients os/390 CCSID 500 to sun CCSID 819. The client cannot change their CCSID so they have convert yes on their sdr channel. Format is set to MQFMT_STRING. Some characters are not being converted correctly (like !). Our developers are using JMS. I have 2 questions:

1. Besides an exit what else can be done ?

2. Does JMS have the functionality for GET with convert?

Any help much appreciated

Bob
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Thu Aug 07, 2003 6:02 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

The real solution would be to set the os/390 CCSID to 037 (international EBCIDIC) instead of 500 (US EBCIDIC).

Another option is to figure out what character on the mainframe would get converted to !, and then use that instead of the ! on the PUT. (Ugly, but possible).

Another option is to tell the apps to not use the "!". A cop-out, but a solution.

JMS does support convert on GET. We send messages from the mainframe to JMS apps all the time. WITHOUT convert turned on for the channels.

The Convert Option should not be used on the channels. It is leftover from early MQ days when the possability existed of the receiving queue manager not supporting conversion, thus requiring the message to be converted before sending it. Nowadays all QMs will allow their apps to convert, which means there is no need for the overhead of channels doing the converts.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
blane99
PostPosted: Fri Aug 08, 2003 5:13 am    Post subject: data conversion Reply with quote

Apprentice

Joined: 12 Jun 2002
Posts: 41

Peter

Thanks very much for feedback. Unfortunately, the other qmgr is a vendor who has many other channels to clients like us and they will not cahnge their CCSID nor change the content of their message.

Bob
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Fri Aug 08, 2003 5:16 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

you're stuck with the exit solution

we had the "!" issue a while back. Eventually we will switch to 037. Luckily, the app was accomadating in our case and was able to substitute some other character for the "!".
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
blane99
PostPosted: Fri Aug 08, 2003 7:15 am    Post subject: data conversion Reply with quote

Apprentice

Joined: 12 Jun 2002
Posts: 41

Peter

Could I simply change the CCSID on the sun qmgr to be 500 to match the mframe and be done with it? There are no other apps on the sun side.

Bob
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Fri Aug 08, 2003 7:20 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

500 is an EBCIDIC code page, and I would bet that your SUN app is expecting the data in an ASCII set.

So no, that won't work. The sun app would barf on all that EBCIDIC data. At the hexedecimal level, it would be completly wrong.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
blane99
PostPosted: Fri Aug 08, 2003 7:22 am    Post subject: data conversion Reply with quote

Apprentice

Joined: 12 Jun 2002
Posts: 41

Peter

Thanks again
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 » data conversion
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.