IBM Cognos Sample Programs

ViewAll.exe - View All Objects in the Content Store.

The C# ViewAll sample program lets you query the content store for all packages, reports, and queries, and display the results.


Dependent Files

All associated files are contained in the bin directory of the csharp directory.

How To Run The Sample Program

Launch the command window and navigate to the sample program bin directory in the csharp directory.
Type ViewAll.exe [--test]
Where:  --test      is the run an automated test option.
A new window will be opened.

Expected Results

Navigate to the desired path. All packages, reports, and queries for the path selected will be displayed.

Documentation

The IBM Cognos Software Development Kit Developer Guide contains additional information about the samples. See the chapter titled 'Methods' and the appendix titled 'Code Samples and Language-Specific Coding Practices'.

Please note that the samples are not intended to be treated as end-user applications. Refer to the sample code for examples of how to use the API when developing your own applications.