Removing references to old packages or items

As a part of development, a framework model might need changes. Often, the package names, namespaces names, and query subject names are changed. Sometimes, when the report is moved to another environment, such differences are encountered. This results in errors and needs every data item to be redefined.

In this recipe, we will see how to quickly change all the references without redefining all the data items.

Getting ready

Take any report that is working fine and verify that it is without any errors. We will take one report based on the GO Data Warehouse (query) package.

How to do it...

The idea here is to remove these references from the XML specifications of the report. To do this, perform the following ...

Get IBM Cognos 10 Report Studio Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.