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 » Message can't getting

Post new topic  Reply to topic
 Message can't getting « View previous topic :: View next topic » 
Author Message
Amit15
PostPosted: Thu Sep 29, 2005 3:07 am    Post subject: Message can't getting Reply with quote

Novice

Joined: 20 Sep 2005
Posts: 24

PLease help what's wrong


whay can't i check the message


amqsget abc xxx
Sample AMQSGET0 start
MQGET ended with reason code 2080
Sample AMQSGET0 end

Regards
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Sep 29, 2005 3:10 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

2080 (X'0820')
MQRC_TRUNCATED_MSG_FAILED
Explanation:

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.
Completion Code:

MQCC_WARNING
Programmer Response:

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.

_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Amit15
PostPosted: Thu Sep 29, 2005 3:17 am    Post subject: buffer length Reply with quote

Novice

Joined: 20 Sep 2005
Posts: 24

how can i change the length of buffer please help
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Sep 29, 2005 3:22 am    Post subject: Re: buffer length Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Amit15 wrote:
how can i change the length of buffer please help

By changing the code of amqsget and recompiling it.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
fschofer
PostPosted: Thu Sep 29, 2005 3:27 am    Post subject: Reply with quote

Knight

Joined: 02 Jul 2001
Posts: 524
Location: Mainz, Germany

Hi,
read the Application Programming Guide.

http://www-306.ibm.com/software/integration/wmq/library/

Greetings
Frank
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Thu Sep 29, 2005 5:35 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Also, there are other tools available that will do this for you.

There are a few different support packs, MA01 and IH03 come to mind. There are professional tools available, like CapitalWare's line.

It really depends on what you are actually trying to do.
_________________
I am *not* the model of the modern major general.
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 » Message can't getting
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.