Code samples and language-specific coding practices

The IBM® Cognos® code samples encompass the following programming languages, each one designed to expose different aspects of the IBM Cognos Software Development Kit:

  • active server pages (.asp files)

  • Java

  • C# .NET

These samples use the BI Bus API to read from and write to the content store. You can use them as learning tools or as examples to help you develop your own applications.

The IBM Cognos Software Development Kit installation also includes

  • report samples that you can open using IBM Cognos Analytics - Reporting to view the XML of the underlying report specifications. For more information, see Using report specifications.

  • additional XML code snippets for other common elements that you can use in a report specification.