Author |
Message
|
HARIVERA |
Posted: Tue Aug 20, 2013 9:19 am Post subject: MQ Client Data Conversion Question |
|
|
Newbie
Joined: 20 Aug 2013 Posts: 5
|
I have a question that I feel I should know but somehow do not
I have data sent from a z/OS system to a UNIX system with NOCONVERT option at the SENDER Channel. The data will be 'MQGET' via a Windows MQ Client API, So the data sits as Code 500. When the ServerConn gets the message, is the data converted automatically by the MQ Server server code from 500 to Windows? |
|
Back to top |
|
 |
Vitor |
Posted: Tue Aug 20, 2013 9:57 am Post subject: Re: MQ Client Data Conversion Question |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
HARIVERA wrote: |
IWhen the ServerConn gets the message, is the data converted automatically by the MQ Server server code from 500 to Windows? |
Is CONVERT an option on a SVRCONN channel?
It may be converted if the application has requested that this be done and the requirements for conversion are met. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
HARIVERA |
Posted: Tue Aug 20, 2013 10:00 am Post subject: MQ Client Data Conversion Question |
|
|
Newbie
Joined: 20 Aug 2013 Posts: 5
|
As to CONVERT on the Sender channel, no! We use that channel for other non-Client applications. and they use CONVERT on MQGET. |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Aug 20, 2013 10:10 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
So what's different in this case?
Why shouldn't the app use Convert on GET? |
|
Back to top |
|
 |
gbaddeley |
Posted: Tue Aug 20, 2013 3:07 pm Post subject: Re: MQ Client Data Conversion Question |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
HARIVERA wrote: |
I have a question that I feel I should know but somehow do not
I have data sent from a z/OS system to a UNIX system with NOCONVERT option at the SENDER Channel. The data will be 'MQGET' via a Windows MQ Client API, So the data sits as Code 500. When the ServerConn gets the message, is the data converted automatically by the MQ Server server code from 500 to Windows? |
No. Client channels (ServerConn / ClientConn) do not have a CONVERT attribute. The message needs to be in MQFMT_STRING format and you need to request conversion using the MQGMO_CONVERT option on the call to MQGET. _________________ Glenn |
|
Back to top |
|
 |
|