Solved

VB and DB2

Posted on 2002-04-29
7
544 Views
Last Modified: 2008-02-01
Dear Experts,
I have developed a program that majorly uses DB2 Database. In the past it worked fine. Now for last one week i am facing problem. It has been giving the following error.

[IBM][CLI Driver][DB2/NT] SQL0973N  Not enough storage is available in the "QUERY_HEAP" heap to process the statement.  SQLSTATE=57011

I have seached in the web to solve the problem. But i could't found a solution.
I increased the DRDA Heap size in client and Application Heap size in server, But the problem still persist.
FYI: I have not changed the code recently.
Can any one give nice solution for this.
Regards
Sridhar

0
Comment
Question by:sridhar_PJ
  • 4
  • 2
7 Comments
 
LVL 43

Accepted Solution

by:
TimCottee earned 100 total points
ID: 6976668
This is the only solution that I have found:

DB2 UPDATE DBM CFG USING QUERY_HEAP_SZ 2000

I have no real experience here, just reporting what I found. Apparently you have to restart the DB2 server after doing this otherwise it will have no effect.

Source : http://www.lsc-group.phys.uwm.edu/pipermail/lal-discuss/2002q1/000461.html
0
 
LVL 2

Expert Comment

by:gallaghe
ID: 6977260
(if you are not using an AS400 then ignore this)

I work with VB/DB2 and the only time we have problems is when the AS400 gets some update to the OS which sometimes causes code to fail. So what I suggest is talking with whomever is in charge of the AS400/DB2 and ask if there have been updates since your problem started.

0
 
LVL 3

Author Comment

by:sridhar_PJ
ID: 6977406
I am using winnt Version of DB2
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 2

Expert Comment

by:gallaghe
ID: 6977538
Do you have much free disk space? may be this is the problem.
0
 
LVL 3

Author Comment

by:sridhar_PJ
ID: 6979888
Ya,
I have nearly 6GB of free space
0
 
LVL 3

Author Comment

by:sridhar_PJ
ID: 6990802
Any more ideas,
Timcotte, i have already done,what you said. But no improvements.
Regards
Sridhar
0
 
LVL 3

Author Comment

by:sridhar_PJ
ID: 7005301
Still my problem has not solved.
Choosing nearest best answer.
Thanks for your help
Sridhar
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Excel Vlookup to move data back to source. 4 90
Hide vba in gp 7 94
Passing a Text Box name to a Sub 6 96
Help me. 3 54
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

770 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