If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > SQL0437W - help

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-10-06, 12:52
akhilg24 akhilg24 is offline
Registered User
 
Join Date: Oct 2003
Location: Austin,TX
Posts: 4
SQL0437W - help

Hello DB2 Gurus,

I am working on DB2 UDB 8.1 FP 4 on AIX 5.2. When I am trying to rebinding a particular package I am getting the below error. As per that error message recommending to increase statheap size. Currently statheap set to 2048 and I changed to 4096 then I tried to rebind the package and received exactly same warning message.
Can some one please help me how to fix this problem?
Also How do I exactract SQL statement from particulat package?

rebind EMP.P8313517

Thanks!

SQL0437W Performance of this complex query may be sub-optimal. Reason code:

"1". SQLSTATE=01602
Reply With Quote
  #2 (permalink)  
Old 03-10-06, 13:59
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
You'll have to increase stmtheap and not STAT_HEAP_SZ ...

And, BTW, this is not an error message , it is a warning message ... You application should work, albeit, with sub-optimal performance

Sathyaram
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #3 (permalink)  
Old 03-24-06, 09:00
Shizuma Shizuma is offline
Registered User
 
Join Date: Mar 2006
Posts: 14
Short Question consurning this warning. I also get it, but i want to ignore it. Now the problem is the compiler looks what the returncode from the precompile was, and if its not zero, it does not compile the resulting sqc file. Now the db2 precompiler does not return zero if a warning occur. That is, in my opinion, completly wrong.

Therefore, i would like to completly IGNORE such warnings, they shouldn't even be printed out. Is there any possibility (eg. a flag) which can help me?

Thanks ^^
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On