Publishing packages by running scripts

IBM® Cognos® reports are dependent on the objects in the package on which the report is based. If your report uses objects that no longer exist in the package, the reports will not run. You can have this problem if you make changes to the physical data source, and then use a script to generate the model and republish the package. After the script is run and the package is published, analyzing the impact of publishing the package does not identify the broken reports.

To avoid this problem when using scripts to publish packages, perform your publishing tasks in the specified order.

Procedure

  1. Run the script excluding any steps that publish the package.
  2. Verify the model or analyze the impact of publishing the package.
  3. Publish the package.