IBM Cognos Sample Programs
ViewPackages.exe - Query the Content Store and Display All Packages.
The C# ViewPackages sample program lets you query the content store for all packages 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
ViewPackages.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 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.