|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
ASCII to EBCDIC |
« View previous topic :: View next topic » |
Author |
Message
|
nik_iway |
Posted: Tue Oct 25, 2005 1:12 am Post subject: ASCII to EBCDIC |
|
|
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 |
|
 |
wschutz |
Posted: Tue Oct 25, 2005 1:25 am Post subject: |
|
|
 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 |
|
 |
hopsala |
Posted: Tue Oct 25, 2005 4:06 am Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|