Solved

ERROR [57014] [IBM][DB2/LINUX] SQL0952N  Processing was cancelled due to an interrupt.  SQLSTATE=57014

Posted on 2010-09-06
5
1,566 Views
Last Modified: 2012-06-21
Hello
Kindly look into the code and please tell me where i am missing, thus i am getting the above error
objClsDB.conDB2.ConnectionTimeout = 0;

                    

                    objClsDB.conDB2.Open();



                    

                    

                    objClsDB.cmdDB2.CommandText = Query;

                    



                    



                    

                    DB2DataAdapter da = new DB2DataAdapter(objClsDB.cmdDB2.CommandText, objClsDB.conDB2);

                    DB2CommandBuilder cBuilder = new DB2CommandBuilder(da);

                    



                    DataTable QTable = new DataTable();

                    QTable.Locale = System.Globalization.CultureInfo.InvariantCulture;

                    

                                        da.Fill(dsTable, "RCCM");// Error in this line

                                       

                   



                    objClsDB.cmdDB2.Dispose();

                    objClsDB.conDB2.Close();

                    objClsDB.conDB2.Dispose();

Open in new window

0
Comment
Question by:Senz79
  • 3
  • 2
5 Comments
 
LVL 3

Expert Comment

by:AndyEastham
ID: 33615785
Try increasing the value of QUERYTIMEOUTINTERVAL in your db2cli.ini file

Andy
0
 
LVL 3

Expert Comment

by:AndyEastham
ID: 33615800
Hi,

By the way, if there is no setting, try QUERYTIMEOUTINTERVAL=500

eg

[TEST]
DBALIAS=TEST
QUERYTIMEOUTINTERVAL=500
0
 
LVL 4

Author Comment

by:Senz79
ID: 33615997
After Increasing that i am getting

ERROR [57011] [IBM][DB2/LINUX] SQL0954C Not enough storage is available in the application heap to process the statement. SQLSTATE=57011
i have set QUERYTIMEOUTINTERVAL=0 in db2cli.ini
 
anything i can do at application level


 
0
 
LVL 3

Accepted Solution

by:
AndyEastham earned 500 total points
ID: 33616695
I think th eparameter you need to change is applheapsz

To get the current value:

db2 get database configuration for dbname

To update it eg to 1024 (4kb pages):

db2 update database configuration for dbname using applheapsz 1024

You could try increasing it until the problem goes away but obviously setting this too large may have side effects.

Andy




0
 
LVL 4

Author Closing Comment

by:Senz79
ID: 33740767
still facing issue but not frequently
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now