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 API Support » Error when reading from queue

Post new topic  Reply to topic
 Error when reading from queue « View previous topic :: View next topic » 
Author Message
Liza
PostPosted: Thu Jun 16, 2005 1:59 am    Post subject: Error when reading from queue Reply with quote

Newbie

Joined: 16 Jun 2005
Posts: 4

After reading 40.000 messages from the queue I get following error: CompCode: 2, Reason: 2024.

What does this reason code means? Is there some kind of list with all the possible reason codes?

/Liza
Back to top
View user's profile Send private message
sjensen
PostPosted: Thu Jun 16, 2005 2:28 am    Post subject: Reply with quote

Centurion

Joined: 18 Dec 2003
Posts: 134
Location: London

Hi

You can use
Code:
mqrc <err_code>


Code:
mqrc 2024
will give you MQRC_Syncpoint_Limit_Reached.

Perhaps there should be a commit in there somewhere?

Cheers
Stefan
Back to top
View user's profile Send private message
zpat
PostPosted: Thu Jun 16, 2005 2:29 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5849
Location: UK

There are manuals!

An MQGET, MQPUT, or MQPUT1 call failed because it would have caused the number of uncommitted messages in the current unit of work to exceed the limit defined for the queue manager (see the MaxUncommittedMsgs queue-manager attribute). The number of uncommitted messages is the sum of the following since the start of the current unit of work:

* Messages put by the application with the MQPMO_SYNCPOINT option

* Messages retrieved by the application with the MQGMO_SYNCPOINT option
--

Ie - commit the UOW more often.
Back to top
View user's profile Send private message
Liza
PostPosted: Thu Jun 16, 2005 2:54 am    Post subject: Reply with quote

Newbie

Joined: 16 Jun 2005
Posts: 4

Sorry, I'm new to this and couldn't find it anywhere in the manuals.

But your answers did it for me, thanks

/Liza
Back to top
View user's profile Send private message
RogerLacroix
PostPosted: Thu Jun 16, 2005 8:19 pm    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3252
Location: London, ON Canada

Hi,

I'm moving this posting to the MQ API forum since it has nothing to do with any Capitalware product.

Regards,
Roger Lacroix
Capitalware Inc.
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
kevinf2349
PostPosted: Fri Jun 17, 2005 5:07 am    Post subject: Reply with quote

Grand Master

Joined: 28 Feb 2003
Posts: 1311
Location: USA

Liza

Download and install

http://www-1.ibm.com/support/docview.wss?rs=203&uid=swg24000652&loc=en_US&cs=utf-8%E2%8C%A9=en

I use it all the time....it saves looking codes up in manuals.

HTH
Back to top
View user's profile Send private message
Liza
PostPosted: Wed Jun 29, 2005 5:43 am    Post subject: Reply with quote

Newbie

Joined: 16 Jun 2005
Posts: 4

Tnx
Back to top
View user's profile Send private message
JT
PostPosted: Wed Jun 29, 2005 8:15 am    Post subject: Reply with quote

Padawan

Joined: 27 Mar 2003
Posts: 1564
Location: Hartford, CT.

Quote:
Sorry, I'm new to this and couldn't find it anywhere in the manuals

Then downloading the MQ Information Center will prove beneficial to you. You'll be able to scan all of the MQ manuals with one search:

http://www-306.ibm.com/software/integration/wmq/library/infocenter/
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 API Support » Error when reading from 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.