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 » Mainframe, CICS, TXSeries » Batch MQ - Batch - Get ends after 10000 records !!!

Post new topic  Reply to topic
 Batch MQ - Batch - Get ends after 10000 records !!! « View previous topic :: View next topic » 
Author Message
dabbarao
PostPosted: Thu Nov 10, 2005 10:19 am    Post subject: Batch MQ - Batch - Get ends after 10000 records !!! Reply with quote

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
View user's profile Send private message
Michael Dag
PostPosted: Thu Nov 10, 2005 10:21 am    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2602
Location: The Netherlands (Amsterdam)

uncommitted messages count exeeded?

default is 10000 from the top of my head...
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
dabbarao
PostPosted: Thu Nov 10, 2005 10:39 am    Post subject: Reply with quote

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
View user's profile Send private message
Mr Butcher
PostPosted: Thu Nov 10, 2005 11:39 pm    Post subject: Reply with quote

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
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 » Mainframe, CICS, TXSeries » Batch MQ - Batch - Get ends after 10000 records !!!
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.