IBM Cognos Sample Programs
copy.sln - Copies a report to another location.
The C# Copy sample program contains methods to copy a report to a different location.
Dependent Files
All associated files are contained in the bin directory of the csharp directory.
How To Run The Sample Program
Double click on the file ../bin/copy.exe.
A window will be opened containing:
- Copy command button
- URL text box
- Report Name and Target Location input boxes
- Results Display Window
Click on the 'Copy' button to run the sample program.
Expected Results
A copy of the selected report will be copied to the specified target location in IBM Cognos Connection by default.
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.