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 IBM MQ Support » Retrieve entire msg, where msg length is > buf size

Post new topic  Reply to topic
 Retrieve entire msg, where msg length is > buf size « View previous topic :: View next topic » 
Author Message
kforster
PostPosted: Sat Jul 02, 2005 7:59 pm    Post subject: Retrieve entire msg, where msg length is > buf size Reply with quote

Newbie

Joined: 02 Jul 2005
Posts: 3
Location: Melbourne, Australia

I need to be able to retrieve a physical message that varies in size, anywhere from 2k through to 16k. However, the
maximum buffer I can specify is 4k (application limitation). The message is put as a single physical message,
MQMD_VERSION_1. So MQMF_SEGMENTATION_ALLOWED is not specified.

I know I can use MQGMO_ACCEPT_TRUNCATED_MSG, however I need to receive the entire message. Is it possible to receive the
entire message in 2k chunks by performing repeated MQGET calls and specifying an Offset ? When I try, I get a failure
with a reason code of 2036 (not open for browse).
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Sat Jul 02, 2005 8:23 pm    Post subject: Re: Retrieve entire msg, where msg length is > buf size Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

kforster wrote:
Is it possible to receive the
entire message in 2k chunks by performing repeated MQGET calls and specifying an Offset ?

Not possible.

If the conditions you specify are true, you are stuck. The 2 applications cannot MQ directly to each other. Either the sending app will have to manually chunck up the message for you, or you will have to introduce an app in the middle that will do it for you if the sending app can't/won't change. WB-IMB would be a good solution for the middle app if you have it, or you can write your own little utility app.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
MucheIsMyHero
PostPosted: Sun Jul 03, 2005 10:59 am    Post subject: Reply with quote

Novice

Joined: 29 Jun 2005
Posts: 14

Just curious... why the 4k application limitation?
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 IBM MQ Support » Retrieve entire msg, where msg length is > buf size
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.