|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Batch MQ - Batch - Get ends after 10000 records !!! |
« View previous topic :: View next topic » |
Author |
Message
|
dabbarao |
Posted: Thu Nov 10, 2005 10:19 am Post subject: Batch MQ - Batch - Get ends after 10000 records !!! |
|
|
Newbie
Joined: 10 Nov 2005 Posts: 2
|
Hi, I have 50K records on the Q and when I run my batch-Cobol GET program to get the messages, it ends successfully after 10K records. So I had to run my program 5 times to empty the queue. I am not sure which parameter is doing the damage. In my program the loop ends only after the end-of-Q is reached but when the program ended the return code was 0, not end-of-Q.
Any help is appreciated. Thanks. |
|
Back to top |
|
 |
Michael Dag |
Posted: Thu Nov 10, 2005 10:21 am Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
uncommitted messages count exeeded?
default is 10000 from the top of my head... _________________ Michael
MQSystems Facebook page |
|
Back to top |
|
 |
dabbarao |
Posted: Thu Nov 10, 2005 10:39 am Post subject: |
|
|
Newbie
Joined: 10 Nov 2005 Posts: 2
|
Thanks Michael, I sincerely appreciate your help and COMMIT was the problem. I started committing after every 5000 records and it worked great. Your timely reply really saved lot of my time and effort.
Appreciate that. Thanks. |
|
Back to top |
|
 |
Mr Butcher |
Posted: Thu Nov 10, 2005 11:39 pm Post subject: |
|
|
 Padawan
Joined: 23 May 2005 Posts: 1716
|
Quote: |
Hi, I have 50K records on the Q and when I run my batch-Cobol GET program to get the messages, it ends successfully after 10K records |
in addition, you should check the error handling (returncode handling) of you rprogram.if you pass the "maximum number of uncomitted messages " you will get a proper returncode. looks like your program did not react well on this, and maybe you will also react bad on other returncodes. _________________ Regards, Butcher |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|