Author |
Message
|
sam |
Posted: Wed May 08, 2002 10:35 am Post subject: |
|
|
Acolyte
Joined: 02 Apr 2002 Posts: 52
|
Our application sends a request to a mainframe application and gets messages back from it. The weird thing is when we send messages with a pipe delimiter | the response which we get is ! and exclamation. They are sending us the pipe delimited string but we are getting exclamations in return. Is this a problem with CCSID? Thanks. |
|
Back to top |
|
 |
bduncan |
Posted: Wed May 08, 2002 12:03 pm Post subject: |
|
|
Padawan
Joined: 11 Apr 2001 Posts: 1554 Location: Silicon Valley
|
Could you give a little more info about the machines? Is this Linux->OS/390, NT->AS400, etc.... Sounds like if it is an ASCII->EBCDIC issue, you should make sure you are using MQGMO_CONVERT on both the request and reply messages...
_________________ Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator |
|
Back to top |
|
 |
StefanSievert |
Posted: Wed May 08, 2002 12:29 pm Post subject: |
|
|
 Partisan
Joined: 28 Oct 2001 Posts: 333 Location: San Francisco
|
Hmmm, I would guess it is OS/390 running with CCSID 500...
That just sounds sooooooo familiar and smells like a case of altering CSQ6SYSP to specify CCSID 37 instead.
But you are right Brandon, a few more details would be helpful.
Stefan
_________________ Stefan Sievert
IBM Certified * WebSphere MQ |
|
Back to top |
|
 |
sam |
Posted: Wed May 08, 2002 1:27 pm Post subject: |
|
|
Acolyte
Joined: 02 Apr 2002 Posts: 52
|
Our machine is solaris2.8 and the remote machine is a mainframe (OS390 or OS2, not sure about this). What is this CCSID and where do I change it? What is this CCSID used for? Do I need to change the CCSID for both the machines? thanks guys!
[ This Message was edited by: sam on 2002-05-08 14:27 ] |
|
Back to top |
|
 |
sam |
Posted: Wed May 08, 2002 1:29 pm Post subject: |
|
|
Acolyte
Joined: 02 Apr 2002 Posts: 52
|
Sorry forgot to specify this. I'm using JMS to communicate the request. How do I set the convert option using JMS? |
|
Back to top |
|
 |
StefanSievert |
Posted: Wed May 08, 2002 2:04 pm Post subject: |
|
|
 Partisan
Joined: 28 Oct 2001 Posts: 333 Location: San Francisco
|
Quote: |
On 2002-05-08 14:27, sam wrote:
Our machine is solaris2.8 and the remote machine is a mainframe (OS390 or OS2, not sure about this). What is this CCSID and where do I change it? What is this CCSID used for? Do I need to change the CCSID for both the machines? thanks guys!
|
Sam,
Let's find out what your environment is that causes the problem before we try to solve the problem. Approaches will be quite different depending on whether you have an OS/2 box or a /390 as your 'mainframe'.
CCSID is the acronym for Coded Character Set IDentifier. MQ uses this message descriptor element to determine, if conversion is needed and which conversion tables to use. In your original question you used that acronym so I was assuming you knew what it was; sorry.
On your Solaris box you can start runmqsc and do a DIS QMGR CCSID to see what CCSID it is running with (presumably 819). On OS/2 the same approach works. On /390 you can get access to the info through the CSQOREXX panels , by issueing the command from a console or through submitting a batch job to invoke the CSQUTIL utility. Your mainframe admin will know what to do.
Please research and post the details.
Thanks,
Stefan
_________________
Stefan Sievert
IBM Certified * WebSphere MQ
[ This Message was edited by: StefanSievert on 2002-05-08 15:06 ] |
|
Back to top |
|
 |
sam |
Posted: Wed May 08, 2002 5:22 pm Post subject: |
|
|
Acolyte
Joined: 02 Apr 2002 Posts: 52
|
Thanks for the reply. The CCSID on solaris is infact 819. The remote machine has an OS390 on it. Now, what value do I set on my solaris machine and what value on the remote system? Where do i change the CCSID attribute? Is it through runmqsc? appreciate your help guys! |
|
Back to top |
|
 |
StefanSievert |
Posted: Thu May 09, 2002 2:18 pm Post subject: |
|
|
 Partisan
Joined: 28 Oct 2001 Posts: 333 Location: San Francisco
|
Sam,
on OS/390, the CCSID parameter is specified in the CSQ6SYSP macro, which the needs to be compiled into a load module that the queue manager reads during startup. Your mainframe admin will know what to do.
It is described in the MQ/390 System Setup Guide.
Check out this too: http://www.mqseries.net/phpBB/viewtopic.php?topic=2803&forum=12
Cheers,
Stefan
_________________ Stefan Sievert
IBM Certified * WebSphere MQ |
|
Back to top |
|
 |
|