ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General Discussion » MQSeries and images

Post new topic  Reply to topic
 MQSeries and images « View previous topic :: View next topic » 
Author Message
BMQUser
PostPosted: Fri Dec 15, 2006 6:43 am    Post subject: MQSeries and images Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Fri Dec 15, 2006 6:50 am    Post subject: Re: MQSeries and images Reply with quote

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
View user's profile Send private message
wschutz
PostPosted: Fri Dec 15, 2006 6:51 am    Post subject: Re: MQSeries and images Reply with quote

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
View user's profile Send private message Send e-mail AIM Address
Vitor
PostPosted: Fri Dec 15, 2006 6:53 am    Post subject: Re: MQSeries and images Reply with quote

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
View user's profile Send private message
tleichen
PostPosted: Fri Dec 15, 2006 7:39 am    Post subject: Reply with quote

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
View user's profile Send private message
Nigelg
PostPosted: Mon Dec 18, 2006 1:43 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » MQSeries and images
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.