Capturing query

Report Studio is a tool for wider audience—right from business users, management personnel and analysts, to the pure technical report writers. If you are a technical person who understands the SQL/MDX being fired on the database, you certainly want to examine one to optimize the report performance and sometimes to merely ensure that everything is fine.

This recipe will talk about the right ways to capture the query fired on data source.

Getting ready

We will use the list report created in the previous recipe for this.

How to do it...

  1. Open the report in Cognos Report Studio.
  2. Go to Query Explorer and set the Usage of the filter item to Optional.
  3. From the menu, select Tools | Show Generated SQL/MDX.
  4. A new dialog box will appear with the SQL ...

Get IBM Cognos 8 Report Studio Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.