Author |
Message
|
Monk |
Posted: Sun May 13, 2007 2:14 am Post subject: AS/400 interaction |
|
|
 Master
Joined: 21 Apr 2007 Posts: 282
|
Hi All,
Do I need to set the CCSID and encoding in the MQMD , if I am sending data to a AS/400 Queue Manager from windows 2003 server ? _________________ Thimk |
|
Back to top |
|
 |
Michael Dag |
Posted: Sun May 13, 2007 3:22 am Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
I thought this was set automatically, unless you want to overwrite it with specific values...
AS/400 is EBCDIC, Windows is ASCII so convertsion will be done when the message is 'gotten' on the Windows side. _________________ Michael
MQSystems Facebook page |
|
Back to top |
|
 |
Monk |
Posted: Sun May 13, 2007 4:32 am Post subject: |
|
|
 Master
Joined: 21 Apr 2007 Posts: 282
|
yes..michael u r rite....bt i am sending messages from Windows to AS/400
.
will AS/400 do the conversion or do i need to set CCSID/Encoding explicitly from my windows application. _________________ Thimk |
|
Back to top |
|
 |
Michael Dag |
Posted: Sun May 13, 2007 5:05 am Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
set the MQMD format to string and use get on convert when getting the data on the as/400, if you are not using any 'special' characters you should be fine. _________________ Michael
MQSystems Facebook page |
|
Back to top |
|
 |
Monk |
Posted: Sun May 13, 2007 5:10 am Post subject: |
|
|
 Master
Joined: 21 Apr 2007 Posts: 282
|
What if I dont set MQMD.format to string?
Will AS/400 accept my messages?
The message is alphanumeric,no spl characters.
Thanx _________________ Thimk |
|
Back to top |
|
 |
jefflowrey |
Posted: Sun May 13, 2007 5:29 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Then MQ won't know that the data is String data, and won't know how to convert the characters. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Monk |
Posted: Sun May 13, 2007 5:40 am Post subject: |
|
|
 Master
Joined: 21 Apr 2007 Posts: 282
|
thanx..jefflowrey..
MQseries...has been most helpful to ppl...because of u...I think..one day..u will recieve an award for ur contribution to MQseries.net  _________________ Thimk |
|
Back to top |
|
 |
|