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 » ASCII to EBCDIC

Post new topic  Reply to topic
 ASCII to EBCDIC « View previous topic :: View next topic » 
Author Message
nik_iway
PostPosted: Tue Oct 25, 2005 1:12 am    Post subject: ASCII to EBCDIC Reply with quote

Centurion

Joined: 21 Jul 2005
Posts: 115

Hi All,
I am facing Problems form ASCII to EBCDIC Conversion. Do I need to explicitly specify the CCSID values in the MQPUT call or

By Specifying the MQFMT_STRING in MQMD and Using CONVERT Option in the MQGMO Does MQSeries Automatically converts...

Waiting your reply
Regards
Nik
Back to top
View user's profile Send private message
wschutz
PostPosted: Tue Oct 25, 2005 1:25 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

When you MQPUT the message, MQ will placed into the CCSID field the proper value for the platform you created the message on. Its your responsibility to set the MQMD.FORMAT to MQFMT_STRING.

If you do that, then when you GET the message, you must specify MQGMO_CONVERT on the Get command, and MQ will automatically conver the message data from ASCII to EBCDC (or reverse if the message is moving from mainframe to distributed).

I'm sure that this has been discussed before.
(Hopsala, have you a proposed a "data conversion" thread )?
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
hopsala
PostPosted: Tue Oct 25, 2005 4:06 am    Post subject: Reply with quote

Guardian

Joined: 24 Sep 2004
Posts: 960

wschutz wrote:
I'm sure that this has been discussed before.

Sure has - EBCDIC to ASCII conversion - It even has your name on it in the bottom... nik_iway - next time please use the search button before you post, it has all been answered in the past.

wschutz wrote:
(Hopsala, have you a proposed a "data conversion" thread )?

I haven't, but I shall - will probably add it to the "common API questions" (along with corrlId, grouping etc), cheers!

If you wish to sponsor it, you're more than welcome
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 » ASCII to EBCDIC
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.