Implementing Siebel Business Applications on DB2 for z/OS > Maintaining Siebel Business Applications on DB2 for z/OS >
Enabling DB2 Dynamic Statement Caching
Siebel Business Applications use the DB2 global statement caching capability. Global statement caching allows dynamic SQL statements that are reexecuted to bypass the PREPARE phase after the first execution. Dynamic statements are prepared once, stored on a global statement cache, then reused many times. The Siebel application also maximizes the reuse of statement caching.
To enable global statement caching either
- Set the CACHEDYN parameter to YES in the macro DSN6SPRM when generating DSNZPARMs.
- Set CACHE DYNAMIC SQL to YES when installing DB2.