Author |
Message
|
BMQUser |
Posted: Fri Dec 15, 2006 6:43 am Post subject: MQSeries and images |
|
|
Newbie
Joined: 15 Dec 2006 Posts: 3
|
I'm fairly new to MQ and would like to send images and string data from Z/OS to AIX. The string data is not a problem and very straight forward; however, I'm not sure how to send image data without having it converted. Is there something special I must do to PUT / GET raw image data wihtout any conversion? |
|
Back to top |
|
 |
Vitor |
Posted: Fri Dec 15, 2006 6:50 am Post subject: Re: MQSeries and images |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
BMQUser wrote: |
Is there something special I must do to PUT / GET raw image data wihtout any conversion? |
Put something other than "string" in the format field of the message.  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
wschutz |
Posted: Fri Dec 15, 2006 6:51 am Post subject: Re: MQSeries and images |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
Vitor wrote: |
BMQUser wrote: |
Is there something special I must do to PUT / GET raw image data wihtout any conversion? |
Put something other than "string" in the format field of the message.  |
I'd suggest MQFMT_NONE and ensure the other end doesn't specify GMO_CONVERT. _________________ -wayne |
|
Back to top |
|
 |
Vitor |
Posted: Fri Dec 15, 2006 6:53 am Post subject: Re: MQSeries and images |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
wschutz wrote: |
Vitor wrote: |
BMQUser wrote: |
Is there something special I must do to PUT / GET raw image data wihtout any conversion? |
Put something other than "string" in the format field of the message.  |
I'd suggest MQFMT_NONE and ensure the other end doesn't specify GMO_CONVERT. |
It's be my choice certainly. If the format is "none", isn't the get convert automatically not done? Irrespective of the option set? I ask for clarification & confirmation. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
tleichen |
Posted: Fri Dec 15, 2006 7:39 am Post subject: |
|
|
Yatiri
Joined: 11 Apr 2005 Posts: 663 Location: Center of the USA
|
Yes, for any type of binary data that you don't want converted, it HAS to be MQFMT_NONE. Anything else is just an accident waiting to happen.  _________________ IBM Certified MQSeries Specialist
IBM Certified MQSeries Developer |
|
Back to top |
|
 |
Nigelg |
Posted: Mon Dec 18, 2006 1:43 am Post subject: |
|
|
Grand Master
Joined: 02 Aug 2004 Posts: 1046
|
Quote: |
If the format is "none", isn't the get convert automatically not done? |
There was a recent thread which discussed this ad nauseam. The GET CONVERT is under the control of the getting application, but if the Format is MQFMT_NONE, no conversion is done. The MQGET does return MQCC_WARNING and MQRC_FORMAT_ERROR, but the msg is returned to the application exactly as it was put. _________________ MQSeries.net helps those who help themselves.. |
|
Back to top |
|
 |
|