You can use SQL scripts to create views or materialized views for Interact. The reports
application uses views or materialized views to extract reportable data.
About this task
To create views or materialized views for Interact, complete the following steps.
Procedure
- Locate the SQL scripts that you generated and saved previously.
-
Use the database administration tools to run the appropriate script against the appropriate
application database(s) for the report package that you are configuring.
Note: When you run a script that creates materialized views on a DB2® database, you might see the following error:
SQL20059W The
materialized query table-name may not be used to optimize the processing of
queries.
However, the materialized view is successfully created.
-
In the tools subdirectory in the reports package installation directory,
find the lookup_create script for your database type.
For example, the script for SQL is named
uari_lookup_create_MSSQL.sql.
-
Run the lookup_create script on the Interact design time database. Ensure that the database
tool that you use commits the changes. For example, you might need to set the auto-commit option of
the database to true.
-
Browse to the
<Interact_ReportPack_Installer_Home>\cognos11\interact-ddl\<DB
Type>\ folder.
- For DB2, set the db2set
DB2_COMPATIBILITY_VECTOR=ORA parameter.
-
Run the acir_tables_<DB Type>.sql script on the ETL
database.
What to do next
Continue with Setting up data synchronization.