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 » IBM MQ Telemetry / Low Latency Messaging / Everyplace » Getting message as binary array from a queue

Post new topic  Reply to topic
 Getting message as binary array from a queue « View previous topic :: View next topic » 
Author Message
bsn
PostPosted: Wed Jun 14, 2006 3:24 am    Post subject: Getting message as binary array from a queue Reply with quote

Newbie

Joined: 01 Jun 2006
Posts: 5
Location: Bangalore

Hi All,

I am trying to get a message from queue in banary array format.
Can you please suggest how to specify options for
1) MQGMO
2) MQMD.Format

I tried with MQGMQ.Options = MQGMO_WAIT + MQGMO_CONVERT;
MQMD.Format = MQFMT_NONE;
and MQFMT_ IMS_VAR_STRING ;
It is not working.
Please help me
Thanks in Advance.
Back to top
View user's profile Send private message
Mr Butcher
PostPosted: Wed Jun 14, 2006 5:21 am    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

if you want to get in "binary" format, why do you specify "convert"? if you want to get the message from the queue "as is" then omit the convert, just use mqget. whether you want to wait or not - that depends on your application design.
you do not have to specify mqmd.format, this is an output field for the mqget call.
you should look at the samples, there are some for getting messages. the mqmd and the gmo and all the other api stuff is described in application programmers reference and application programmers guide.
_________________
Regards, Butcher
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 » IBM MQ Telemetry / Low Latency Messaging / Everyplace » Getting message as binary array from a queue
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.