Author |
Message
|
Suresh Gupta |
Posted: Wed Jan 07, 2009 8:51 am Post subject: conversion problem |
|
|
Apprentice
Joined: 29 Jun 2005 Posts: 46 Location: India
|
Hi , we have a scenario like sending message from Mainframe QM to AIX QM and both QM s are clustered, in the message data we have " | " but when it is reaching AIX Queue it is getting converted into "!" , what we can do to get the actual value at AIX queue manager,
CCSID of AIX is 819
Thanks in Advance
Suresh |
|
Back to top |
|
 |
bruce2359 |
Posted: Wed Jan 07, 2009 9:26 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Much about conversion is in the WMQ Application Programming Ref. and WMQ Application Programming Guide.
The usual options:
1. the consuming application specifies MQGMO_CONVERT
2. the SENDER channel attribute CONVERT(YES) is specified
What is the CCSID of the z/OS qmgr? _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
PeterPotkay |
Posted: Wed Jan 07, 2009 11:12 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
Your mainframe QM's CCSID is probably 500, and needs to be 037, to have this character converted properly. There are some other characters where this is an issue as well with CCSID 500.
Changing to 037 may or may not cause other conversion problems. Test, test, test.
Or stop sending | _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Jan 07, 2009 11:20 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
PeterPotkay wrote: |
Or stop sending | |
Or send the EBCDIC character that converts to the unix |.
 |
|
Back to top |
|
 |
Suresh Gupta |
Posted: Wed Jan 07, 2009 11:21 am Post subject: |
|
|
Apprentice
Joined: 29 Jun 2005 Posts: 46 Location: India
|
Z/OS QM CCSID is 500, _________________ regards,
Suresh |
|
Back to top |
|
 |
Suresh Gupta |
Posted: Wed Jan 07, 2009 11:25 am Post subject: |
|
|
Apprentice
Joined: 29 Jun 2005 Posts: 46 Location: India
|
As I said I am using cluster, so where I have to change the CONVERT (YES) attribute, as we can’t change this attribute for Dynamic cluster sender channels _________________ regards,
Suresh |
|
Back to top |
|
 |
PeterPotkay |
Posted: Wed Jan 07, 2009 11:35 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
mqjeff wrote: |
PeterPotkay wrote: |
Or stop sending | |
Or send the EBCDIC character that converts to the unix |.
 |
Jeff..... _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Jan 07, 2009 11:42 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
PeterPotkay wrote: |
Jeff..... |
I didn't say it would be easy.
Also, Suresh Gupta. DO NOT USE CONVERT(YES) ON ANY CHANNEL.
It won't solve your problem, for one. You're presumably already doing MQMGO_CONVERT, otherwise you wouldn't be getting !.
Switch to a different delimiter character or change the CCSID to 37. |
|
Back to top |
|
 |
PeterPotkay |
Posted: Wed Jan 07, 2009 12:01 pm Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
If you need to send x and conversion set up problems are causing it to arrive as y, do not start sending y!
Because one day the conversion problems will be corrected and the y you are sending all of the sudden starts showing up as z.
This is why I said be careful changing to CCSID 037. Some app may have decided to solve their problem long ago by faking out the conversion and sending the "wrong" character knowing the mis-conversion has it show up correctly. When you change CCSIDs, you break their little solution which never should have been allowed in the first place. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
|