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 » Not able to browse a Q

Post new topic  Reply to topic
 Not able to browse a Q « View previous topic :: View next topic » 
Author Message
itsme_001
PostPosted: Thu Feb 19, 2009 11:35 pm    Post subject: Not able to browse a Q Reply with quote

Disciple

Joined: 02 Feb 2009
Posts: 157

here is the error msg I'm getting while trying to browse a local Q


MQOPEN - 'MQ_QMGR

MQGET 1, failed with CompCode:1 Reason:2080
MQCLOSE
MQDISC

Is it anything to do with the settings of Local Q authorities?
Back to top
View user's profile Send private message
zpat
PostPosted: Fri Feb 20, 2009 12:08 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Why don't you look up the reason code?

Quote:
Reason Code 2080 x'820'
MQRC_TRUNCATED_MSG_FAILED

On an MQGET call, the message length was too large to fit into the supplied buffer. The MQGMO_ACCEPT_TRUNCATED_MSG option was not specified, so the message has not been removed from the queue. If this was a browse operation, the browse cursor remains where it was before this call, but if MQGMO_BROWSE_FIRST was specified, the browse cursor is positioned logically before the highest-priority message on the queue. The DataLength field is set to the length of the message before truncation, the Buffer parameter contains as much of the message as fits, and the MQMD structure is filled in.

Corrective action: Supply a buffer that is at least as large as DataLength, or specify MQGMO_ACCEPT_TRUNCATED_MSG if not all of the message data is required.
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Feb 20, 2009 12:11 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

While you're failing to look at the documentation, can you fail to double post as well? It's considered rude!

http://www.mqseries.net/phpBB2/viewtopic.php?t=47844
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Feb 20, 2009 12:12 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

zpat wrote:
Why don't you look up the reason code?

Quote:
Reason Code 2080 x'820'
MQRC_TRUNCATED_MSG_FAILED

On an MQGET call, the message length was too large to fit into the supplied buffer. The MQGMO_ACCEPT_TRUNCATED_MSG option was not specified, so the message has not been removed from the queue. If this was a browse operation, the browse cursor remains where it was before this call, but if MQGMO_BROWSE_FIRST was specified, the browse cursor is positioned logically before the highest-priority message on the queue. The DataLength field is set to the length of the message before truncation, the Buffer parameter contains as much of the message as fits, and the MQMD structure is filled in.

Corrective action: Supply a buffer that is at least as large as DataLength, or specify MQGMO_ACCEPT_TRUNCATED_MSG if not all of the message data is required.


So not just me spoiling the fishing then....?

http://www.mqseries.net/phpBB2/viewtopic.php?t=47806


_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
itsme_001
PostPosted: Fri Feb 20, 2009 12:15 am    Post subject: Reply with quote

Disciple

Joined: 02 Feb 2009
Posts: 157

sorry......
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 » Not able to browse a Q
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.