To use IBM Cognos product documentation, you must enable JavaScript in your browser.

Samples

This section explains the purpose, content and location of IBM Cognos 8 samples. It also discusses the sample company, Great Outdoors, its structure, databases, model and packages.

For information about installing and setting up the sample databases, see Install the IBM Cognos 8 Samples and Setting Up the Samples.

The Great Outdoors Company Samples

The Great Outdoors Company samples illustrate product features and technical and business best practices. You can also use them for experimenting with and sharing report design techniques and for troubleshooting.

For examples related to different kinds of businesses, see the product blueprints at (http://www.ibm.com/software/data/support/cognos_crc.html). For information about specific installation choices and environments, see the Architecture and Deployment Guide, or the Proven Practices and the IBM Cognos Implementation Roadmaps on the IBM Cognos Resource Center (http://www.ibm.com/software/data/support/cognos_crc.html). For information about audit samples, see the Administration and Security Guide.

Where to Find the Samples

The samples are included with the product and the samples for each studio are described in the related user guide and online help. To use the samples, you must set up and configure them or contact your administrator to find out where they are installed. For instructions on how to set up and configure samples, see the Installation and Configuration Guide or the Administration and Security Guide.

What Samples Exist

The samples consist of

Security

You can add security to the samples using an employee list included with the product. The list is in the form of an LDIF file that can be imported into any directory server, such as the Sun Java System Directory Server.

Note: You can download a version of the Sun Java System Directory Server from the Sun Web site (http://www.sun.com/download/). For more information, see the Installation and Configuration Guide. For information about conformance, see the IBM Cognos Resource Center (http://www.ibm.com/software/data/support/cognos_crc.html).

The Great Outdoors Group of Companies

To make designing examples faster, especially financial examples, some general information about The Great Outdoors Company is useful. To look for samples that use particular product features, see the individual sample descriptions in this appendix.

Revenue for The Great Outdoors Company comes from corporate stores and from franchise operations. The revenues are consolidated from the wholly-owned subsidiaries. There are six distinct organizations, each with its own departments and sales branches. Five of these are regionally-based companies.

The sixth company, GO Accessories

The diagram below illustrates the consolidated corporate structure, including the percentage changes in ownership for GO Central Europe, and shows the reporting currency and GL prefix for each subsidiary.

Each corporation has the same departmental structure and the same GL structure, shown in the table below. Divisions may not report in the same currencies. For example, the Americas subsidiary reports in US dollars, but the Corporate division local currency is Canadian dollars, and the Operations division local currency is pesos.

Division (GL)Department (GL)
Corporate (1700) Sales (1720)
Marketing (1750)
IS&T (1760)
Human Resources (1730)
Finance (1740)
Procurement (1710)
Operations (1800)Production and Distribution (1820)
 Customer Service (1820)

Each corporation has a complete chart of accounts. Most of the accounts, such as those under non-personnel expenses, are at the department level, and contain only summary amounts. For example, although each marketing department has expenses, the cost is unspecified at the transaction level where marketing promotions occur.

Employees

The Great Outdoors data contains a full list of employees in all divisions, departments, and locations. Data is available for reports about bonuses (Global Bonus report) and sales commissions (Sales Commissions for Central Europe report), training (Employee Training by Year report), and performance reviews and employee satisfaction surveys (Employee Satisfaction 2006). If you use Metric Studio, sample metrics for human resources are also available.

In the GO Data Warehouse (analysis) package, groups of measures and the related dimensions are organized into folders. The employees are organized in hierarchies for region, manager, position or department, and organization, to make different kinds of aggregation easy to report on. Aggregation has been defined for the Employee Position Summary measures, so that Position count and Planned position count aggregate correctly at each level of time: monthly, quarterly, or yearly. For example, see the Planned Headcount report.

The employees are also listed in a sample LDIF file . This authentication directory is necessary for the Transformer 8 cubes and for IBM Cognos Planning samples. No other samples depend on security profiles. For more information, see the Installation and Configuration Guide.

Sales and Marketing

Data about sales and marketing is available for all of the companies in the Great Outdoors group. GO Accessories has richer details to support analysis examples. For example, see the Revenue vs % Gross Profit by Product Brand analysis, based on the Sales and Marketing cube. Marketing and sales campaigns are tied to the Great Outdoors regional companies.

Overall, the GO companies have experienced solid growth across most product lines (Sales Growth Year Over Year), in all regions (Revenue by GO Subsidiary 2005), because of factors like an increase in repeat business and new or improved products, such as the high margin sunglasses product line. In the product lines sold by the five regional companies (all but GO Accessories) promotions have had mixed success (Promotion Success by Campaign, Bundle and Quarter). If you use Metric Studio, this can also be seen in the sample metrics.

Customer Surveys

The data also contains information from customer surveys. For example, the product line that includes bug spray, sun screen, and so on has not been successful (Product Satisfaction - Outdoor Protection 2005) and a source of retailer dissatisfaction may be the level of customer service rather than the returns (Customer Returns and Satisfaction). If you use Metric Studio, this information can also be monitored in metrics.

Sales Outlets

Revenue from the corporate outlets is available at the transaction level. Revenue from the franchise outlets is available at the consolidated level only (Sales and Marketing cube). Metrics about retailers show that the number of new retail outlets has dropped over the time period covered by this data.

GO Accessories sells worldwide, and sells only accessories. Transaction data for GO Accessories is the primary source for analysis of product by brand, color and size. The other five subsidiaries in the group of companies are regional and sell all product lines for retailers in their region. For example, the report Top 10 Retailers in 2005 uses sparklines and list data to review revenues at the retailer level.

Great Outdoors Database, Models, and Packages

The Great Outdoors models illustrate modeling techniques and support the samples. The models are based on the GO data warehouse and the GO sales transactional database and are the basis for the sample reports and queries. Each model contains two packages for publishing analysis (dimensional) and query views of the data.

For a description of each sample report or query, see the user guide for the studio that you open the sample in. For more information about modeling techniques, see the Guidelines for Modeling Metadata, or the Framework Manager User Guide.

You must have access to Framework Manager, the modeling tool in IBM Cognos 8, to look at the sample models. You may also need to set up the sample databases and connections. For instructions, see the Administration and Security Guide or the Installation and Configuration Guide.

GO Data Warehouse

The GO Data Warehouse model, great_outdoors_data_warehouse.cpf, is based on the database GOSALESDW. It contains data about human resources, sales and marketing, and finance, grouped into business areas. In the Database view, the three business areas are grouped into separate namespaces. The Database view contains a fourth namespace (GO Data) for the common information.

The Database view is very similar to the structure of the underlying database. All tables (database query subjects) are unchanged. This enables IBM Cognos 8 to retrieve metadata directly from the package in most cases, instead of using a metadata call to the database. The following changes and additions have been made in the Database view:

The Business view contains only model query subjects, with no joins. The following changes and additions have been made in the Business view:

The GO Sales Transactional Database

The GO Sales model, great_outdoors_sales.cpf, is based on the GOSALES database, which is structured as a transactional database. It contains principally sales data.

The Database view is very similar to the underlying database structure. The following changes and additions have been made in the Database view:

The Business view contains only model query subjects, with no joins. The following changes and additions have been made in the Business view:

The Samples Cubes

The following cubes are delivered with the Great Outdoors samples in English, French, German, Japanese and Chinese:

The Samples Packages

The Great Outdoors samples include seven packages. Below is a brief description of each available package.

Go Data Warehouse (analysis) is a dimensionally modeled view of the GOSALESDW database. This package can be used in all studios, including Analysis Studio. Using this package you can drill up and down.

Go Sales (analysis) is a dimensionally modeled view of the GOSALES database. This package can be used in all studios, including Analysis Studio. Using this package you can drill up and down.

Go Data Warehouse (query) is a non-dimensional view of the GOSALESDW database. This package can be used in all studios except Analysis Studio, and is useful for reporting when there is no need for drilling up and down.

Go Sales (query) is a non-dimension view of the GOSALES database. This package can be used in all studios except Analysis Studio, and is useful for reporting when there is no need for drilling up and down.

Sales and Marketing (conformed) is based on the GOSALESDW database. Dimensions are conformed with the dimensions found in the Sales and Marketing (cube) package, in order to enable drill-through from the cube package to the dimensional package.

Sales and Marketing (cube) is an OLAP package, based on the sales_and_marketing.mdc cube.

Great Outdoor Sales (cube) is an OLAP package, based on the great_outdoor_sales.mdc cube.

Note: The OLAP packages, Great Outdoor Sales (cube) and Sales and Marketing (cube), are not multilingual. The Cognos_PowerCube.zip archive contains five versions of each package; one in English, French, German, Japanese and Chinese.

Install the IBM Cognos 8 Samples

The IBM Cognos 8 samples illustrate product features and technical and business best practices. You can also use them for experimenting with and sharing report design techniques, and for troubleshooting. If you want to use the samples, install them from the IBM Cognos 8 Business Intelligence Samples CD.

Install in a directory that contains only ASCII characters in the path name. Some servers do not support non-ASCII characters in directory names.

Steps for UNIX and Linux
  1. Mount the IBM Cognos product disk using Rock Ridge file extensions or go to the location where the installation files were downloaded.

    Important: To mount the IBM Cognos CD on HP-UX, do the following:

  2. To start the installation wizard, go to the operating system directory and type

    ./issetup

    Note: When you use the issetup command with XWindows, Japanese characters in messages and log files may be corrupted. When installing in Japanese on UNIX, first set environment variables LANG=C and LC_ALL=C (where C is the language code, for example ja_JP.PCK on Solaris), and then run an unattended installation .

    If you do not use XWindows, run an unattended installation .

  3. Follow the directions in the installation wizard and copy the required files to your computer.

    Install the samples in the same location as the server components.

  4. In the Finish page of the installation wizard, click Finish.

To set up and configure the IBM Cognos 8 samples, see Setting Up the Samples.

Steps for Windows
  1. Insert the Samples disk or go to the location where the installation files were downloaded and extracted.

    The Welcome page of the installation wizard appears.

  2. If no Welcome page appears, go to the operating system directory and double-click the issetup.exe file.

  3. Select the language to use for the installation.

    The language that you select determines the language of the user interface. You can change the language to any of the installed languages after installation.

  4. Follow the directions in the installation wizard to copy the required files to your computer.

    Install the samples in the same location as the server components.

  5. In the Finish page of the installation wizard, click Finish.

  6. Click Finish.

    Use the Windows Start menu to start IBM Cognos Configuration from the shortcut folder.

Setting Up the Samples

You can use the IBM Cognos samples to learn how to use IBM Cognos 8, including Framework Manager, Metric Studio, Metric Designer, and Event Studio.

IBM Cognos 8 provides sample databases that contain sales, marketing, and financial information for a fictional company named the Great Outdoors Company that sells sporting equipment.

Before you can use the sample databases, IBM Cognos 8 must be installed, configured, and running. For IBM Cognos 8 reports and analyses, Framework Manager should also be installed, configured, and running.

To use the sample content for Metric Designer, the optional modeling tool for Metric Studio, Metric Designer must also be installed, configured, and running.

To set up the samples, do the following:

      

Restore the samples databases.

      

Create the data source connections to the samples databases.

      

If you plan to use OLAP data source samples, set up the sample cubes, if this is required, and create data source connections to the OLAP data sources you want to use.

Setup tasks are required only for Microsoft Analysis Services cubes and Essbase cubes.

      

If you plan to use the Metric Studio sample, set up the Metric Studio sample.

      

If you plan to use the Metric Designer sample, set up a data source connection to it, set up the Metric Studio sample, and import the Cognos_Samples and GO_Metrics deployment archives.

      

Import the samples content (packages) into the content store.

      

If you want to test the sample agent ELM Returns Agent using Event Studio, run the sample agent against changed data.

After you complete these tasks, use IBM Cognos 8 to run the sample reports or scorecards. You can later remove the IBM Cognos 8 samples.

Restore Backup Files for the Samples Databases

To use the samples, you must restore backup files for the samples databases. This action re-creates multilingual versions of the Great Outdoors databases.

The following sample databases and associated files are provided with IBM Cognos 8. For SQL Server and Oracle, each database is delivered as a Microsoft SQL Server backup file and an Oracle export file (.dmp). For DB2, the database schemas are delivered in a DB2 move file. The files are compressed, and you must extract them before you can restore the databases or schemas.

SQL Server Databases and Files

Database or schema description

File name

Great Outdoors sales

GOSALES.zip

Great Outdoors retailers

GOSALES.zip

Great Outdoors sales data warehouse

GOSALESDW. zip

Great Outdoors market research

GOSALES.zip

Great Outdoors human resources

GOSALES.zip

Oracle Databases and Files

Database or schema description

File name

Great Outdoors sales

GOSALES.dmp.gz

Great Outdoors retailers

GOSALESRT.dmp.gz

Great Outdoors sales data warehouse

GOSALESDW. dmp.gz

Great Outdoors market research

GOSALESMR. dmp.gz

Great Outdoors human resources

GOSALESHR. dmp.gz

DB2 Databases and Files

Database or schema description

File name

Great Outdoors sales

GS_DB.tar.gz

Great Outdoors retailers

GS_DB.tar.gz

Great Outdoors sales data warehouse

GS_DB.tar.gz

Great Outdoors market research

GS_DB.tar.gz

Great Outdoors human resources

GS_DB.tar.gz

When restoring the samples databases, ensure that you do the following:

Oracle Considerations

To create foreign key constraints in tables that reference different schemas, you must run gs_or_modify.sql, found in the same folder as the .dmp files.

SQL Server Considerations

If you restore the SQL Server backup files, you must use Microsoft SQL Server 2000 or Microsoft SQL Server 2005. Ensure that TCP/IP connectivity is used for the SQL server.

DB2 Considerations

Before you restore the Great Outdoors schemas contained in the DB2 move file on UNIX or Windows, extract the DB2 move file. On UNIX, extract the DB2 move file using the gnutar -xcvf DB2_move_filename or tar -xcvf DB2_move_filename command. If you use WinZip to extract the DB2 move file on Windows, ensure that the TAR file smart CR/LF conversion option is not selected.

After extracting the DB2 move file, restore the schemas to a database named GS_DB.

To add views, constraints, user privileges, and stored procedures to GS_DB, prepare and run the gs_db_modify files included with the samples in the following order:

Steps
  1. On the computer where IBM Cognos 8 is installed, go to the sql server, oracle, or db2 directory located in c8_location /webcontent/samples/datasources.

  2. If required, copy the backup files for the samples databases to your database backup directory.

    To ensure the security and integrity of IBM Cognos 8, copy the files to a directory that is protected from unauthorized or inappropriate access.

  3. Restore the samples databases using your database management tool.

    Tips:

  4. For each database, create at least one user who has select permissions for all the tables in the restored databases.

You can now create the data source connections in the portal.

Create Data Source Connections to the Samples Databases

You must create data source connections to the samples databases that you restored. IBM Cognos 8 uses this information to connect to the samples databases and run the sample reports or use the sample package.

The DB2 database name that you type must use uppercase letters. Also, in Framework Manager, the schema names that you type for the DB2 data sources must use uppercase letters.

Before you create the data source connections, you must restore the backup files for the samples databases. Also, ensure that the IBM Cognos 8 service is running.

To create data sources, you must have execute permissions for the Data Source Connections secured feature and traverse permissions for the Administration secured function.

Steps
  1. Open IBM Cognos Connection by connecting to the IBM Cognos 8 portal and clicking IBM Cognos Content on the Welcome page.

  2. In the upper-right corner, click Launch, IBM Cognos Administration.

  3. Click the Configuration tab.

  4. Click the new data source button .

  5. In the Name box, type great_outdoors_sales and then click Next.

  6. In the connection page, click the type of database that you restored and want to connect to, select an isolation level, and then click Next.

    The connection string page for the selected database appears.

    Tip: The user specified in the great_outdoors_sales data source must have select privileges on the tables in each of the GOSALES, GOSALESRT, GOSALESMR, AND GOSALESHR schemas .

  7. Do one of the following:

  8. Under Signons, select the both Password and Create a signon that the Everyone group can use check boxes, type the user ID and password for the user that you created when you restored the databases, and then click Finish.

    Tip: To test whether the parameters are correct, click Test the connection....

  9. Click Finish.

  10. Repeat steps 4 to 9 for the GOSALESDW samples database or schema, and type great_outdoors_warehouse in step 5.

  11. If the GOSALES model will be used by modelers in IBM Cognos 8 Transformer, the connection string must be manually added to the cs7g.ini file.

    For more information, see Add IBM Cognos Series 7 Data Sources to Transformer.

The Great Outdoors data source connections appear as entries in Data Source Connections.

You can now import the samples unless there is a syntax error in the connection string or an incorrect parameter.

Set Up Microsoft Analysis Services Cube Samples

IBM Cognos Connection or Framework Manager provides sample cubes for Microsoft Analysis Services (MSAS).

For finance data, use the GO Finance Fact cube derived from the GOSALESDW database. This cube contains year-to-date and monthly financial data for all accounts so that you can create financial statements in Analysis Studio, Query Studio, and Report Studio. The data is in actual US dollars submissions for 2004, 2005, 2006, or 2007 (7 months actual data only).

The MSAS2000 version of the finance cube and database is in the GOFinanceFact_XX.cab file. The MSAS2005 version is in the GOFinanceFact_XX.abf file. XX represents the language. For example, XX is replaced with EN which indicates English.

For sales data, use the GOSalesFact cube derived from the GOSalesFact_XX Analysis Services database, based on the GOSALESDW SQLSERVER Database. The cube contains measures such as unit cost, unit price, quantity, and gross profit. Dimensions include Time, Product, and Retailers.

The MSAS2000 version of the sales cube and database is archived in the GOSalesFact_XX.cab. The MSAS2005 version is in the GOSalesFact_XX.abf restorable backup file.

The backup files are located in the c8_location/webcontent/samples/datasources/cubes/MSAS directory. The files must be restored to a Microsoft SQL Server database running the applicable Microsoft Analysis Services . and hosting the GOSALESDW database.

Note: Both Microsoft XML 6.0 Parser and Microsoft SQL 2005 Analysis Services 9.00 OLEDB Provider must be installed on the local client to establish data source connections to MSAS cubes.

Steps
  1. On the computer where IBM Cognos 8 is installed, go to the c8_location/webcontent/samples/datasources/cubes/MSAS/en directory.

  2. Copy the GOSALESDW.cab and GOSALESDW.abf files to a directory that you can access from the Analysis Manager console in the Analysis Servers of Microsoft SQL Server.

  3. Use the Microsoft Analysis Services Analysis Manager to restore the database from the GOSALESDW.cab and GOSALESDW.abf files.

You can now create the data source connections using either the GOSalesFact_XX or GOFinanceFact_XX cubes .

Set Up the Essbase Cube Sample

To set up the Essbase cube sample, you must have Hyperion Essbase and Essbase Integration Services Console installed.

Alternatively, you can set up the smaller Essbase cube GODBReduced.zip which is a filtered version of the full version, GODWENU. To set up the small version, unzip GODBReduced.zip, load the OTL and txt file in the Essbase environment, and perform the same steps shown below.

Steps
  1. Go to the c8_location\webcontent\samples\datasources\cubes\Essbase\Outlines_and_Raw_Data directory.

    This directory contains zip files for the different languages, such as EN.zip or JA.zip for English and Japanese, respectively.

  2. Unzip the file for your language.

    Each zip file contains the following two files:

  3. Using block storage in Essbase, create a Unicode application.

  4. Within the application, create a new database.

    You can use GODWlanguageU, such as GODWENU or GODWJAU, as your database name, or use the name of your choice.

  5. Copy and paste the GODWlanguageU.otl file in your database directory.

  6. If the database name specified in step 4 is different than GODWlanguageU, rename the GODWlanguageU.otl file to match the database name that you created.

    Confirm that you want to overwrite the .otl file.

  7. In Essbase Administration Services console, open your database outline and save it.

    Confirm that you want to save the outline even if it was not changed.

  8. Copy the languageU_Data.txt file and paste it in the same directory as the .otl file.

  9. In Essbase Administration Services console, right-click the database you created and select Load Data.

  10. Browse to the languageU_Data.txt file in your database directory, select the file, and click OK.

  11. After the data loads successfully, right-click the database and select Execute Calculation.

  12. Select the default calculation, and click OK.

    The calculation process may take up to 5 hours, depending on the computer where Essbase OLAP Server is installed.

You can now create a data source connection to the cube.

Create Data Source Connections to OLAP Data Sources

IBM Cognos 8 provides the following OLAP samples:

You must create data source connections to the cubes to use the samples. You must set up the Microsoft Analysis Services cube samples or set up the Essbase cube sample, if you are using them, before creating data source connections.

You can increase the read cache size to improve query performance, although this setting has no effect on the initial time required to open a cube.

To create data sources, you must have execute permissions for the Data Source Connections secured feature, and traverse permissions for the Administration secured function.

Steps for PowerCubes
  1. Open IBM Cognos Connection by connecting to the IBM Cognos 8 portal and clicking IBM Cognos Content on the Welcome page.

  2. In the upper-right corner, click Launch, IBM Cognos Administration.

  3. On the Configuration tab, click Data Source Connections.

  4. Click the new data source button.

    Note: You must add a data source connection for each cube.

  5. To create a data source connection for the Sales and Marketing cube, type sales_and_marketing in the Name box, and then click Next.

    You can define a Windows path or a UNIX path.

    If you define a UNIX path and you plan to use Framework Manager, you must also define the Windows path and ensure that the cube is also available in the Windows location. Framework Manager can access cubes only from Windows locations.

  6. In the connection page, under Type click IBM Cognos PowerCube.

    The connection string page for the selected database appears.

  7. In the Read cache size (MB) box, type the cache size of the cube in megabytes.

    If you leave this field blank or type 0, IBM Cognos Connection uses the default value in the ppds_cfg.xml file in the configuration folder.

  8. In the Windows location box, type the location and name of the Sales_and_Marketing.mdc file for the data source connection. For example, type

    c8_location/webcontent/samples/datasources/cubes/PowerCubes/En/Sales_and_Marketing.mdc

  9. To test whether the parameters are correct, click Test.

  10. Click Finish.

You can now import the sample package for the PowerCube to use this data source.

Steps for Essbase/DB2 Cubes
  1. Open Framework Manager.

  2. Click Create a new project.

  3. In the New Project page, specify a name and location for the project.

  4. In the Select Language page, click the design language for the project.

  5. Click OK.

    The Metadata wizard appears.

  6. In the connection page, under type click Hyperion Essbase/IBM DB2 OLAP Server, select an isolation level, and then click Next.

    The connection string page for the selected database appears.

  7. In the Server name box, type the name of the server.

  8. To test whether the parameters are correct, click Test.

  9. Click Finish.

To use this data source, you must create a package using this data source in Framework Manager, and then publish the package.

Steps for Microsoft Analysis Service Cubes
  1. Open IBM Cognos Connection by connecting to the IBM Cognos 8 portal and clicking IBM Cognos Content on the Welcome page.

  2. In the upper-right corner, click Launch, IBM Cognos Administration.

  3. On the Configuration tab, click New Data Source.

  4. In the Name box, type the name of the data source connection, and then click Next.

  5. In the Specify Connection page of the New Datasource Wizard, click Microsoft Analysis Services 2005 or click Microsoft Analysis Services (via ODBO) as appropriate to the cube you are accessing.

  6. Click Next.

  7. In the Server Name box, type the name of the server where the restored databases are located. Back slashes are not required.

  8. Under Signon, select the Password check box and then select the Create a signon that the Everyone group can use check box. Type the user ID and password for the MSAS database. For MSAS2005, this is a network login.

  9. Click Test the connection, and then click the Test button. Click Close.

  10. Click Finish. You are now prompted to create a package.

    Alternatively, you can deploy an existing package from a sample deployment archive. The names of the deployment archives match the datasource connection names specified in step 4 and contain sample reports that work with the associated cubes.

    In Content Administration on the Configuration tab in IBM Cognos Administration, click New Import. The New Import Wizard prompts you to select a deployment archive. When you select a deployment archive, it is important to click Edit and specify a target name for the package to prevent an existing package from being overwritten.

  11. To create a package, check Create a Package and then click OK.

  12. Specify a package name and then click OK.

  13. Specify the Analysis Services database you restored either GOFinanceFact_XX or GoSalesFact_XX:

  14. Click the cube applicable to the database.

  15. Click Finish.

Set Up the Metric Studio Sample

To set up the Metric Studio sample, do the following:

      Create a metric store named GOMETRIC.
      

Create a new metric package named GO Metrics that uses the GOMETRIC metric store.

For the data source name, type go_metrics. When prompted by the wizard, select the standard Gregorian calendar and accept the defaults for Years, Quarters, and Months. Select January 1, 2004 as the start date for a period that includes the current year. For example, if it is the year 2008, use a period of at least 5 years.

For more information, see the section about metrics in the Administration and Security Guide.

      Set the import source.
      Import the metric data and files into the metric store.
Steps to Set the Import Source
  1. Copy all text files from the appropriate folder to the folder c8_location/deployment/cmm:

    Tip: You may need to create the cmm folder.

  2. In Public Folders, click GO Metrics.

  3. In Metric Studio, in the Tools list, click Import Sources.

  4. Click the Set Properties icon in the Actions column next to the Default Import Source.

  5. Under Metric Deployment Location, click cmm folder. This is the default deployment location.

  6. Click Include sub-directories.

  7. In the File format box, click 8.4.2.

  8. Under Character Set Encoding, select the appropriate encoding and click OK.

You can now use the GO Metrics package in Metric Studio.

Steps to Import Metric Data and Files into the Metric Store
  1. Choose whether to import the files into the metric store using IBM Cognos Connection or Metric Studio:

  2. Click the Import and transfer data from files into metric store metric task.

    Tip: If an error occurs, click Clear staging area rejected data logs, Clear metric history data only, and Clear metric history and calendar data.

You can now use the GO Metrics package in Metric Studio.

Import the Samples

To use the sample package and other content, you must import them from the sample deployment archive.

Before you import the Cognos_Samples.zip and Cognos_Metrics.zip deployment archives, you must restore the databases . You must also create data source connections to the samples databases .

Before you import the Cognos_PowerCube.zip or Cognos_PowerCube_Financial.zip deployment archive, you must create a database connection to the appropriate PowerCube and select the language that you want to use. The language that you select must be supported by your locale.

Steps
  1. Copy the zip file from the c8_location/webcontent/samples/content directory to the directory where your deployment archives are saved.

    The default location is c8_location/deployment. The location is set in the configuration tool. For information about changing the location, see the configuration tool online help.

  2. Open IBM Cognos Connection by connecting to the IBM Cognos 8 portal and clicking IBM Cognos Content on the Welcome page.

  3. In the upper-right corner, click Launch, IBM Cognos Administration.

  4. On the Configuration tab, click Content Administration.

    Note: To access this area in IBM Cognos Administration, you must have the required permissions for the Administration tasks secured feature.

  5. On the toolbar, click the new import button.

    The New Import wizard appears.

  6. In the Deployment Archive box, select Cognos_Samples, Cognos_PowerCube, Cognos_Metrics, or Cognos_Audit.

  7. Click Next.

  8. Type a unique name and an optional description and screen tip for the deployment archive, select the folder where you want to save it, and then click Next.

  9. In the Public Folders Content box, select the packages and folders that you want to import.

    The Cognos_Samples deployment archive has the following packages or folders:

    The Cognos_PowerCube deployment archive has packages or folders for the following languages:

    The GO_Metrics deployment archive has the following packages or folders:

  10. Select the options you want, along with your conflict resolution choice for options that you select, and then click Next.

  11. In the Specify the general options page, select whether to include access permissions and references to external namespaces, and who should own the entries after they are imported.

  12. Click Next.

    The summary information appears.

  13. Review the summary information and click Next.

  14. Select the action that you want:

  15. When the import is submitted, click Finish.

You can now use the sample packages to create reports and analyses in Report Studio, Query Studio, and Analysis Studio, view extracts in Metric Designer, or create agents in Event Studio. You can also run the sample reports that are available on the Public Folders tab in the portal.

Sample Database Models

The following sample models provide information for the fictional company, the Great Outdoors and are provided with IBM Cognos 8:

You can use sample database models on different platforms. For information about moving models from one platform to another, see the Framework Manager User Guide.

Note: Transformer 8 uses some of the reports in the GO Data warehouse (query) package and GO Sales (query) package as source data for various cubes. These reports are meant to be simple list reports with no formatting. The description information for the reports indicates if the report was developed to be source data for Transformer 8.

GO Sales Model

This model contains sales analysis information for the fictional company, The Great Outdoors. It also has the query items required by the Event Studio samples. The model accesses three schemas and has two packages. One package is based on the dimensional view and the other is baed on the query (relational) view.

GO Data Warehouse Model

This model contains financial, human resources, and sales and marketing information for the fictional company, The Great Outdoors. The model accesses a dimensional relational data source. The model has two packages. One package is based on the dimensional view, the other is based on the query (relational) view.

GO Sales Scriptplayer

These files can be used to run the action logs in sequence. This action generates a model named gosales_scriptplayer, and publishes a package to the content store.

Example - Running the Sample ELM Returns Agent Against Changed Data

You can change data in the GOSALES database if an Event Studio user wants to test the sample agent ELM Returns Agent. The Event Studio user can then run the sample agent twice and detect a new event. For more information, see the Event Studio User Guide.

Running the sample agent against changed data involves the following steps:

      

The Event Studio user runs the sample agent against the default data and then asks you to change the data.

      

You simulate the occurrence of some initial events and then ask the Event Studio user to run the sample agent a second time.

      

The Event Studio user runs the sample agent against the changed data. The Event Studio user informs you when the agent has completed running.

      

You simulate the passage of time and the resolution of some events and then ask the Event Studio user to run the sample agent a third time.

      

The Event Studio user runs the sample agent for the final time. The Event Studio user informs you when the agent has completed running.

      

You modify the data so that the ELM Returns Agent detects no events.

Example - Simulate the Occurrence of Initial Events

Run part of the Event_Studio_ELM_Agent_Modify_GOSALES.sql script to simulate the following data changes:

Steps
  1. In SQL Query Analyzer, from the File menu, click Open.

  2. Go to c8_location/webcontent/samples/datasources/sqlserver and double-click the Event_Studio_ELM_Agent_Modify_GOSALES.sql file.

  3. In the toolbar, from the list of databases, click GOSALES.

  4. In the Query window, under Part 1, select all sixteen lines of code.

  5. From the Query menu, click Execute.

The database is updated with the changes.

Example - Simulate the Passage of Time and the Resolution of Some Events

Run part of the Event_Studio_ELM_Agent_Modify_GOSALES.sql script to simulate data changes. First, change it so that two days elapsed since the ELM Returns Agent sample was last run. Second, for three of the four event instances found the last time that the ELM Returns Agent sample ran, change the follow-up code from -1 to +1. This indicates that only one of the these event instances still requires follow-up and the other instances are resolved.

Steps
  1. In SQL Query Analyzer, from the File menu, click Open.

  2. Go to c8_location/webcontent/samples/datasources/sqlserver and double-click the Event_Studio_ELM_Agent_Modify_GOSALES.sql file.

  3. On the toolbar, click GOSALES from the list of databases.

  4. In the Query window, under Part 2, select all lines of code that appear after the comments.

  5. From the Query menu, click Execute.

The database is updated with the changes.

Example - Modify the Data So That the ELM Returns Agent Detects No Events

When the Event Studio user finishes running the sample ELM Returns Agent against changed data, they should notify you. You can then modify the GOSALES database so that the agent no longer detects any event instances.

Step

The data is modified. The sample ELM Returns Agent is ready to be used by another Event Studio User.

Remove the Samples Databases from IBM Cognos 8

After you finish using the sample reports to learn about IBM Cognos 8, including Framework Manager, you can delete the packages on which the samples are based. This action permanently removes the samples from the content store.

Steps
  1. Open IBM Cognos Connection by connecting to the IBM Cognos 8 portal and clicking IBM Cognos Content on the Welcome page.

  2. Click the Public Folders tab.

  3. Select the check box for the sample package you want to delete.

  4. Click the delete button on the toolbar, and click OK.

    To use the samples again, you must set up the samples.