Author |
Message
|
lnm |
Posted: Wed Mar 13, 2002 12:20 pm Post subject: |
|
|
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 |
|
 |
muralidhar |
Posted: Wed Mar 13, 2002 1:19 pm Post subject: |
|
|
 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 |
|
 |
StefanSievert |
Posted: Wed Mar 13, 2002 1:34 pm Post subject: |
|
|
 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 |
|
 |
lnm |
Posted: Thu Mar 14, 2002 8:18 am Post subject: |
|
|
Apprentice
Joined: 12 Mar 2002 Posts: 43 Location: Florida
|
|
Back to top |
|
 |
eeeeej |
Posted: Mon Jul 28, 2003 12:39 pm Post subject: |
|
|
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 |
|
 |
|