Author |
Message
|
Liza |
Posted: Thu Jun 16, 2005 1:59 am Post subject: Error when reading from queue |
|
|
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 |
|
 |
sjensen |
Posted: Thu Jun 16, 2005 2:28 am Post subject: |
|
|
Centurion
Joined: 18 Dec 2003 Posts: 134 Location: London
|
Hi
You can use
will give you MQRC_Syncpoint_Limit_Reached.
Perhaps there should be a commit in there somewhere?
Cheers
Stefan |
|
Back to top |
|
 |
zpat |
Posted: Thu Jun 16, 2005 2:29 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 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 |
|
 |
Liza |
Posted: Thu Jun 16, 2005 2:54 am Post subject: |
|
|
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 |
|
 |
RogerLacroix |
Posted: Thu Jun 16, 2005 8:19 pm Post subject: |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 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 |
|
 |
kevinf2349 |
Posted: Fri Jun 17, 2005 5:07 am Post subject: |
|
|
 Grand Master
Joined: 28 Feb 2003 Posts: 1311 Location: USA
|
|
Back to top |
|
 |
Liza |
Posted: Wed Jun 29, 2005 5:43 am Post subject: |
|
|
Newbie
Joined: 16 Jun 2005 Posts: 4
|
Tnx  |
|
Back to top |
|
 |
JT |
Posted: Wed Jun 29, 2005 8:15 am Post subject: |
|
|
Padawan
Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT.
|
|
Back to top |
|
 |
|