dbTalk Databases Forums  

Static Statements

ibm.software.db2.mvs ibm.software.db2.mvs


Discuss Static Statements in the ibm.software.db2.mvs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
arens@de.ibm.com
 
Posts: n/a

Default Static Statements - 07-01-2009 , 09:12 AM






Hello,

I'm trying to find the static statement cache (not dynamic). As far as I know it is somewhere in the catalog but I didn't find it. Could you please tell me where to look for it?

Regards,
Stephan

Reply With Quote
  #2  
Old   
momi.sabag@gmail.com
 
Posts: n/a

Default Re: Static Statements - 07-01-2009 , 09:14 AM






there is no such thing as a static statements cache
db2 stores in memory the packages that are being executed for the static statements

if you want to see which statements each package contains you can query sysibm.syspackstmts

Reply With Quote
  #3  
Old   
arens@de.ibm.com
 
Posts: n/a

Default Re: Static Statements - 07-02-2009 , 10:31 AM



Thanks for the quick answer. As far as I have seen the stmt text is encoded. Is there a simple way (for example using an SQL stmt) to get the originial stmt texts?

Reply With Quote
Reply




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.