Solved

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

Posted on 2010-09-06
5
1,672 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Forrester Webinar: xMatters Delivers 261% ROI

Guest speaker Dean Davison, Forrester Principal Consultant, explains how a Fortune 500 communication company using xMatters found these results: Achieved a 261% ROI, Experienced $753,280 in net present value benefits over 3 years and Reduced MTTR by 91% for tier 1 incidents.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Najam
Having new technologies does not mean they will completely replace old components.  Recently I had to create WCF that will be called by VB6 component.  Here I will describe what steps one should follow while doing so, please feel free to post any qu…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

749 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