Bookshelf Home | Contents | Index | PDF |
Implementing Siebel Business Applications on DB2 UDB for z/OS > Maintenance Considerations for z/OS > Dynamic SQL in the Siebel Application > Advantages of Spooling SQL in the Siebel ApplicationUsing spooling with the Siebel application can be useful for a number of reasons:
You can then run the SQL manually, either from the midtier machine, for example using the DB2 Command Center, or on the DB2 for z/OS host, for example using tools such as SPUFI, to see what data is being returned. To minimize the amount of SQL tracing produced, and, therefore, the size of the log files, limit the tests to the minimum number of screen changes needed to allow the issue to be reproduced. If possible, spool SQL on a developer client as you have more control over the testing which makes it easier to minimize the amount of SQL traced. Turning on SQL Spooling for the Object Manager and the Database ConnectorYou can turn on component event logging for the Developer and Mobile Web Clients and the server component. Within this category, you can spool the SQL generated by the Siebel Object Manager and by the database connector. You can have either the object manager spooling or the SQL spooling, but not both, as the amount of data returned will be confusing. To turn on SQL spooling for the Object Manager
To turn on SQL spooling for the database connector
For some components, the SQL Profiling event can be used to identify the most poorly performing queries. For Developer clients, you can also set these component events as environment variables. They work in addition to the spooling options. |
Implementing Siebel Business Applications on DB2 UDB for z/OS |