Author |
Message
|
Remco |
Posted: Thu Dec 04, 2003 5:06 am Post subject: EBCDIC to ASCII Conversion |
|
|
Acolyte
Joined: 19 Mar 2002 Posts: 68 Location: Capelle aan den IJssel (Rotterdam)
|
Hi all,
I have a QMGR (CCSID 1140) ON Z/OS and one (CCSID 819) on AIX. I'm trying to send messages from Z/OS to AIX using a sender channel with "covert by sender" set to YES.
My problem is that no conversion is done at all. Now I'm wondering if this could be due to a mismatch of CCSID's. Could someone tell me this or point me in another possible direction.
Thank You all
Remco |
|
Back to top |
|
 |
mrlinux |
Posted: Thu Dec 04, 2003 5:17 am Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
Are you setting the MQMD.format to MQSTR ??? If you arent setting this the channel will not convert the message _________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries |
|
Back to top |
|
 |
Remco |
Posted: Thu Dec 04, 2003 5:28 am Post subject: |
|
|
Acolyte
Joined: 19 Mar 2002 Posts: 68 Location: Capelle aan den IJssel (Rotterdam)
|
mrlinux,
the MQMD.format is indeed set to MQSTR. Forgot to metion it in my original post.
thanks |
|
Back to top |
|
 |
mrlinux |
Posted: Thu Dec 04, 2003 6:12 am Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
Did you set the 8 char field to MQSTR + 3 space characters ???? _________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries |
|
Back to top |
|
 |
kman |
Posted: Thu Dec 04, 2003 8:05 pm Post subject: |
|
|
Partisan
Joined: 21 Jan 2003 Posts: 309 Location: Kuala Lumpur, Malaysia
|
Do you need to set that?
The data conversion should be done on the receiving end, whenever possible. This is because only the receving end knows what platform it is on. So the convert should be done at MQGET. Use MQGMO_CONVERT option. The channel conversion is only use when one of the platform (the receiving end) could not do the conversion. Otherwise, it is best practice to do it at the GET. Also it requires that the format use is all characters - MQFMT_STRING. If you are going to use the channel to convert, both sending and receiving channel must have CONVERT(YES).
This auto conversion is done only if you set the sending format to the built in format such as, MQFMT_STRING
Have you tried running the sample put and get program? |
|
Back to top |
|
 |
Remco |
Posted: Mon Dec 15, 2003 8:01 am Post subject: |
|
|
Acolyte
Joined: 19 Mar 2002 Posts: 68 Location: Capelle aan den IJssel (Rotterdam)
|
I'm sorry for my late reaction, but I have sorted it out days ago. Thanks everybody for the effort.
Remco |
|
Back to top |
|
 |
RogerLacroix |
Posted: Mon Dec 15, 2003 10:54 pm Post subject: |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
|
Back to top |
|
 |
|