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

Post new topic  Reply to topic
 converting EBCDIC to ASCII « View previous topic :: View next topic » 
Author Message
csaunders
PostPosted: Mon May 16, 2005 8:09 am    Post subject: converting EBCDIC to ASCII Reply with quote

Acolyte

Joined: 27 Mar 2003
Posts: 64
Location: Arlington, Va

Is there a way within MQ to convert EBCDIC to ASCII data?
Back to top
View user's profile Send private message AIM Address
jefflowrey
PostPosted: Mon May 16, 2005 8:19 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Yes.

Specify the MQGMO_CONVERT option.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
csaunders
PostPosted: Mon May 16, 2005 8:33 am    Post subject: Reply with quote

Acolyte

Joined: 27 Mar 2003
Posts: 64
Location: Arlington, Va

thats it? I dont have to tell it which type of data to convert?
Back to top
View user's profile Send private message AIM Address
jefflowrey
PostPosted: Mon May 16, 2005 8:38 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You have to know and understand when and how data conversion occurs.

Fortunately for you, this is documented.

And discussed many many many times here.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
csaunders
PostPosted: Mon May 16, 2005 8:55 am    Post subject: Reply with quote

Acolyte

Joined: 27 Mar 2003
Posts: 64
Location: Arlington, Va

im not a developer just a UNIX admin with a deadline, sorry if this question was considered trival and gone over many times. I have looked thru the documentation and I guess, is this done at the API level only, or is there a object attribute which can do this?
Back to top
View user's profile Send private message AIM Address
jefflowrey
PostPosted: Mon May 16, 2005 8:59 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

The best way for this to be done is for the sending application to set the format to MQFMT_STRING and the receiving application to specify the MQGMO_CONVERT option.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon May 16, 2005 11:16 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

csaunders wrote:
thats it? I dont have to tell it which type of data to convert?

For conversion there is only one field type acceptable: String.
So no pic s9(5) comp-3 stuff.

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