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 » Data Conversion

Post new topic  Reply to topic
 Data Conversion « View previous topic :: View next topic » 
Author Message
lnm
PostPosted: Wed Mar 13, 2002 12:20 pm    Post subject: Reply with quote

Apprentice

Joined: 12 Mar 2002
Posts: 43
Location: Florida

I'm a new MQSeries administrator. My developers are asking about data conversion. I know you can use the sender channel. But my training material indicates it preferable to use the MQGMO_CONVERT option on the MQGET call. Do I have to make any changes in the /var/mqm/conv/table/ccsid.tbl. They want to do ascii to ebcdic and visa versa. This is between AIX and MVS.
Any help is appreciated.
Back to top
View user's profile Send private message
muralidhar
PostPosted: Wed Mar 13, 2002 1:19 pm    Post subject: Reply with quote

Acolyte

Joined: 28 Feb 2002
Posts: 50

We are converting from ascii to ebcdic and vise versa on windows and os/390. All you just need to do is mqgmo_convert on the mqget call. The other option is converting at either receiving on sending channel but it effects performance. Convertion tables are not required to be modified for ascii to ebcdic
Back to top
View user's profile Send private message Send e-mail
StefanSievert
PostPosted: Wed Mar 13, 2002 1:34 pm    Post subject: Reply with quote

Partisan

Joined: 28 Oct 2001
Posts: 333
Location: San Francisco

Please note: This only works if your message payload (the application data) is in character format and the field MQMD.Format has been set to MQFMT_STRING by the putting application (in addition to the getting application using MQGMO_CONVERT).
If you have binary data in your messages, neither conversion on MQGET nor CONVERT(YES) on the sender channel will work unless you have written a data conversion exit, that knows about the message layout.
Stefan

_________________
Stefan Sievert
IBM Certified * WebSphere MQ
Back to top
View user's profile Send private message
lnm
PostPosted: Thu Mar 14, 2002 8:18 am    Post subject: Reply with quote

Apprentice

Joined: 12 Mar 2002
Posts: 43
Location: Florida

Thanks everyone!
Back to top
View user's profile Send private message
eeeeej
PostPosted: Mon Jul 28, 2003 12:39 pm    Post subject: Reply with quote

Newbie

Joined: 06 Nov 2002
Posts: 4

Does the statement (below) mean that any binary data in the message will cause the entire conversion to fail? e.g. in the EBCDIC message of 0x401B, 0x40 won't convert to 0x20, because 0x1B can't be converted to ASCII?

Quote:
If you have binary data in your messages, neither conversion on MQGET nor CONVERT(YES) on the sender channel will work unless you have written a data conversion exit, that knows about the message layout
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 » General IBM MQ 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.