This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

Static SQL in DB2?

It appears that the DB2 monitor is not collecting static SQL. The only calls we can see are dynamic SQL. Is there a way to do this? It sounds like DPA uses the GET SNAPSHOT commands to retrieve query performance, which does not include static SQL. Starting in DB2 9.7 they introduced a new interface to monitor dynamic and static SQL statements (MON_GET_PKG_CACHE_STMT). Is there anyway to switch it over to use this instead of GET SNAPSHOT?