Author |
Message
|
Vin |
Posted: Thu May 02, 2002 11:14 am Post subject: |
|
|
Master
Joined: 25 Mar 2002 Posts: 212 Location: India
|
Do I need to change the CCSID attribute if I'm exchanging messages between Unix and a Mainframe machine? I'm running MQSeries 5.2 on solaris. Both the machines are in US. Thanks.
|
|
Back to top |
|
 |
mrlinux |
Posted: Thu May 02, 2002 11:25 am Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
No you dont want to change CCSID, the mainframe should be 500 and the Unix will
be 819 or 1051 i think
_________________
Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
[ This Message was edited by: mrlinux on 2002-05-02 12:25 ] |
|
Back to top |
|
 |
Vin |
Posted: Thu May 02, 2002 12:34 pm Post subject: |
|
|
Master
Joined: 25 Mar 2002 Posts: 212 Location: India
|
Thanks. When does it make sense to change the CCSID? Just wanted to get this concept cleared. |
|
Back to top |
|
 |
StefanSievert |
Posted: Thu May 02, 2002 1:27 pm Post subject: |
|
|
 Partisan
Joined: 28 Oct 2001 Posts: 333 Location: San Francisco
|
Vin,
you might get conversion issues with CCSID 500 on the mainframe if you start dealing with messages that contain certain 'special' characters, like '[', ']' and so on, as they usually are contained in XML messages. Codepage 37 turns out to be suitable, but you probably don't want to change anything unless you encounter conversion problems.
My 2 cents,
Stefan
_________________ Stefan Sievert
IBM Certified * WebSphere MQ |
|
Back to top |
|
 |
Vin |
Posted: Mon May 06, 2002 8:34 am Post subject: |
|
|
Master
Joined: 25 Mar 2002 Posts: 212 Location: India
|
Where do I change the CCSID if at all I wanted to? Thanks. |
|
Back to top |
|
 |
mrlinux |
Posted: Mon May 06, 2002 8:39 am Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
well from runmqsc it's
alt qmgr ccsid(xxx)
_________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries |
|
Back to top |
|
 |
DRoberts |
Posted: Mon May 06, 2002 10:47 am Post subject: |
|
|
 Novice
Joined: 30 Apr 2002 Posts: 14
|
On OS390, you would change the QMCCSID parameter in your ZPARMS. That is in the member CSQ4ZPRM in the SCSQPROC pds.
_________________ Deborah Roberts
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries |
|
Back to top |
|
 |
Vin |
Posted: Fri May 10, 2002 10:01 am Post subject: |
|
|
Master
Joined: 25 Mar 2002 Posts: 212 Location: India
|
Do I change the CCSID on both the solaris and the mainframe machines or is it enough if I just do that on my side (solaris)? What is the value I would set on both the solaris and the mainframe machine? I'm using this character | in the request and the response contains all ! characters allthough they are sending |. Thanks for all the help. |
|
Back to top |
|
 |
StefanSievert |
Posted: Fri May 10, 2002 11:02 am Post subject: |
|
|
 Partisan
Joined: 28 Oct 2001 Posts: 333 Location: San Francisco
|
Vin,
your problem will most likely vansih, if you can get your mainframe MQ admin to alter the QMCCSID parameter of the macro CSQ6SYSP to specify 37.
If you want to test it before you change the QMgr, the people who put the message in the mainframe program can MOVE 37 TO MQMD-CODEDCHARSETID (assuming COBOL) before putting the message. If you see the pipe symbol on your Solaris box, a general change of the QMgr CCSID might make sense.
And no, you won't have to change both ends. 819 on Solaris should be just fine for what you need.
Hope that helps,
Stefan
_________________ Stefan Sievert
IBM Certified * WebSphere MQ |
|
Back to top |
|
 |
|