Create and populate reporting tables for Campaign or eMessage
1.
2.
3.
4.
For Campaign and a DB2® reporting database only, increase the DB2® heap size to 10240 or higher. (The default heap size is 2048.) Use the following command:
db2 update db cfg for databasename using stmtheap 10240
where databasename is the name of the reporting database.
Increasing the heap size ensures that Cognos® does not display SQL error messages if a user selects all the campaigns when running a report like the Financial Summary report.
5.
Locate the db/calendar subdirectory of the Plataforma de Marketing installation and find the version of the ReportsCalendarPopulate script appropriate for the database type. This script creates two more tables: UA_Calendar and UA_Time.
6.
Run the ReportsCalendarPopulate script on the new database that you created with the table creation script.
For DB2® only, do one of the following:
*
Either run the script from the command line using the command db2 -td@ -vf ReportsCalendarPopulate_DB2.sql
*
Or, if you use the DB2® client interface, change the termination character to the @ character in the Statement termination character field.
7.
*
8.
For eMessage only, do the following.
*
In the ReportsPackCampaign\tools directory under your reports pack installation, locate the uare_lookup_create_DB_type.sql script, where DB_type is the database type appropriate for your installation of Campaign .
*
*