DAC
DAC
Copyright 2005, 2006, Oracle. All rights reserved. The Programs (which include both the software and documentation) contain proprietary information; they are provided under a license agreement containing restrictions on use and disclosure and are also protected by copyright, patent, and other intellectual and industrial property laws. Reverse engineering, disassembly, or decompilation of the Programs, except to the extent required to obtain interoperability with other independently created software or as specified by law, is prohibited. The information contained in this document is subject to change without notice. If you find any problems in the documentation, please report them to us in writing. This document is not warranted to be errorfree. Except as may be expressly permitted in your license agreement for these Programs, no part of these Programs may be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose. PRODUCT MODULES AND OPTIONS. This guide contains descriptions of modules that are optional and for which you may not have purchased a license. Siebels Sample Database also includes data related to these optional modules. As a result, your software implementation may differ from descriptions in this guide. To find out more about the modules your organization has purchased, see your corporate purchasing agent or your Siebel sales representative. If the Programs are delivered to the United States Government or anyone licensing or using the Programs on behalf of the United States Government, the following notice is applicable: U.S. GOVERNMENT RIGHTS. Programs, software, databases, and related documentation and technical data delivered to U.S. Government customers are "commercial computer software" or "commercial technical data" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, use, duplication, disclosure, modification, and adaptation of the Programs, including documentation and technical data, shall be subject to the licensing restrictions set forth in the applicable Oracle license agreement, and, to the extent applicable, the additional rights set forth in FAR 52.227-19, Commercial Computer Software--Restricted Rights (June 1987). Oracle USA, Inc., 500 Oracle Parkway, Redwood City, CA 94065. The Programs are not intended for use in any nuclear, aviation, mass transit, medical, or other inherently dangerous applications. It shall be the licensee's responsibility to take all appropriate fail-safe, backup, redundancy and other measures to ensure the safe use of such applications if the Programs are used for such purposes, and we disclaim liability for any damages caused by such use of the Programs. Oracle, JD Edwards, PeopleSoft, and Siebel are registered trademarks of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. The Programs may provide links to Web sites and access to content, products, and services from third parties. Oracle is not responsible for the availability of, or any content provided on, third-party Web sites. You bear all risks associated with the use of such content. If you choose to purchase any products or services from a third party, the relationship is directly between you and the third party. Oracle is not responsible for: (a) the quality of third-party products or services; or (b) fulfilling any of the terms of the agreement with the third party, including delivery of products or services and warranty obligations related to purchased products or services. Oracle is not responsible for any loss or damage of any sort that you may incur from dealing with any third party.
Contents
Chapter 1: Whats New in This Release Chapter 2: Overview of Analytics Product Licensing
Analytics Product Licensing 17
24
IBM DB2 UDB zOS and OS/390-Specific Database Guidelines for Siebel Data Warehouse 37 Oracle-Specific Database Guidelines for Siebel Data Warehouse 38 Additional Suggestions for Optimizing Oracle Performance in Siebel Data Warehouse 42 SQL Server-Specific Database Guidelines for Siebel Data Warehouse Teradata-Specific Database Guidelines for Siebel Data Warehouse 43 48
Deploying Siebel Data Warehouse in Latin-1 General, Unicode and Non-English Environments 48
Code Page Overview 49
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Contents
Source and Data Warehouse Code Pages for Latin-1 General (7-bit ASCII) to Latin-1 General (7-bit ASCII) 50 Source and Data Warehouse Code Pages for Latin-1 General (8-bit ASCII) to Latin-1 General (8-bit ASCII) 51 Source and Data Warehouse Code Pages for Unicode to Unicode 53 Source and Data Warehouse Code Pages for Code Page to Unicode 55 Source and Data Warehouse Code Pages for Code Page to Code Page 56 Setting the NLS_LANG Environment Variable for Oracle Databases 58 Setting the DB2CODEPAGE Environment Variable for DB2 Databases 59
Analytics Applications Installation and Configuration Process Task List Running the Analytics Applications Installation Wizard (Windows) Installing the Informatica Patches on Windows Setting Informatica Data Code Pages Validation Installing the Java SDK 69 69
70
Configuring the DAC Config.bat File 69 Installing JDBC Drivers for DAC Database Connectivity
71 72
Setting Up DAC System Properties 73 Creating ODBC Database Connections 77 Creating Transactional and Data Warehouse Database Connections Registering Informatica Servers in the DAC Client 80 Configuring Email Recipients in the DAC Client 81 Activating Join Indices for Teradata Databases 81
79
82
Creating the SSE Role 82 Creating Data Warehouse Tables 82 Creating and Dropping Data Warehouse Tables on a Teradata Database
83
84 86
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Contents
87 88 89
Setting Up the Informatica Repository Server 89 Starting the Informatica Repository Server 90 Creating or Restoring the Informatica Repository 90 Dropping the Informatica Repository (Optional) 92 Registering the Informatica Repository Server in Repository Server Administration Console 93 Pointing to the Informatica Repository 93 Configuring the Informatica Repository in the DAC 95 Configuring the Informatica Repository in Workflow Manager 98
Setting the Code Page File Property for Unicode Environments on Teradata Databases 98 Setting Up the HOSTS File for Teradata Installations on Windows Verifying the Informatica Repository Configuration Starting the Informatica Server Setting DAC ETL Preferences Configuring the DAC Server 100 100 102
103
99
99
Configuring the Connection between the DAC Server and DAC Repository Configuring Email in the DAC Server (Optional) 103
104
104
107 108
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Contents
Updating the Informatica License Files on UNIX Installing the Informatica Patches on UNIX 124
Setting Environment Variables for the Informatica Server on UNIX Setting Up the HOSTS File for Teradata Installations on UNIX Starting the Informatica Repository Server on UNIX Stopping the Informatica Repository Server on UNIX Configuring the DAC Server on UNIX 128 130 130 Starting the Informatica Server on UNIX Stopping the Informatica Server on UNIX Starting the DAC Server on UNIX Stopping the DAC Server on UNIX 131 131 127 127
132
133
145 145
Pruning Execution Plans in the DAC 147 Pruning Subject Areas in the DAC 147 Pruning Table Groups in the DAC 147 Pruning Tasks and Dependencies in the DAC 149 Disabling DAC Repository Entities 149 Using the DAC Preview Functionality to View Tasks and Dependencies
150
152 153
DAC Query Commands and Operators 153 DAC Query Examples 154 Common DAC Query Procedures 154
6 Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Contents
Setting Up Command Line Access to the DAC Server 158 Using the Command Line to Access the DAC Server 159
Handling ETL Failures with the DAC Using the Change Capture Filter DAC Common Tasks 165
160 163
162
Replacing an Informatica Workflow with a Custom SQL File 166 Determining the Informatica Server Maximum Sessions Parameter Setting 166 Determining the Number of Transactional and Data Warehouse Database Connections 167 Running Two DAC Servers on the Same Machine 168 Tracking Deleted Records 169 Customizing Index and Analyze Table Syntaxes 171
189
190
System Properties Tab 191 Informatica Servers Tab 191 Database Connections Tab 191 Email Recipients Tab 193
194
194
Execution Plans (Read Only) Tab Current Run Tab 194 Run History Tab 197 Scheduler Tab 197 Validation Tab 199
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Contents
About Siebel Data Warehouse Extension Tables 203 About the Siebel Data Warehouse DATASRC_NUM_ID Column 205 Working with the Custom Folder of the Siebel Data Warehouse 205 Creating Custom Informatica Workflows 205 Important Notes About Siebel Data Warehouse Customizations 207
Standard Templates for Siebel Data Warehouse Customizations Fact Templates for Siebel Data Warehouse Customizations Customization Steps for Siebel Data 210 210
209
Adding a Column from a Main Source Table in the Siebel Transactional Database 211 Adding a Column from a Related Source Table in the Siebel Transactional Database 211 Including a Source Table for Change Capture Process 212 Modifying an Existing Column in the Siebel Data Warehouse 213 Adding a New Dimension in the Siebel Data Warehouse 213 Adding a New Fact Table in the Siebel Data Warehouse 214 Adding a New Dimension Table for a New Fact Table in the Siebel Data Warehouse 215
215
Adding New Data as a Whole Row into the Standard Dimension Table in Siebel Data Warehouse 216 Adding New Data as a Whole Row into the Standard Fact Table in Siebel Data Warehouse 218 Adding a Column in a Standard Dimension Table in Siebel Data Warehouse 223 Adding a Column for a Standard Fact Table in Siebel Data Warehouse 224 Building a Custom Dimension Table from External Sources in Siebel Data Warehouse 225 Linking the Custom Dimension to a Standard Fact Table in Siebel Data Warehouse 225 Building Custom Fact Tables from External Sources in Siebel Data Warehouse 226
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Contents
251
277 278
Updating the Siebel Operational Application 281 Reapplying Customized Style Sheets 282 Process of Configuring Siebel Business Analytics with Siebel Web Extension (SWE) 283 Creating a Virtual IP Address for the SWE and Analytics Web 284 Testing the Virtual IP Configuration for Siebel Business Analytics and the SWE 284 Process of Configuring Analytics Action Links 285 Configuring Action Links Containing Single Quotation Marks 285 Testing Analytics Action Links 286 Process of Integrating Analytics and Siebel Operational Applications 286
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Contents
Accessing Optional Analytics Applications 286 Configuring the Browser Settings for Operational Applications 288 Process of Customizing Analytics Application Home Page and Dashboards 288 Customizing Analytics Content on the Siebel Operational Application Home Page 289 Determining the Analytics Report Path Argument 290 Adding Views for Custom Analytics Dashboards 290 Verifying NQHOST Setup for Pharma Mobile Analytics Client 291 Integrating the Pharma Application Home Page with the Pharma Mobile Analytics Client 293 Importing Pharma Application Target Lists to the Pharma Mobile Analytics Client 294
Implementing Data-Level Security in the Analytics Application Repository Initialization Blocks and Security-Related Information in Analytics Filters for Analytics Security Groups 303 303 Configuring Analytics Repository Table Joins for Security
Position and Organization Initialization Variables in Analytics Applications Responsibilities and Data-Level Visibility in Sales Analytics Applications
Changing the Security Group from Position-Based to Organization-Based in Analytics 309 Metadata Object-Level Security in Analytics Applications Consumer Sector Analytics Security Settings Financial Services Analytics Security Settings Pharma Sales Analytics Security Settings 322 324 Usage Accelerator Analytics Security Settings 318 319 320 309 311 Siebel Partner Relationship Management Analytics Security Settings
10
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Contents
Externalizing Financial Services Metadata Translation Strings Disabling the Finance Analytics Logical Table Sources Enabling Dashboard Forecasting Charts 330 331 332 Developing and Deploying Predictive Scores 330
329
332
341
Syndicated Loading Definitions 347 Data Types Supported in the Siebel Data Warehouse 348 Loading Syndicated Data into the Siebel Data Warehouse 349
400 401
Index
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
11
Contents
12
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Whats New in Siebel Business Analytics Applications Installation and Administration Guide, Version 7.8.4
Table 1 lists changes described in this version of the documentation to support Release 7.8.4 of the software.
Table 1. Topic
Whats New in Siebel Business Analytics Applications Installation and Administration Guide, Version 7.8.4 Description Added information for Oracle 10g database version. Added this procedure. Added this procedure. Revised this procedure. Revised this procedure. Added this procedure. Added information about new features. Revised Analytics Bridge Applications compatibility table. Corrected information in this topic. Removed these procedures. NOTE: The Teradata patch is not required if you are using Informatica version 7.1.2 or later. It is only required if you are using Informatica version 6.2.2 or earlier. Moved this chapter into the Siebel Business Analytics Applications Upgrade Guide.
Oracle-Specific Database Guidelines for Siebel Data Warehouse on page 38 Configuring DAC to Support SQL Server 2005 on page 44 Connecting from DAC to SQL Server Using Dynamic Port Allocation on page 45 Copying Database Parameter Files on page 87 Updating Siebel Transactional Database Schema Definitions on page 104 Stopping the Informatica Repository Server on UNIX on page 127 About the DAC Task Definitions Tab on page 184 Overview of Analytics Bridge Applications on page 255 Importing Syndicated Data into Siebel Data Warehouse on page 346 Installing the Teradata Patch on Windows Installing the Teradata Patch on UNIX
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
13
Whats New in Siebel Business Analytics Applications Installation and Administration Guide, Version 7.8.3
Table 2 lists changes described in this version of the documentation to support Release 7.8.3 of the software.
Table 2. Topic
Whats New in Siebel Business Analytics Applications Installation and Administration Guide, Version 7.8.3 Description Corrected information about the required version of Informatica Server and Informatica Repository Server. Added new topic about 8-bit ASCII code pages.
Operating System, Driver, and Connectivity Requirements for Siebel Data Warehouse on page 33 Source and Data Warehouse Code Pages for Latin-1 General (8-bit ASCII) to Latin-1 General (8-bit ASCII) on page 51 Analytics Applications Installation and Configuration Flow on page 63 Localizing Siebel Business Analytics Deployments on page 269
Revised installation flow diagram to show the Siebel Analytics platform must be installed before installing Oracles Siebel Analytics Applications. Moved this appendix from Siebel Analytics Platform Installation and Configuration Guide into Siebel Business Analytics Applications Installation and Administration Guide. Moved this appendix from Siebel Analytics Platform Installation and Configuration Guide into Siebel Business Analytics Applications Installation and Administration Guide. Moved this appendix from Siebel Analytics Platform Installation and Configuration Guide into Siebel Business Analytics Applications Installation and Administration Guide. Moved this appendix from Siebel Analytics Platform Installation and Configuration Guide into Siebel Business Analytics Applications Installation and Administration Guide. Extensively revised information about syndicated data loading.
Siebel Data Warehouse for Life Sciences Data Considerations on page 345
Whats New in Siebel Business Analytics Applications Installation and Administration Guide, Version 7.8.2
Table 3 lists changes described in this version of the documentation to support Release 7.8.2 of the software.
14
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Table 3. Topic
Whats New in Siebel Business Analytics Applications Installation and Administration Guide, Version 7.8.2. Description The name of the Siebel Data Warehouse Installation and Administration Guide changed to Siebel Business Analytics Applications Installation and Administration Guide. Added new chapter that describes the licensing options available for Siebel Analytics Platform and Siebel Analytics Applications. Added new instructions for installing Siebel Analytics Applications. Added new instructions for installing Informatica PowerCenter 7.1.2. Revised procedure for new version of Informatica. Revised procedure for new version of Informatica. Revised procedure for new version of Informatica. Updated SIF file information. Added new checklist for Teradata installations.
Overview of Analytics Product Licensing on page 17 Running the Analytics Applications Installation Wizard (Windows) on page 65 Running the Informatica PowerCenter Installation Wizard (Windows) on page 66 Setting Up the Informatica Server on page 84 Setting Up the Informatica Repository Server on page 89 Pointing to the Informatica Repository on page 93 Updating Siebel Transactional Database Schema Definitions on page 104 Teradata-Specific Installation and Configuration Checklist (Windows) on page 108 Installing and Configuring the Informatica Repository Server on UNIX on page 115 Installing and Configuring the Informatica Server on UNIX on page 117 Updating the Informatica License Files on UNIX on page 124 Teradata-Specific Installation and Configuration Checklist for UNIX on page 132 Upgrading Siebel Analytics Applications and Data Warehouse on page 135 Analytics Bridge Applications on page 255
Revised procedure for new version of Informatica. Revised procedure for new version of Informatica. Added procedure required for new version of Informatica. Added new checklist for Teradata installations.
Revised information on upgrading to Siebel Analytics Applications version 7.8.2. Revised information on the Siebel Analytics Bridge applications.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
15
The features listed in Table 4 were introduced in Version 7.8.1, the Limited Distribution release of the software.
Table 4. Topic
Whats New in Siebel Data Warehouse Installation and Administration Guide, Version 7.8.1 Description Added description of new DAC system properties: Verify and Create Non-Existing Indices Drop and Create Change Capture Views Always
Creating Transactional and Data Warehouse Database Connections on page 79 Comparing and Merging DAC Repositories on page 163 Replacing an Informatica Workflow with a Custom SQL File on page 166 Determining the Informatica Server Maximum Sessions Parameter Setting on page 166 Determining the Number of Transactional and Data Warehouse Database Connections on page 167 Running Two DAC Servers on the Same Machine on page 168 Tracking Deleted Records on page 169 Customizing Index and Analyze Table Syntaxes on page 171 About the DAC Indices Tab on page 181
Added new topic. Added new topic. Added new topic. Added new topic.
Added new topic. Added new topic. Added new topic. Added description of new Always Drop & Create column on the Indices tab. Added description of new Index Override column on the Databases subtab of the Indices tab.
Siebel Data Warehouse for Life Sciences Data Considerations on page 345
16
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
This chapter provides an overview of Oracles Siebel Business Analytics product licensing. It includes the following topic: Analytics Product Licensing on page 17.
Table 5.
Siebel Business Analytics Platform Components Siebel Business Analytics Server Siebel Business Analytics Web Server Siebel Business Analytics Scheduler Server Siebel Data Warehouse Administration Console (Client and Server) Related component programs: Siebel Business Analytics Administration Tool Siebel Business Analytics Catalog Manager Siebel Business Analytics ODBC Client Siebel Business Analytics Client Tools
The following documentation is applicable to the Siebel Business Analytics platform: Siebel Analytics Platform Installation and Configuration Guide. This guide provides information about the installation and configuration of the Siebel Analytics platform. Siebel Business Analytics Web Administration Guide. This guide provides post-installation configuration and administration procedures for Siebel Answers, Siebel Delivers, Siebel Intelligence Dashboards, the Analytics Web Catalog, and the Analytics Web Server. Siebel Business Analytics Server Administration Guide. This guide provides information about administration of the Analytics Server, Analytics repository files, and Mobile Analytics.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
17
You must install the Siebel Business Analytics platform before you install the Siebel Business Analytics Applications products.
Siebel Business Analytics Applications (CRM) These Analytics applications support Siebel CRM applications, such as Siebel Sales, Siebel Service, and Siebel Marketing. If you already own a Siebel CRM application, you can purchase Siebel Business Analytics platform and Siebel Business Analytics Applications to work with the Siebel CRM application. The Analytics CRM applications consist of the components shown in Table 6.
Table 6.
Siebel Business Analytics Applications (CRM) Components Description This content includes repository objects such as tables, subject areas, execution plans, and tasks, and is contained in XML files. This is a third-party application that performs the extract, transform, and load operations for the Data Warehouse. This content includes Extract-Transform-Load (ETL) repository objects, such as mappings, sessions, and workflows, and is contained in the Informatica repository file (Siebel_DW_Rep.rep). This metadata content is contained in the Siebel Analytics repository file (SiebelAnalytics.rpd). This content is contained in the Siebel Analytics Web Catalog file (SiebelAnalytics.webcat). The Siebel Relationship Management Warehouse (RMW) is also referred to as the Siebel Data Warehouse.
Prebuilt metadata content Prebuilt reports and dashboard content Prebuilt Siebel Data Warehouse
The Siebel Business Analytics Applications Installation and Administration Guide provides installation and configuration information about the Analytics Applications components referred to above. It also covers the configuration and administration of the Data Warehouse Administration Console (DAC).
18
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Siebel Enterprise Analytics Applications Siebel Enterprise Analytics Applications are analytics applications that provide complete support for enterprise data, including financial, supply chain, and workforce sources. These enterprise applications typically source from non-Siebel data sources (such as SAP, Oracle, or PeopleSoft). They are separate products and licensed separately from the Siebel Business Analytics Applications (CRM). Siebel Enterprise Analytics Applications do not interoperate directly with Siebel Business Applications, but they can be integrated with Siebel CRM solutions. Siebel Enterprise Analytics Applications components are shown in table Table 7.
Table 7.
Prebuilt metadata content Prebuilt reports and dashboard content Prebuilt Siebel Customer-Centric Enterprise Warehouse
This metadata content is contained in the Siebel Analytics repository file (SiebelAnalytics.rpd). This content is contained in the Siebel Analytics Web Catalog file (SiebelAnalytics.webcat). NOTE: This data warehouse is not to be confused with the Siebel Relationship Management Warehouse (RMW) or Siebel Data Warehouse.
The Siebel Customer-Centric Enterprise Warehouse Installation and Configuration Guide provides installation and configuration information about the Siebel Analytic Applications (Enterprise) product.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
19
20
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
This chapter provides an overview of Oracles Siebel Data Warehouse. It includes the following topics: Siebel Data Warehouse Overview on page 21 Siebel Data Warehouse Architecture on page 22 About the Data Warehouse Application Console on page 24
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
21
Figure 1.
22
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Figure 2.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
23
Overview of Siebel Data Warehouse About the Data Warehouse Application Console
Informatica client utilities. Tools that allow you to create and manage the Informatica repository.
24
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Overview of Siebel Data Warehouse About the Data Warehouse Application Console
The DAC complements the Informatica ETL platform. It provides application-specific capabilities that are not pre-built into ETL platforms. For example, ETL platforms are not aware of the semantics of the subject areas being populated in the data warehouse nor the method in which they are populated. The DAC provides these application capabilities at a layer of abstraction above the ETL execution platform, as illustrated in Figure 3.
Figure 3.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
25
Overview of Siebel Data Warehouse About the Data Warehouse Application Console
Manage metadata driven dependencies and relationships Generate custom ETL execution plans Automate change capture for the Siebel transactional database Capture deleted records Assist in index management Perform metadata validation checks Perform dry-run development and testing Provide in-context documentation
Provide reporting and monitoring to isolate bottlenecks Perform error monitoring and email alerting Perform structured ETL analysis and reporting
Utilize performance execution techniques Automate full and refresh mode optimization rules Set the level of Informatica session concurrency Load balance across multiple Informatica servers Restart from point of failure
26
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Overview of Siebel Data Warehouse About the Data Warehouse Application Console
Queue execution tasks for performance (See Figure 4.) The DAC manages the task execution queue based on metadata driven priorities and scores computed at runtime. This combination allows for flexible and optimized execution.
Figure 4.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
27
Overview of Siebel Data Warehouse About the Data Warehouse Application Console
Subject area. A logical grouping of table groups that is related to a particular subject or application context. The subject area derives its component tables indirectly from the table group. Subject Area definitions are used for scheduling. A subject area or set of subject areas can be scheduled for full or incremental loads on a single time schedule. Execution plan. A data transformation plan defined on subject areas that need to be transformed at certain frequencies of time. An execution plan is defined based on business requirements for when the data warehouse needs to be loaded. Execution plans are scheduled in sequence, not in parallel. Task. A Task can be related to data transformation or database objects. Tasks typically operate on a set of database tables, but they can be independent of the database, for example, creating a file or executing an OS command. Tasks can be of different types, such as extract, load, or batch script, and so on, and can be classified as pre-ETL or post-ETL. Dependency Rule. A rule that determines the order in which tasks are executed. Dependency rules are defined to determine the sequence of when tasks can run, ensuring that data consistency is maintained for the warehouse. Dependency rules are defined at the task level. Schedule. A schedule specifies when and how often an execution plan runs. An execution plan can be scheduled for different frequencies or recurrences by defining multiple schedules.
Figure 5.
28
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Overview of Siebel Data Warehouse About the Data Warehouse Application Console
Figure 6.
The phases of the process and the actions associated with them are as follows: Setup (Data warehouse developer)
Set up database connections Set up application and database servers Set up email recipients
Define scheduling parameters to execute data warehouse applications Deploy data warehouse applications Access run-time controls to restart or stop currently running schedules
Monitor run-time execution of data warehouse applications Monitor users, DAC repository, and application maintenance jobs
View the schedule diagnostics at run time or offline through log files Run Exception Report execution plans
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
29
Overview of Siebel Data Warehouse About the Data Warehouse Application Console
30
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
This chapter provides information about preparing to deploy Oracles Siebel Business Analytics Applications product. You should review this information before you begin the installation process. NOTE: To install the server components, the computers need to meet the conditions specified in System Requirements and Supported Platforms for Siebel Business Analytics Applications on Siebel SupportWeb. This chapter contains the following topics: Siebel Data Warehouse Deployment Configuration on page 32 Operating System, Driver, and Connectivity Requirements for Siebel Data Warehouse on page 33 IBM DB2 UDB-Specific Database Guidelines for Siebel Data Warehouse on page 36 IBM DB2 UDB zOS and OS/390-Specific Database Guidelines for Siebel Data Warehouse on page 37 Oracle-Specific Database Guidelines for Siebel Data Warehouse on page 38 Additional Suggestions for Optimizing Oracle Performance in Siebel Data Warehouse on page 42 SQL Server-Specific Database Guidelines for Siebel Data Warehouse on page 43 Deploying Siebel Data Warehouse in Latin-1 General, Unicode and Non-English Environments on page 48
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
31
Preinstallation Considerations for Analytics Applications Siebel Data Warehouse Deployment Configuration
Figure 7.
Component 1 hosts all the ETL servers, that is, the Informatica Server, Informatica Repository Server, and the DAC server. NOTE: You can install the Informatica Server on other machines as well to increase performance. The other ETL servers can also be hosted on other machines.
Component 2 hosts all the ETL clients, that is, the Informatica client tools and the DAC client. Components 3 and 4 are database instances that can be hosted on one or more machines. The hardware requirements are entirely dependent on your usage and performance requirements. It is highly recommended that each of these components be defined in their own database instance to allow for instantiating parameters that are optimized for each components usage.
NOTE: For more detailed information about system requirements, see System Requirements and Supported Platforms for Siebel Business Analytics Applications on Siebel SupportWeb.
32
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Preinstallation Considerations for Analytics Applications Operating System, Driver, and Connectivity Requirements for Siebel Data Warehouse
Operating System, Driver, and Connectivity Requirements for Siebel Data Warehouse
Table 8 provides the operating system, driver, and connectivity software requirements for the Siebel Data Warehouse components. NOTE: For information about the supported versions of the components listed in Table 8, see System Requirements and Supported Platforms for Siebel Business Analytics Applications on Siebel SupportWeb.
Table 8.
OS, Driver and Connectivity Requirements for Siebel Data Warehouse Operating System Solaris AIX HP Windows Windows Software Informatica Server Informatica Repository Server DAC Server Informatica client tools DAC client Connectivity and Driver Java SDK JDBC drivers Javamail
2 ETL Clients
3 (A) Siebel DW
Not applicable
Not applicable
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
33
Preinstallation Considerations for Analytics Applications General Guidelines for Setting Up Siebel Data Warehouse
34
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Preinstallation Considerations for Analytics Applications General Guidelines for Setting Up Siebel Data Warehouse
If you are using multiple disk storage systems, stripe the tablespace containers and files across as many disks as possible. Raw devices for tablespaces provide better performance as compared to cooked file systems. RAID-5 is known to give a good balance of performance and availability. Size the bufferpools based on content and size (number of tables and their sizes) of tablespaces. Allocate about 75 percent of the total available server memory to the database, assuming no other application is running on the same server.
During the Siebel Data Warehouse configuration process, when you create the data warehouse tables using the procedure Creating Data Warehouse Tables on page 82, you can create tables in one tablespace and indices in another tablespace. However, for performance reasons, it is recommended that you create tablespaces as described in Table 9.
Table 9.
Recommended Tablespace Configuration List of Tables W_*DS W_*FS W_*D and W_*MD W_*F W_*A Remaining W* tables Indices of W_*D tables Indices of W_*F tables Remaining W* tables
Tablespace Name DIM_STG FACT_STG DIM FACT AGG OTHER DIM_INDX FACT_INDX OTHER_INDX
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
35
Preinstallation Considerations for Analytics Applications IBM DB2 UDB-Specific Database Guidelines for Siebel Data Warehouse
Table 10.
Recommended DB2 Parameter Settings DB2 UDB V7 400000 15 65535 16384 2048 400 10 200 YES 12288 N/A 16384 5558 2048 10000 16 DB2 UDB V8 400000 15 65535 16384 2048 400 10 200 YES 12288 =SHEAPTHRES 16384 5558 2048 10000 NIL Estore is not needed in DB2 V8 64-bit because the V7 limit of 1.75 GB addressable memory has been lifted. Notes
Parameter SHEAPTHRES ASLHEAPSZ RQRIOBLK QUERY_HEAP_SZ JAVA_HEAP_SZ MAXAGENTS NUM_INITAGENTS NUM_POOLAGENTS INTRA_PARALLEL FCM_NUM_BUFFERS SHEAPTHRES_SHR DBHEAP CATALOGCACHE_SZ LOGBUFSZ UTIL_HEAP_SZ NUM_ESTORE_SEGS
36
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Preinstallation Considerations for Analytics Applications IBM DB2 UDB zOS and OS/ 390-Specific Database Guidelines for Siebel Data Warehouse
Table 10.
Recommended DB2 Parameter Settings DB2 UDB V7 2560 2560 20000 10000 50 1200 500 10 500 N/A N/A N/A DB2 UDB V8 2560 2560 20000 10000 50 1200 500 10 500 70 30000 AUTOMATIC New in V8 New in V8 New in V8 Notes
Parameter APPLHEAPSZ PCKCACHESZ STAT_HEAP_SZ DLCHKTIME MAXLOCKS LOCKTIMEOUT MAXAPPLS AVG_APPLS MAXFILOP GROUPHEAP_RATIO APPGROUP_MEM_SZ DATABASE_MEMORY
IBM DB2 UDB zOS and OS/390-Specific Database Guidelines for Siebel Data Warehouse
The following requirements apply to IBM DB2 RDBMS usage for zOS and OS/390: The Analytics applications communicate with IBM DB2 UDB for z/OS and OS/390 (running on zSeries servers) through IBM DB2 Connect middleware. The following editions of DB2 Connect are supported:
DB2 Connect Enterprise Edition (EE). This edition is installed on a midtier server such as an Informatica Server/Client, DAC, and Siebel Business Analytics. DB2 Connect Unlimited Edition (UE). This edition provides the functionality of DB2 Connect Enterprise Edition but is priced differently.
The ODBC driver for all connections must use the IBM DB2 ODBC Driver. Make the appropriate connections using the DB2 Client Configuration Assistant.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
37
Preinstallation Considerations for Analytics Applications Oracle-Specific Database Guidelines for Siebel Data Warehouse
Table 11.
Variable Settings for IBM DB2 UDB zOS and OS/390 Databases Recommended Setting 1800 Any 1 This setting indicates that star join is enabled. The one table with the largest cardinality is the fact table. However, if there is more than one table with this cardinality, star join is not enabled. Notes
Table 12.
Recommended Variable Settings for Oracle Databases Oracle 8i HASH TRUE Oracle 9i/10g N/A TRUE Use only if you do not have many concurrent connections. Notes
Db_block_lru_latches Db_block_size Db_cache_size Db_file_direct_io_count Db_file_multiblock_read_co unt DB_files db_writer_processes Default Pctincrease Dml_locks
N/A 32 k 8.92 MB
64 32
N/A 32 100
Number of CPUs 0
38
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Preinstallation Considerations for Analytics Applications Oracle-Specific Database Guidelines for Siebel Data Warehouse
Table 12.
Recommended Variable Settings for Oracle Databases Oracle 8i 20 MB Oracle 9i/10g N/A Notes Setting WORKAREA_SIZE_POLICY = AUTO and PGA_AGGREGATE_TARGET to about one-third of the available memory takes care of HASH and SORT areas in Oracle 9i. Make sure that you are not using MTS.
Parameter Hash_area_size
Hash_multiblock_io_count
N/A
20 MB 16 MB 100000
20 MB 2000 Unset
20 MB 2000 Use Unset as the value for this parameter to avoid nested loop index joins (as favored by the optimizer). Unset is not an allowable value for Oracle 9i. For Oracle 9i, the allowable values are in the range 1 to 100.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
39
Preinstallation Considerations for Analytics Applications Oracle-Specific Database Guidelines for Siebel Data Warehouse
Table 12.
Recommended Variable Settings for Oracle Databases Oracle 8i Choose appropriate value based on data shape and performance monitoring Oracle 9i/10g Choose appropriate value based on data shape and performance monitoring Notes This parameter can be used to tune the performance of a system in cases in which the optimizer may be choosing too few or too many index access paths. For example, setting it to 50 percent will make the index access path look half as expensive as normal. The legal range of values for this parameter is 1 to 10000 percent. The default for this parameter is 100 percent, which makes the optimizer cost index access paths at the regular cost. Also see Additional Suggestions for Optimizing Oracle Performance in Siebel Data Warehouse on page 42.
Optimizer_max_permutatio ns
2000
2000
May be applicable to other schemas in the database. This means longer parsing times for the access paths, but once these are parsed, they should remain in the shared_pool, provided they do not get aged out. See the notes for Cursor_space_for_time.
Optimizer_mode Pga_aggregate_target
ALL_ROWS N/A
Processes
40
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Preinstallation Considerations for Analytics Applications Oracle-Specific Database Guidelines for Siebel Data Warehouse
Table 12.
Recommended Variable Settings for Oracle Databases Oracle 8i USE_STALE Oracle 9i/10g TRUSTED Notes USE_STALE is not an allowable value for Oracle 9i. For Oracle 9i, the allowable values are: STALE_TOLERATED ENFORCED TRUSTED
Parameter Query_rewrite_integrity
True N/A For Oracle 9i, use undo_management = AUTO undo_tablespace = UNDO undo_retention = 60000
1024 MB
Allocate one-third to onehalf of available memory and adjust as needed based on performance monitoring.
150 MB
512 MB 200 MB
10 MB
N/A
Setting WORKAREA_SIZE_POLICY = AUTO and PGA_AGGREGATE_TARGET to about one-third of the available memory takes care of HASH and SORT areas in Oracle 9i. Setting WORKAREA_SIZE_POLICY = AUTO and PGA_AGGREGATE_TARGET to about one-third of the available memory takes care of HASH and SORT areas in Oracle 9i.
Sort_area_size
10 MB
N/A
Sort_multiblock_read_count Star_transformation_enable d
4 TRUE
N/A TRUE
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
41
Preinstallation Considerations for Analytics Applications Additional Suggestions for Optimizing Oracle Performance in Siebel Data Warehouse
Table 12.
Recommended Variable Settings for Oracle Databases Oracle 8i Oracle 9i/10g Normal N/A N/A N/A N/A Auto 10000 Undo Auto Notes
Set the NLS_SORT parameter to BINARY. Choose a NLS_LANG setting that includes binary.
These settings are required for adequate performance from the dedicated Web client. Make sure that cost-based optimization is enabled in the Oracle development, test, and production databases and that statistics are kept up to date. Otherwise, the rule-based optimizer may be used. Create foreign keys in the Oracle database, but configure Oracle to not enforce the foreign key relationship. The existence of foreign keys will allow Oracle to better optimize certain queries. By turning off enforcement, the database load should not be negatively affected.
In addition, you may also configure the Oracle star-join transformation. This requires nonenforced foreign keys in Oracle and the creation of necessary bitmap indices. This task is optional. It may not be necessary, as ongoing tuning may reach the desired performance goals.
Analyze application for occurrences of highly skewed data that is indexed. Create histogram statistics for these indices to enable the optimizer to better perform queries. To increase data throughput between Siebel Analytics Server and Oracle, change SDU and TDU settings in listener.ora. The default is 2 KB and can be increased to 8 KB. On the server side, edit the listener.ora file. Under the particular SID_LIST entry, modify SID_DESC as follows: SID_LIST_LISTENER = SID_LIST = SID_DESC = (SDU=16384)(TDU=16384) ORACLE_HOME = /.....)
42
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Preinstallation Considerations for Analytics Applications SQL Server-Specific Database Guidelines for Siebel Data Warehouse
SID_NAME = SOLAP) ) ) Set the tablespace to at least the same as the Siebel transactional database size. Make sure the temporary tablespace has adequate space. Set the number of log file groups to 4. Set the size of each log file to 10 MB. The sga_max_size to 700 MB. On the client side, edit the tnsnames.ora file. Modify the TNS alias by adding SDU= and TDU= as follows: myhost_orcl.world= DESCRIPTION=(SDU=16384)(TDU=16384) ADDRESS = (PROTOCOL = TCP)(HOST=myhost)(PORT=1521)) CONNECT_DATA=(SID=ORCL))
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
43
Preinstallation Considerations for Analytics Applications SQL Server-Specific Database Guidelines for Siebel Data Warehouse
Click the Options tab and select the box for ANSI NULL default.
NOTE: SQL Server 2000 automatically tunes many of the server configuration options; therefore, an administrator is required to do little, if any, tuning. Although these configuration options can be modified, the general recommendation is that these options be left at their default values, allowing SQL Server to automatically tune itself based on run-time conditions.
a b c 2 3 4
Navigate to the SiebelAnalytics\DAC\conf directory, and open the connection_template.xml file in a text editor. Comment out the section related to SQL Server 2000. Uncomment the section related to SQL Server 2005.
Download the SQL Server 2005 JDBC driver from the Microsoft Web site, and install it. Copy the sqljdbc.jar file from the SQL Server 2005 JDBC driver installation directory and paste it into the SiebelAnalytics\DAC\lib directory. If the DAC is installed on Windows, modify the config.bat file as follows:
Append the following string at the end of the line referred to above if it is not there already: ;%DAC_HoMe%\lib\sqljdbc.jar
If the DAC is installed on UNIX, modify the config.sh or config.csh file as follows:
44
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Preinstallation Considerations for Analytics Applications SQL Server-Specific Database Guidelines for Siebel Data Warehouse
SQLSERVERLIB
Append the following string at the end of the line referred to above if it is not there already: /lib/sqljdbc.jar
Execute the following script on every instance of the SQL Server 2005 that the DAC will access: execute sp_configure show advanced options, 1 GO RECONFIGURE GO
To configure the DAC to identify the SQL Server port number automatically 1
Modify the connection_template.xml file:
a b c
Navigate to the SiebelAnalytics\DAC\conf directory, and open the connection_template.xml file in a text editor. Find the entry related to the appropriate version of SQL Server. There might be two entries, one for SQL Server 2000 and one for SQL Server 2005. Remove the port reference from the URL entry. For example, for SQL Server 2005: Before modification, the URL entry appears as follows: <URL>jdbc:sqlserver://%host:%port;databaseName=%connect_str</URL> After modification, the URL entry should appear as follows: <URL>jdbc:sqlserver://%host;databaseName=%connect_str For SQL Server 2000: Before modification, the URL entry appears as follows:
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
45
Preinstallation Considerations for Analytics Applications SQL Server-Specific Database Guidelines for Siebel Data Warehouse
<URL>jdbc:microsoft:sqlserver://%host:%port;DatabaseName=%connect_str</URL> After modification, the URl entry should appear as follows: <URL>jdbc:microsoft:sqlserver://%host;DatabaseName=%connect_str</URL>
When entering SQL Server database connection information in the DAC user interface, for example, in the procedures Creating the DAC Metadata Repository on page 71 and Creating Transactional and Data Warehouse Database Connections on page 79, leave the Database Port field empty. When entering SQL Server database connection information in the DAC user interface and using a named instance of SQL Server:
In the Database Host field, include the instance name as part of the host name using the following format: <hostname\\\\instancename> NOTE: The four backslashes are required.
Table 13.
Recommended Variable Settings for SQL Server Databases Recommended Setting 0 0 0 0 5 1 1033 0 95% For insert-intensive transactions, set Fill Factor between 90 and 95%. For better query performance, set Fill factor to 95 or even 100%. Default is 0. Notes
Parameter Affinity mask Allow updates Awe enabled C2 audit mode Cost threshold for parallelism Cursor threshold Default full-text language Default language Fill factor
1024 KB 0
46
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Preinstallation Considerations for Analytics Applications SQL Server-Specific Database Guidelines for Siebel Data Warehouse
Table 13.
Recommended Variable Settings for SQL Server Databases Recommended Setting 0 0 Default is 0. This turns off parallelism. Max degree of parallelism should be left at 0, which means use parallel plan generation. It should be set to 1 (use only 1 process) if you run multithreaded components (for example, several EIM threads). Default is 2147483647. Notes
Max server memory Max text repl size Max worker threads Media retention Min memory per query Min server memory Nested triggers Network packet size Open objects Priority boost Query governor cost limit Query wait Recovery interval Remote access Remote login timeout Remote proc trans Remote query timeout Scan for startup procs Set working set size Two-digit year cutoff User connections User options
2000 MB 65536 B 100 0 1024 KB 500 MB 1 8192 B 0 0 0 1 sec 0 min 1 20 sec 0 600 sec 0 0 2049 0 0
Default is 255.
Default is 0.
Default is 4096.
SQL Server memory: Make sure adequate memory is available. Transaction logs and TempDB: Reside on a separate disk from those used by database data.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
47
Preinstallation Considerations for Analytics Applications Teradata-Specific Database Guidelines for Siebel Data Warehouse
Full load: Full Recovery model for the database. Incremental (Refresh) load: Change from Full to Bulk-Logged Recovery model.
Deploying Siebel Data Warehouse in Latin-1 General, Unicode and NonEnglish Environments
This section describes the different settings for Informatica servers and databases when deploying the Siebel Data Warehouse in Latin-1 General, Unicode, and non-English environments. When you configure Informatica, the Informatica repository, and the databases, you will need to refer to this section. NOTE: If you are installing the Siebel Data Warehouse in a UNIX environment, you must use the Unicode character data mode. The Siebel Data Warehouse can be deployed in various code page environments to support global deployments. The following source and data warehouse configurations are supported: Latin-1 General (7-bit ASCII) to Latin-1 General (7-bit ASCII). 7-bit ASCII is the character set used for English. See Source and Data Warehouse Code Pages for Latin-1 General (7-bit ASCII) to Latin-1 General (7-bit ASCII) on page 50. Latin-1 General (8-bit ASCII) to Latin-1 General (8-bit ASCII). 8-bit ASCII is the character set used for Western European languages that use accented Roman characters. See Source and Data Warehouse Code Pages for Latin-1 General (8-bit ASCII) to Latin-1 General (8-bit ASCII) on page 51. NOTE: You must run the Informatica Server in Unicode mode if your source data contains multibyte or ISO 8859-1 (8-bit ASCII) data. For instructions on setting the data movement mode to Unicode, see To set up the Informatica Server on page 84. Unicode to Unicode. See Source and Data Warehouse Code Pages for Latin-1 General (8-bit ASCII) to Latin-1 General (8-bit ASCII) on page 51. Code page (multi- or single-byte) to Unicode. See Source and Data Warehouse Code Pages for Code Page to Unicode on page 55.
48
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Preinstallation Considerations for Analytics Applications Deploying Siebel Data Warehouse in Latin-1 General, Unicode and Non-English Environments
Code page to code page (where the code pages are the same). See Source and Data Warehouse Code Pages for Code Page to Code Page on page 56.
The following environment variables need to be set before you begin the installation process: NLS_LANG (for Oracle). For instructions, see Setting the NLS_LANG Environment Variable for Oracle Databases on page 58. DB2CODEPAGE (for DB2). For instructions, see Setting the DB2CODEPAGE Environment Variable for DB2 Databases on page 59.
The following environment variable needs to be set during the configuration process: Informatica Server Data Movement. For instructions, see To set up the Informatica Server on page 84.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
49
Preinstallation Considerations for Analytics Applications Deploying Siebel Data Warehouse in Latin-1 General, Unicode and Non-English Environments
Source and Data Warehouse Code Pages for Latin-1 General (7-bit ASCII) to Latin-1 General (7-bit ASCII)
This section provides the code pages for Latin-1 General (7-bit ASCII) to Latin-1 General (7-bit ASCII) configurations. 7-bit ASCII is the character set used for English.
Table 14.
Code Pages for Informatica Server and Repository Server on Windows with OS ENU Code Page MS Windows Latin 1 (ANSI), superset of Latin 1 MS Windows Latin 1 (ANSI), superset of Latin 1 MS Windows Latin 1 (ANSI), superset of Latin 1 MS Windows Latin 1 (ANSI), superset of Latin 1
Component Code Page Source code page Data warehouse code page Informatica Repository code page Informatica Server code page
The following environment variable needs to be set during the configuration process: Informatica Server Data Movement. For instructions, see To set up the Informatica Server on page 84.
Table 15 provides the code pages for the Informatica Server and Repository Server running on UNIX with OS ENU.
Table 15.
Code Pages for Informatica Server and Repository Server on UNIX with OS ENU Code Page MS Windows Latin 1 (ANSI), superset of Latin 1 MS Windows Latin 1 (ANSI), superset of Latin 1
Component Code Page Source code page Data warehouse code page
50
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Preinstallation Considerations for Analytics Applications Deploying Siebel Data Warehouse in Latin-1 General, Unicode and Non-English Environments
Table 15.
Code Pages for Informatica Server and Repository Server on UNIX with OS ENU Code Page ISO 8859-1 Western European ISO 8859-1 Western European
Component Code Page Informatica Repository code page Informatica Server code page
The following environment variable needs to be set during the configuration process: Informatica Server Data Movement. For instructions, see To set up the Informatica Server on page 84.
Table 16 provides the code pages for the Informatica Server running on UNIX, and the Repository Server on Windows, both with OS ENU.
Table 16.
Code Pages for Informatica Server on UNIX, Repository Server on Windows with OS ENU Code Page MS Windows Latin 1 (ANSI), superset of Latin 1 MS Windows Latin 1 (ANSI), superset of Latin 1 MS Windows Latin 1 (ANSI), superset of Latin 1 ISO 8859-1 Western European
Component Code Page Source code page Data warehouse code page Informatica Repository code page Informatica Server code page
Source and Data Warehouse Code Pages for Latin-1 General (8-bit ASCII) to Latin-1 General (8-bit ASCII)
This section provides the code pages for Latin-1 General (8-bit ASCII) to Latin-1 General (8-bit ASCII) configurations. 8-bit ASCII is the character set used for Western European languages that use accented Roman characters. NOTE: You must run the Informatica Server in UNICODE mode if your source data contains multibyte or ISO 8859-1 (8-bit ASCII) data. For instructions on setting the data movement mode to UNICODE, see To set up the Informatica Server on page 84.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
51
Preinstallation Considerations for Analytics Applications Deploying Siebel Data Warehouse in Latin-1 General, Unicode and Non-English Environments
Table 17.
Code Pages for Informatica Server and Repository Server on Windows with OS ENU Code Page ISO 8859-1 Western European ISO 8859-1 Western European MS Windows Latin 1 (ANSI), superset of Latin 1 MS Windows Latin 1 (ANSI), superset of Latin 1
Component Code Page Source code page Data warehouse code page Informatica Repository code page Informatica Server code page
The following environment variable needs to be set during the configuration process: Informatica Server Data Movement. For instructions, see To set up the Informatica Server on page 84.
Table 18 provides the code pages for the Informatica Server and Repository Server running on UNIX with OS ENU.
Table 18.
Code Pages for Informatica Server and Repository Server on UNIX with OS ENU Code Page ISO 8859-1 Western European ISO 8859-1 Western European ISO 8859-1 Western European ISO 8859-1 Western European
Component Code Page Source code page Data warehouse code page Informatica Repository code page Informatica Server code page
52
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Preinstallation Considerations for Analytics Applications Deploying Siebel Data Warehouse in Latin-1 General, Unicode and Non-English Environments
NLS_LANG (for Oracle). For instructions, see Setting the NLS_LANG Environment Variable for Oracle Databases on page 58. DB2CODEPAGE (for DB2). For instructions, see Setting the DB2CODEPAGE Environment Variable for DB2 Databases on page 59.
The following environment variable needs to be set during the configuration process: Informatica Server Data Movement. For instructions, see To set up the Informatica Server on page 84.
Table 19 provides the code pages for the Informatica Server running on UNIX, and the Repository Server on Windows, both with OS ENU.
Table 19.
Code Pages for Informatica Server on UNIX, Repository Server on Windows with OS ENU Code Page ISO 8859-1 Western European ISO 8859-1 Western European MS Windows Latin 1 (ANSI), superset of Latin 1 ISO 8859-1 Western European
Component Code Page Source code page Data warehouse code page Informatica Repository code page Informatica Server code page
The following environment variables need to be set during the configuration process: Informatica Server Data Movement. For instructions, see To set up the Informatica Server on page 84. SiebelUnicodeDB. For instructions on Windows, see Setting the SiebelUnicodeDB Environment Variable on Windows on page 86. For instructions on UNIX, see To set SiebelUnicodeDB on the Informatica Server if source and target databases are Unicode on UNIX on page 126.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
53
Preinstallation Considerations for Analytics Applications Deploying Siebel Data Warehouse in Latin-1 General, Unicode and Non-English Environments
Table 20.
Code Pages for Informatica Server and Repository Server on Windows with OS ENU Code Page UTF-8 encoding of Unicode UTF-8 encoding of Unicode MS Windows Latin 1 (ANSI), superset of Latin 1 MS Windows Latin 1 (ANSI), superset of Latin 1
Component Code Page Source code page Data warehouse code page Informatica Repository code page Informatica Server code page
Table 21.
Code Pages for Informatica Server and Repository Server on UNIX with OS ENU Code Page UTF-8 encoding of Unicode UTF-8 encoding of Unicode ISO 8859-1 Western European ISO 8859-1 Western European
Component Code Page Source code page Data warehouse code page Informatica Repository code page Informatica Server code page
Table 22.
Code Pages for Informatica Server on UNIX, Repository Server on Windows with OS ENU Code Page UTF-8 encoding of Unicode UTF-8 encoding of Unicode MS Windows Latin 1 (ANSI), superset of Latin 1 ISO 8859-1 Western European
Component Code Page Source code page Data warehouse code page Informatica Repository code page Informatica Server code page
54
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Preinstallation Considerations for Analytics Applications Deploying Siebel Data Warehouse in Latin-1 General, Unicode and Non-English Environments
Source and Data Warehouse Code Pages for Code Page to Unicode
For a list of the code pages that are supported for source and data warehouse databases, see System Requirements and Supported Platforms for Siebel Business Analytics Applications. The following environment variables need to be set before you begin the installation process: NLS_LANG (for Oracle). For instructions, see To set the NLS_LANG environment variable for Oracle databases on page 58. DB2CODEPAGE (for DB2). For instructions, see To set the DB2CODEPAGE environment variable for DB2 databases on page 59.
The following environment variables need to be set during the configuration process: Informatica Server Data Movement. For instructions, see To set up the Informatica Server on page 84. SiebelUnicodeDB. For instructions on Windows, see Setting the SiebelUnicodeDB Environment Variable on Windows on page 86. For instructions on UNIX, see To set SiebelUnicodeDB on the Informatica Server if source and target databases are Unicode on UNIX on page 126. If the Informatica Server is running on Unix, then you also need to set the PMREPCODEPAGE environment variable appropriately. For example: PMREPCODEPAGE=MS932.
NOTE: Informatica Server can only run <LANG> OS based on the source code page. For example, if the source code page is Japanese then the Informatica Server should be running on JPN OS. The following information uses <LANG> = JPN as an example. If you are using a language other than Japanese, replace the code page with the appropriate language.
Table 23.
Informatica Server and Repository Server on Windows with OS <LANG> Code Page MS Windows Japanese, superset of shift JIS MS Windows Japanese, superset of shift JIS MS Windows Japanese, superset of shift JIS MS Windows Japanese, superset of shift JIS
Component Code Page Source code page Data warehouse code page Informatica Repository code page Informatica Server code page
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
55
Preinstallation Considerations for Analytics Applications Deploying Siebel Data Warehouse in Latin-1 General, Unicode and Non-English Environments
Table 24.
Code Pages for Informatica Server and Repository Server on UNIX with OS <LANG> Code Page MS Windows Japanese, superset of shift JIS MS Windows Japanese, superset of shift JIS MS Windows Japanese, superset of shift JIS MS Windows Japanese, superset of shift JIS
Component Code Page Source code page Data warehouse code page Informatica Repository code page Informatica Server code page
Table 25.
Code Pages for Informatica Server on UNIX, Repository Server on Windows, OS <LANG> Code Page MS Windows Japanese, superset of shift JIS MS Windows Japanese, superset of shift JIS MS Windows Japanese, superset of shift JIS MS Windows Japanese, superset of shift JIS
Component Code Page Source code page Data warehouse code page Informatica Repository code page Informatica Server code page
Source and Data Warehouse Code Pages for Code Page to Code Page
For a list of the code pages that are supported for source and data warehouse databases, see System Requirements and Supported Platforms for Siebel Business Analytics Applications. The following environment variables need to be set before you begin the installation process: NLS_LANG (for Oracle). For instructions, see To set the NLS_LANG environment variable for Oracle databases on page 58. DB2CODEPAGE (for DB2). For instructions, see To set the DB2CODEPAGE environment variable for DB2 databases on page 59.
The following environment variables need to be set during the configuration process:
56
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Preinstallation Considerations for Analytics Applications Deploying Siebel Data Warehouse in Latin-1 General, Unicode and Non-English Environments
Informatica Server Data Movement. For instructions, see To set up the Informatica Server on page 84. SiebelUnicodeDB. For instructions on Windows, see Setting the SiebelUnicodeDB Environment Variable on Windows on page 86. For instructions on UNIX, see To set SiebelUnicodeDB on the Informatica Server if source and target databases are Unicode on UNIX on page 126. If the Informatica Server is running on UNIX, then you also need to set the PMREPCODEPAGE environment variable appropriately. For example: PMREPCODEPAGE=MS932.
The following information uses <LANG> = JPN as an example. If you are using a language other than Japanese, replace the code page with the appropriate language.
Table 26.
Code Pages for Informatica Server and Repository Server on Windows, OS <LANG> Code Page MS Windows Japanese, superset of shift JIS MS Windows Japanese, superset of shift JIS MS Windows Japanese, superset of shift JIS MS Windows Japanese, superset of shift JIS
Component Code Page Source code page Data warehouse code page Informatica Repository code page Informatica Server code page
Table 27.
Code Pages for Informatica Server and Repository Server on Windows, OS <LANG> Code Page MS Windows Japanese, superset of shift JIS MS Windows Japanese, superset of shift JIS MS Windows Japanese, superset of shift JIS MS Windows Japanese, superset of shift JIS
Component Code Page Source code page Data warehouse code page Informatica Repository code page Informatica Server code page
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
57
Preinstallation Considerations for Analytics Applications Deploying Siebel Data Warehouse in Latin-1 General, Unicode and Non-English Environments
Table 28.
Code Pages for Informatica Server on UNIX, Repository Server on Windows, OS <LANG> Code Page MS Windows Japanese, superset of shift JIS MS Windows Japanese, superset of shift JIS MS Windows Japanese, superset of shift JIS MS Windows Japanese, superset of shift JIS
Component Code Page Source code page Data warehouse code page Informatica Repository code page Informatica Server code page
In the data warehouse database, run the command SELECT * FROM V$NLS_PARAMETERS
Make a note of the NLS_LANG value, which is in the format [NLS_LANGUAGE]_[NLS_TERRITORY].[NLS_CHARACTERSET]. For example: American_America.UTF8
For Windows:
a b c d
Navigate to Control Panel > System and click the Advanced tab. Click Environment Variables. In System variables section, click New. In the Variable Name field, enter NLS_LANG. In the Variable Value field, enter the NLS_LANG value that was returned in Step 1. The format for the NLS_LANG value should be [NLS_LANGUAGE]_[NLS_TERRITORY].[NLS_CHARACTERSET]. For example: American_America.UTF8.
58
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Preinstallation Considerations for Analytics Applications Deploying Siebel Data Warehouse in Latin-1 General, Unicode and Non-English Environments
setenv NLS_LANG <NLS_LANG> For example: setenv NLS_LANG American_America.UTF8. If your data is 7-bit or 8-bit ASCII and the Informatica Server is running on UNIX, then set NLS_LANG <NLS_LANGUAGE>_<NLS_TERRITORY>.WE8ISO8859P1 CAUTION: Make sure you set the NLS_LANG variable correctly, as stated in this procedure, or your data will not display correctly.
In the data warehouse database, run the command SELECT CODEPAGE FROM SYSCAT.DATATYPES WHERE TYPENAME = VARCHAR
For Windows:
a b c d 3
Navigate to Control Panel > System and click the Advanced tab. Click Environment Variables. In System variables section, click New. In the Variable Name field, DB2CODEPAGE. In the Variable Value field, enter the value that was returned in Step 1.
For UNIX, set the variable as shown below: setenv DB2CODEPAGE <DB2CODEPAGE value> For example: setenv 1208.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
59
Preinstallation Considerations for Analytics Applications Deploying Siebel Data Warehouse in Latin-1 General, Unicode and Non-English Environments
60
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
This chapter provides instructions for installing and configuring the Siebel Business Analytics Applications in the Windows environment. It contains the following main topics: Analytics Applications Installation Overview on page 61. Describes the components that are installed during a Siebel Business Analytics Applications installation. Analytics Applications Installation and Configuration Flow on page 63. Provides a process flow diagram that shows the installation and configuration steps for Siebel Business Analytics Applications. Analytics Applications Installation and Configuration Process Task List on page 64. Provides a sequential list of all the installation and configuration tasks required for Siebel Business Analytics Applications.
Siebel Business Analytics Platform You must install the Siebel Business Analytics platform before you install Siebel Business Analytics Applications. For information about installing the Siebel Business Analytics platform, see Siebel Business Analytics Platform Installation and Configuration Guide.
Siebel Business Analytics Applications Instructions for installing Siebel Business Analytics Applications are contained in Running the Analytics Applications Installation Wizard (Windows) on page 65. When you run the installation wizard, the following components are installed:
Prebuilt metadata content This metadata content is contained in the Analytics repository file (SiebelAnalytics.rpd).
Prebuilt reports and dashboard content This content is contained in the Analytics Web Catalog file (SiebelAnalytics.webcat).
Prebuilt Informatica content This content includes Extract-Transform-Load (ETL) repository objects, such as mappings, sessions, and workflows, and is contained in the Informatica repository file (Siebel_DW_Rep.rep).
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
61
Installing and Configuring Analytics Applications on Windows Analytics Applications Installation Overview
DAC metadata repository files This content includes repository objects, such as tables, subject areas, execution plans, and tasks, and is contained in XML files.
Informatica PowerCenter Instructions for installing Informatica PowerCenter are contained in Running the Informatica PowerCenter Installation Wizard (Windows) on page 66. When you run the installation wizard, you will be instructed to select the following components for installation:
NOTE: The computers on which you install Siebel Business Analytics need to meet the conditions specified in System Requirements and Supported Platforms for Siebel Analytics Applications on Siebel SupportWeb.
62
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Installing and Configuring Analytics Applications on Windows Analytics Applications Installation and Configuration Flow
Figure 8.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
63
Installing and Configuring Analytics Applications on Windows Analytics Applications Installation and Configuration Process Task List
1 2 3 4 5 6
Running the Analytics Applications Installation Wizard (Windows) on page 65. Running the Informatica PowerCenter Installation Wizard (Windows) on page 66. Installing the Informatica Patches on Windows on page 68. Setting Informatica Data Code Pages Validation on page 69. Installing the Java SDK on page 69. Configuring the DAC Client on page 69.
a b 7 8
Configuring the DAC Config.bat File on page 69. Installing JDBC Drivers for DAC Database Connectivity on page 70.
Creating the DAC Metadata Repository on page 71. Configuring the DAC Metadata Repository on page 72.
a b c d e f 9 a b c
Setting Up DAC System Properties on page 73. Creating ODBC Database Connections on page 77. Creating Transactional and Data Warehouse Database Connections on page 79 Registering Informatica Servers in the DAC Client on page 80. Configuring Email Recipients in the DAC Client on page 81. Activating Join Indices for Teradata Databases on page 81.
Configuring the Siebel Data Warehouse Database on page 82. Creating the SSE Role on page 82. Creating Data Warehouse Tables on page 82. Creating and Dropping Data Warehouse Tables on a Teradata Database on page 83
10 Setting Up the Informatica Server on page 84. 11 Setting Environment Variables on Windows on page 86. 12 Copying Database Parameter Files on page 87. 13 Copying Teradata Loader Control Files on page 88. 14 Creating, Restoring, and Configuring the Informatica Repository on page 89. a b c d
Setting Up the Informatica Repository Server on page 89. Starting the Informatica Repository Server on page 90. Creating or Restoring the Informatica Repository on page 90. Dropping the Informatica Repository (Optional) on page 92.
64
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Installing and Configuring Analytics Applications on Windows Running the Analytics Applications Installation Wizard (Windows)
e f g h
Registering the Informatica Repository Server in Repository Server Administration Console on page 93. Pointing to the Informatica Repository on page 93. Configuring the Informatica Repository in the DAC on page 95. Configuring the Informatica Repository in Workflow Manager on page 98.
15 Setting the Code Page File Property for Unicode Environments on Teradata Databases on page 98. 16 Setting Up the HOSTS File for Teradata Installations on Windows on page 99. 17 Verifying the Informatica Repository Configuration on page 99. 18 Starting the Informatica Server on page 100. 19 Setting DAC ETL Preferences on page 100. 20 Configuring the DAC Server on page 102. a b a b c d
Configuring the Connection between the DAC Server and DAC Repository on page 103. Configuring Email in the DAC Server (Optional) on page 103.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
65
Installing and Configuring Analytics Applications on Windows Running the Informatica PowerCenter Installation Wizard (Windows)
Your Action Browse for and select the appropriate XML file, and then click Next. Select RMW, and then click Next. Select the applications you want to install, and then click Next. Click Next.
Notes
Analytics Applications will be installed in the same directory where you have the Analytics platform installed.
Summary Information
66
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Installing and Configuring Analytics Applications on Windows Running the Informatica PowerCenter Installation Wizard (Windows)
The installation wizard window appears and prompts you through each screen, as shown in the following table. To continue to the next screen, click Next. To return to a previous screen, click Back. Screen Welcome Customer Information Your Action Click Next. Enter the user name, company name, and Product license key. Do not enter the Option or Connectivity license key during the product installation. Informatica provides three different license keys: Product. Allows you to install the Informatica Server and Repository Server. Enter during the product installation and the procedures Setting Up the Informatica Server on page 84 and Pointing to the Informatica Repository on page 93. Connectivity. Allows you to access sources and targets. Enter during the procedures Setting Up the Informatica Server on page 84 and Pointing to the Informatica Repository on page 93. Options. Allows you to access specific options, such as TeamBased Development, Server Grid, and Partitioning. Enter during the procedures Setting Up the Informatica Server on page 84 and Pointing to the Informatica Repository on page 93. Notes
For more information about Informatica license keys, see Siebel Business ThirdParty Bookshelf. License Agreement Select I accept... and click Next.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
67
Installing and Configuring Analytics Applications on Windows Installing the Informatica Patches on Windows
Notes
Informatica PowerCenter 7.1.2 OEM for Siebel Client Informatica PowerCenter 7.1.2 OEM for Siebel Server Informatica PowerCenter 7.1.2 OEM for Siebel Repository Server
Browse for and select the appropriate destination folder, and then click Next. NOTE: If you are using a Teradata database, make sure there are no spaces in the Informatica Server directory name or the directory path. The default directory contains spaces that you must remove manually.
Program Folder
Select a program folder or accept the default, and then click Next.
Review Settings
Review the selected components and destination directory information, and then click Next. Remove the check marks from the Configure Informatica Server and Configure Informatica Repository Server check boxes. (Optional) Select the View Readme check box to view the Read Me file. Click Next. You will configure the Informatica Server and Repository Server in later steps.
Setup Type
Wizard Complete
Click Finish.
68
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Installing and Configuring Analytics Applications on Windows Setting Informatica Data Code Pages Validation
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
69
Installing and Configuring Analytics Applications on Windows Configuring the DAC Client
Edit the JAVA_HOME variable to point to the directory where you installed the Java SDK. Make sure there are no spaces in the path reference. For example: set JAVA_HOME=d:\j2sdk1.4.2
Edit the DAC_HOME variable to point to the directory where you installed the DAC. For example: set DAC_HOME=d:\SiebelAnalytics\DAC
If you are using Oracle 8.x, copy the file named classes12.zip and paste it in the SiebelAnalytics\DAC\lib directory. Also, edit the ORACLELIB setting in the config.bat file as follows: set ORACLELIB=%DAC_HOME%\lib\classes12.zip
DB2. If you are using a DB2 database, find the directory where DB2 is installed. In the Java subdirectory copy the file named db2java.zip and paste it in the SiebelAnalytics\DAC\lib directory. NOTE: If your source or target database is DB2-UDB, you also need to create Siebel stored procedures to be used during the ETL process. For instructions, see Creating Siebel Stored Procedures for DB2-UDB on page 107.
MSSQL. If you are using an MSSQL database, download the SQL Server JDBC drivers from Microsofts Web site. Copy the files msbase.jar, mssqlserver.jar, and msutil.jar to the SiebelAnalytics\DAC\lib directory. Teradata. If you are using a Teradata database, find the directory where Teradata is installed. Copy the files terajdbc4.jar, log4j.jar, and tdgssjava.jar and paste them in the SiebelAnalytics\DAC\lib directory. Depending on the Teradata JDBC version, you may not have log4j.jar and tdgssjava.jar.
70
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Installing and Configuring Analytics Applications on Windows Creating the DAC Metadata Repository
NOTE: The DAC client can connect to only one DAC repository at a time. NOTE: Before you start this procedure, you need to create a database for the DAC metadata repository. This database can be the same as the data warehouse database.
Machine name where the database resides. The port number where the database listens.
Test the connection to make sure it works. If the DAC repository schema does not exist in the database to which you are connecting, the schema will be automatically created. When a repository is created on Oracle or DB2 databases, you have the option of specifying a tablespace. For MSSQL and DB2 databases, you can indicate whether the environment is Unicode.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
71
Installing and Configuring Analytics Applications on Windows Configuring the DAC Metadata Repository
7 8
(Optional for MSSQL or DB2 databases) Check the Unicode check box if the environment is Unicode. Click Yes when asked if you want to have the repository created automatically. NOTE: The DAC repository is not supported on DB2-390 databases. If your source or target database is DB2-390, you need to use a DB2-UDB, MSSQL, or Oracle database for both the DAC repository and the Informatica repository.
If your source or target database is a DB2-390 database, run DAC_DB2390_Source.sql or DAC_DB2390_Target.sql immediately after importing the seed data by connecting to the database where the DAC repository resides.
NOTE: You will configure the DAC server to point to this repository later in the installation process, in the procedure Configuring the DAC Server on page 102.
72
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Installing and Configuring Analytics Applications on Windows Configuring the DAC Metadata Repository
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
73
Installing and Configuring Analytics Applications on Windows Configuring the DAC Metadata Repository
Description Possible values are True and False. During the ETL process, the DAC server automatically drops and creates indices. When set to True, this property groups all indices of the Query type and creates them after the ETL is complete. NOTE: The DropAndCreateIndexes property takes precedence over this property. Therefore, if the DropAndCreateIndexes property is set to False, you cannot set the property CreateQueryIndexesAtTheEnd to True to have indices of the Query type created at the end of the ETL process. Also, be aware that when this property is set to True, tables will be analyzed twice. If any indices are marked as Query type indices, and are used by ETL processes, it can adversely affect the performance of the ETL process.
Host name of the machine where the DAC server resides. You cannot use an IP address for this property. NOTE: The DAC server and a given DAC repository have a one-toone mapping. That is, you can only run one DAC server against any given DAC repository. Thus, in the repository you must specify the network host name of the machine where the DAC sever is to be run. NOTE: This property also takes the value localhost. However, this value is provided for development and testing purposes and should not be used in a production environment.
DAC Server OS
Operating system of the machine where the DAC server resides. Possible values are Windows, Solaris, HP, or AIX. NOTE: If you move the DAC server from another operating system to AIX, you need to do the following: change the DAC server host to the appropriate value; restart the DAC client; reenter all the password fields for the Informatica servers and database connections; and reconfigure the DAC server on the AIX machine by running serverSetupPrompt.sh.
Network port to which the DAC server binds in order to listen to client requests. The default value is 3141. If this port has been assigned to another process, you can enter any numerical port value greater than 1024.
74
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Installing and Configuring Analytics Applications on Windows Configuring the DAC Metadata Repository
Property DropAndCreateIndexes
Description Possible values are True and False. Indicates whether, during the ETL process, the DAC server automatically drops and creates indices. NOTE: This property takes precedence over the CreateQueryIndexesAtTheEnd. Therefore, if the DropAndCreateIndexes property is set to False, you cannot set the property CreateQueryIndexesAtTheEnd to True to have indices of the Query type created at the end of the ETL process.
Dryrun
Possible values are True and False. Indicates whether tasks are executed without invoking Informatica workflows. The following processes are executed: change capture, truncation of tables, drop and creation of indices, and analyze statements. Possible values are True and False. NOTE: This option should be used for debugging purposes only and not used in a production environment.
Determines how many tasks with execution types other than Informatica can be run concurrently. The value must be numerical. To set this value, you should consider what the external tasks do. For example, if the tasks open connections to a database, you should consider how this would affect the preconfigured tasks.
HeartBeatInterval
Frequency (in seconds) the DAC server checks on the health of the database connections. The value must be numerical. For example, a value of 300 (the default value) indicates the system will perform subsystem diagnostics and recovery procedures every 300 seconds. Indicates whether logging information and standard output and errors are redirected to files in the log directory (when property is set to True). The file containing standard output starts with out_ and ends with the .log extension. The standard error messages are in the file starting with err_ and ending with the .log extension. If this property is set to False, the logging information is directed to the machines standard output and error files, which typically defaults to the console from which the DAC server was launched if the server was launched in a visible console mode. If the server is launched as a Windows service, the logging information is directed to the service log. If the server is launched with the command shell not visible, all logging information is deleted.
Output Redirect
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
75
Installing and Configuring Analytics Applications on Windows Configuring the DAC Metadata Repository
Description Maximum number of connections to the DAC repository the DAC server will maintain. The value must be numerical. NOTE: As the DAC server runs, it needs to perform transactions and queries on the DAC repository. In order for it to do so efficiently, it internally maintains a pool of preexisting database connections. This pool of database connections reduces latency and leads to better use of resources through connection sharing. However, you need to specify the maximum size of the connection pool. This setting should be determined in consultation with the database administrator of the database where the DAC repository resides. NOTE: This property was depracated as of version 7.7.1.5.
Unique name for the repository. Frequency (in seconds) the DAC server polls for changes in the schedule configuration. The name of the script or executable to be run after every execution plan. For more information, see the description of the property Script Before Every ETL.
The name of the script or executable to be run before every execution plan. For example, before running an execution plan, you might want to run a process or perform certain tasks. These can be contained in a script or executable. This file should be placed in the scripts subdirectory of the DAC server. The execution plan runs only after the external process has finished. Therefore, it is important that the script or executable does not fail.
Output logging level. Possible values are Finest, Finer, Fine, Config, Info, Warning, and Severe. The Severe value produces minimal log details, and Finest produces the most extensive amount of reporting. Possible values are True and False. Indicates whether the SQL statements to the DAC repository and database connections are added to the log file. Possible values are True and False. The True value sends a hint to the database connectivity layer of the DAC server to enable SQL tracing; thus, every SQL statement that is run by the DAC server is spooled to the appropriate output log file. It is recommended that you set this property to False.
SQL Trace
76
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Installing and Configuring Analytics Applications on Windows Configuring the DAC Metadata Repository
Description Possible values are True and False. Indicates whether indices defined in the DAC repository will be automatically created in the data warehouse database during an incremental load. NOTE: When this system property is set to True, the DAC server verifies whether indices defined in the DAC repository are also defined in the data warehouse database. This verification process can delay the execution of an execution plan.
Possible values are True and False. When set to True (the default value), the DAC server drops and creates change capture views every time it performs a change capture process, including for both full and incremental loads. Setting this property to True can create system catalog lock up for DB2-UDB and DB2-390 databases. Therefore, by setting the property to False, the DAC server will drop and create views selectively, using the following rules: In full mode:
During the change capture phase, views will be dropped and created as full views. During the change capture sync process, incremental views will be generated.
In incremental mode:
If the view exists, it will not be dropped and created. If the view does not exist, the incremental view will be created.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
77
Installing and Configuring Analytics Applications on Windows Configuring the DAC Metadata Repository
2 3
In Windows, in the System DSN tab of the ODBC Data Source Administrator, create an ODBC connection to the Siebel Data Warehouse and transactional database using an ODBC driver. Test the connections to make sure they work.
For Unicode environments, in the Teradata ODBC Driver Advanced Options dialog box, set the Character Set parameter to UTF8.
78
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Installing and Configuring Analytics Applications on Windows Configuring the DAC Metadata Repository
Type of database. Possible values are: Oracle (OCI8) Oracle (Thin) DB2 DB2-390 MSSQL If you are using dynamic port allocation, see Connecting from DAC to SQL Server Using Dynamic Port Allocation on page 45. Teradata
Database Name Table Owner Table Owner Password Max Num Connections
Name of database. Valid database user. Valid database user password. Maximum number of database connections this connection pool can contain. For information about determining how to set this value, see Determining the Number of Transactional and Data Warehouse Database Connections on page 167.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
79
Installing and Configuring Analytics Applications on Windows Configuring the DAC Metadata Repository
Description Machine name where the database resides. Port number where the database listens.
Login Password
80
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Installing and Configuring Analytics Applications on Windows Configuring the DAC Metadata Repository
Enter Maximum number of workflows that can be executed in parallel on the Informatica server. If the number of sessions is zero or is not specified, the DAC server assigns the default value of five for the DAC Lite version and 10 for the full DAC version. The DAC Lite version cannot run more than five sessions in parallel. For information about how to determine this setting, see Determining the Informatica Server Maximum Sessions Parameter Setting on page 166.
Inactive
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
81
Installing and Configuring Analytics Applications on Windows Configuring the Siebel Data Warehouse Database
NOTE: Before you start this procedure, you need to create a database for the data warehouse. This database can be the same as the DAC metadata repository database.
82
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Installing and Configuring Analytics Applications on Windows Configuring the Siebel Data Warehouse Database
Select the Create Siebel Data Warehouse Tables check box, and click Next. The Data Warehouse tab is active.
Enter the following information: Field Database Type Description Type of database. If the database type is DB2 390, then check the 390 Database check box. Table Owner Password ODBC Data Source Data Area Index Area Is Unicode Valid database user. Valid database user password. Data Source Name (DSN) for the Siebel Data Warehouse. (Optional) Tablespace where data warehouse tables are created. (Optional) Indexspace where data warehouse indices are created (applicable only to Oracle and DB2 databases). Specifies whether the data warehouse database is Unicode.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
83
Installing and Configuring Analytics Applications on Windows Setting Up the Informatica Server
In the Repository tab, enter the following: Field Repository Name Repository User Repository Password Repository Server Host Name Repository Port Number Description A logical name for the Informatica repository. It is recommended that you enter Siebel_DW_Rep. For Teradata databases, it is recommended that you enter Siebel_DW_Rep_Teradata. The account used to access the repository. It is recommended that you use Administrator as the username. The password you use to connect to the Repository Server from the Repository Manager. It is recommended that you use Administrator as the password. The host machine name where the Informatica Repository Server is installed. The port number the Repository Server uses to connect to repository client applications. By default, this value is 5001. It is recommended that you use the default value.
84
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Installing and Configuring Analytics Applications on Windows Setting Up the Informatica Server
a b 6
Leave the default License File Name as pm.lic. If you have an option or connectivity license key, enter it in the with Key field, and click Update. Do this for each option and connectivity license key.
a b 7
Make sure the Treat CHAR as CHAR on read option is selected. Make sure the maximum number of database connections is 100.
In the Configuration tab, set the Data Movement Mode. NOTE: You must run the Informatica Server in Unicode mode if your source data contains multibyte or ISO 8859-1 (8-bit ASCII) data.
a b
Select the ASCII or UNICODE option. If you select the UNICODE option, remove the check from the Validate Data Codepages check box, and check the Output Session Log in UTF8 check box.
c 8 9
In the JavaSdk tab, leave the default values in all fields. Click OK in the Configure Informatica Service dialog box to complete the configuration of the Informatica Server service.
NOTE: You cannot start the Informatica Server until you have completed the procedures in the section Creating, Restoring, and Configuring the Informatica Repository on page 89.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
85
Installing and Configuring Analytics Applications on Windows Setting Environment Variables on Windows
NOTE: You need to reboot your machine after setting the environment variables for the change to take effect.
For Oracle and DB2, leave a space between siebel@db204007 and siebel@db204008.
86
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Installing and Configuring Analytics Applications on Windows Copying Database Parameter Files
For MSSQL, use the system DNS name for [connectString_OLTP] and [connectString_OLAP].
NOTE: You must enter the user names and connect strings in the same case as you used in the Workflow Manager > Connections > Relational settings.
To copy the database parameter files to the Informatica Server machine for Siebel Business Applications
For Siebel Business Applications, copy the following files: Copy From The appropriate source database directory in SiebelAnalytics\dwrep\Informatica\Para meterFiles. The appropriate target database directory in SiebelAnalytics\dwrep\Informatica\Para meterFiles. SiebelAnalytics\dwrep\Informatica\Para meterFiles Copy To The SrcFiles directory on the Informatica Server machine. The SrcFiles directory on the Informatica Server machine. The SrcFiles directory on the Informatica Server machine.
parameterfileDW.txt parameterfileDW_UA.txt
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
87
Installing and Configuring Analytics Applications on Windows Copying Teradata Loader Control Files
To copy the database parameter files to the Informatica Server machine for Siebel Industry Applications
For Siebel Industry Applications, copy the following files: Copy From The appropriate source database directory in SiebelAnalytics\dwrep\Informatica\Para meterFiles. Copy To The SrcFiles directory on the Informatica Server machine.
File parameterfileOLTP.txt parameterfileOLTP_UA.txt sia_parameterfileOLTP.txt sia_parameterfileOLTP_UA.txt parameterfileDW.txt parameterfileDW_UA.txt sia_parameterfileDW.txt sia_parameterfileDW_UA.txt AlignmentType.csv ApplicationVariables.csv Day_FiscalCalendar.csv
SiebelAnalytics\dwrep\Informatica\Para meterFiles
NOTE: For Teradata databases, the files sia_parameterfileOLTP.txt and sia_parameterfileOLTP_UA.txt do not exist.
88
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Installing and Configuring Analytics Applications on Windows Creating, Restoring, and Configuring the Informatica Repository
Administrator Password
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
89
Installing and Configuring Analytics Applications on Windows Creating, Restoring, and Configuring the Informatica Repository
Leave the default values in the remaining fields, and click OK.
In the Data Warehouse Configuration wizard, select the Create Informatica Repository check box, and then click Next. The Informatica Repository tab is active.
Enter the following information: Field Database Type Table Owner Description Type of database. Valid database user.
90
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Installing and Configuring Analytics Applications on Windows Creating, Restoring, and Configuring the Informatica Repository
Description If you are using... Oracle (OCI8) use the tnsnames entry. Oracle (Thin) use instance name. SQL Server use the database name. DB2-UDB/DB2-390 use the connect string as defined in the DB2 configuration. Teradata use the database name.
Host Database Table Owner Database Password MSSQL Database Name Informatica Administrator Name/Password
Applicable only to SQL Server. Machine host name where the server resides. Name of table owner. Password for table owner. Applicable to SQL Server only. The database name where you want to restore the repository. Not applicable while restoring the repository. Used only to configure the repository. NOTE: These values should match the values you entered in Setting Up the Informatica Server on page 84.
Repository Server
Name of machine hosting the Informatica Repository Server. NOTE: This value should match the value you entered in Setting Up the Informatica Server on page 84.
Port number used by Informatica Repository Server to listen to requests. NOTE: This value should match the value you entered in Setting Up the Informatica Server on page 84.
Email Address
Not applicable while restoring the repository. Used only to configure the repository.
a b c
In the left pane, select the Informatica Repository Servers node, which appears under Console Root. From the menu bar, select Action > New Server Registration. Enter the host name (the machine where the repository resides).
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
91
Installing and Configuring Analytics Applications on Windows Creating, Restoring, and Configuring the Informatica Repository
Accept the default port number 5001 or enter the appropriate port number. Click OK. The Repository Server host name appears in the right pane under Hostname.
e f
Right-click the server name and choose Connect. In the Connection Information section, enter the Administrator password. Click OK. These values should match the values you entered in Setting Up the Informatica Server on page 84.
3 4 5
In the left pane, select the Repositories folder, which appears under the Repository Server name. In the menu bar, click Action > Add Repository. Add the repository to the cache.
a b c d e
Enter the Database Type. Enter the Repository Name. This value should match the value you entered in Setting Up the Informatica Server on page 84. Enter the Connect String Name. Enter the Code Page based on the operating system platform. Enter a User and Password. These values should match the values you entered in Setting Up the Informatica Server on page 84. Click OK to save the information. A message box states the repository has been added to the Repository Servers cache, and asks if you want to create a repository using this connection information.
In the message box, click No. The repository will be restored from the .rpd file.
Copy the file Siebel_DW_Rep_Teradata.rep from the directory \SiebelAnalytics\dwrep\Informatica\Repository to the directory \Informatica Repository Server\bin\Backup. For UNIX installations, copy the file to the directory /Informatica Repository Server/Backup. NOTE: You should now proceed to the procedure To configure the Informatica repository in the Workflow Manager for Teradata installations on page 97. You do not need to perform the procedures Registering the Informatica Repository Server in Repository Server Administration Console on page 93 or Pointing to the Informatica Repository on page 93.
92
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Installing and Configuring Analytics Applications on Windows Creating, Restoring, and Configuring the Informatica Repository
From the menu bar, select Action > New Server Registration.
a b c d
Enter the host name (the machine where the repository resides). Accept the default port number 5001 or enter the appropriate port number. Click OK. The Repository Server host name appears in the right pane under Hostname. Right-click the server name and choose Connect. In the Connection Information section, enter the Administrator password. Click OK.
These values should match the values you entered in Setting Up the Informatica Server on page 84.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
93
Installing and Configuring Analytics Applications on Windows Creating, Restoring, and Configuring the Informatica Repository
In the General tab, enter the following information: Field Repository Name Description The name for the Informatica repository. This value should match the value you entered in Setting Up the Informatica Server on page 84. Select Do not create any content. A repository already exists under the specified database connection.
Creation Mode
In the Database Connection tab, enter the following information: Field DatabaseType CodePage ConnectString Description The type of database storing the repository. The code page based on the operating system platform. The native connect string the Repository Server uses to access the database containing the repository. For MSSQL Server databases, use <SERVERNAME@DATABASENAME>. DBUser The account used to access the repository. This value should match the value you entered in Setting Up the Informatica Server on page 84. The password for the repository user. This value should match the value you entered in Setting Up the Informatica Server on page 84.
DBPassword
Click the Licenses tab. You may see a message stating the license file is empty.
7 8
Click OK to close the message dialog box. In the License Key field, enter the Product license key, and then click Update. The license key information appears in the lower window of the Licenses tab.
Repeat the step above for the Option and Connectivity license keys.
94
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Installing and Configuring Analytics Applications on Windows Creating, Restoring, and Configuring the Informatica Repository
10 Click OK to save the configuration options. 11 Select the repository, right-click and then click Start to start the repository.
NOTE: The Informatica repository tables need to be analyzed for better performance. This procedure must be done manually by the database administrator.
NOTE: The Informatica repository cannot be configured using the Data Warehouse Configurator if the source or target database is Unicode. Therefore, make sure the Is Unicode check box is not checked in the Data Warehouse tab and in the Transactional Database tab of the Data Warehouse Configurator. You then need to configure the Informatica repository in the Informatica Workflow Manager to specify the source and target databases as Unicode. For instructions, see To set the database connection code page in Workflow Manager on page 96.
To replace database connections for SQL Server databases that have non-ASCII data 1 2 3
Launch the Informatica Workflow Manager. Connect to the repository. Select Connections >Relational. A new window appears.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
95
Installing and Configuring Analytics Applications on Windows Creating, Restoring, and Configuring the Informatica Repository
If your source database is on SQL Server, create a connection using the following values: Field Name Code Page Value ODBC_OLTP UTF-8 encoding of Unicode
If your target database is on SQL Server, create a connection using the following values: Field Name Code Page Value ODBC_OLAP UTF-8 encoding of Unicode
7 8 9
Select Connections > Replace. Click Add a New Connection Pair. If your source database is SQL Server, enter MSSQL_OLTP in the From field, and ODBC_OLTP in the To field. the From field, and ODBC_OLAP in the To field.
10 If your target database is SQL Server, click Add a New Connection Pair, and enter MSSQL_OLAP in 11 Click Replace.
The database connection code page also has to be set manually through the Informatica Workflow Manager for Unicode/Non-Latin code pages.
Double-click the appropriate OLTP connection (DB2_OLTP for DB2, ORA_OLTP for Oracle, ODBC_OLTP for MSSQL). The Connection Object Definition dialog box opens.
b 5 a
For the Code Page, select UTF-8 encoding of Unicode or the appropriate code page, and click OK.
Configure the code page for the target connection: Double-click the appropriate OLAP connection (DB2_OLAP for DB2, ORA_OLAP for Oracle, ODBC_OLAP for MSSQL).
96
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Installing and Configuring Analytics Applications on Windows Creating, Restoring, and Configuring the Informatica Repository
For the Code Page, select UTF-8 encoding of Unicode or the appropriate code page, and click OK.
To configure the Informatica repository in the Workflow Manager for Teradata installations 1 2
Launch the Informatica Workflow Manager. In the Repositories list, select the Informatica repository. The recommended repository name is Siebel_DW_Rep_Teradata for Teradata databases. This value should match the value you entered in Setting Up the Informatica Server on page 84. In the menu bar, select Repository > Connect. Log in using the username and password you entered in Setting Up the Informatica Server on page 84. Click Connect. Configure the relational connections.
3 4 5
a b c d
In the menu bar, select Connections > Relational. In the Objects window, select Olap_Teradata, and then click Edit. Edit the User Name, Password, Database Name, and Data Source Name, and then click OK. If you cannot use the existing source connection (the default source connection is for an Oracle database), you need to create a new relational connection and then use the Replace Connections functionality (Connections > Replace) to replace the relational database connection. Click Close to close the Relational Connection Browser.
e 6 a b c d
Configure the external loader connection. In the menu bar, select Connections > Loader. In the Objects window, select Teradata_Tpump_Upsert, and then click Edit. Edit the User Name, Password, TDPID, Database Name, and other attributes as necessary. Repeat these steps for the following objects:
For Unicode environments, append -c UTF8 to the value for the External Loader Executable attribute for each external loader. For example: fastload -c UTF8 tpump -c UTF8
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
97
Installing and Configuring Analytics Applications on Windows Setting the Code Page File Property for Unicode Environments on Teradata Databases
3 4 5
Log in using the username and password you entered in Setting Up the Informatica Server on page 84. Click Connect. Once connected, double-click the icon of the server name (SIEBEL_DW_SERVER is the recommended server name) under the repository icon. The Server dialog box opens.
6 7
In the Host Name field, enter the computer name (as shown in the Network control panel) of the machine running the Informatica Server. Optionally, configure the Code Page setting.
If the Informatica Server uses ENU Windows, leave the setting unchanged. For localized environments, choose the appropriate setting.
8 9
Click Advanced to expose the Server Variables list. Make sure the $PMRootDir variable points to the directory where the Informatica Server is installed. NOTE: If you install the Informatica Server on a machine different from the recommended configuration, make sure to update the $PMRootDir variable with the new location.
Setting the Code Page File Property for Unicode Environments on Teradata Databases
If you have a Unicode environment on a Teradata database, you need to set the code page file property of sessions that use the Teradata external loaders to use the code page UTF8. You need to follow this procedure to set the code page file property for each session that uses a Teradata external loader.
98
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Installing and Configuring Analytics Applications on Windows Setting Up the HOSTS File for Teradata Installations on Windows
To set the code page file property for a Unicode environment on a Teradata database 1 2 3 4 5 6
Launch the Informatica Workflow Manager. Open the appropriate session. In the Edit Tasks dialog box, select the Targets tab. Click Set File Properties. In the Flat Files - Targets dialog box, in the File Properties area, click Advanced. In the Fixed Width Properties - Targets dialog box, in the Code Page area, select UTF-8 encoding of Unicode.
For more information about setting the TDPID parameter, see the Teradata documentation.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
99
Installing and Configuring Analytics Applications on Windows Starting the Informatica Server
Double-click the SIEBEL_DW_SERVER icon that appears under the Siebel_DW_Rep icon. The Server dialog box opens.
3 4
Click Advanced to expose the Server Variables list. Verify the following settings:
5 6
Close the Server dialog box. In the menu bar, select Connections > Relational. The Relational Connection Browser window opens.
3 4
In the General tab, in the Startup Type drop-down list, select Automatic. In the Log On tab, if you plan on using email notification, enter the appropriate username and password. Select System Account if you do not plan on using email notification. NOTE: If the Informatica Repository Manager and Workflow Manager are not pointing to the Siebel Data Warehouse, the Informatica service cannot start.
5 6
In the General tab, in the Server Status area, click Start. Close the Services window.
100
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Installing and Configuring Analytics Applications on Windows Setting DAC ETL Preferences
Table 29.
ETL Preferences Description The start date used to build the day dimension and to flatten exchange rates and costs lists. The end date used to build the day dimension and to flatten exchange rates and costs lists. The LAST_UPD column in Siebel transactional database tables is used for incremental change capture. This timestamp reflects the actual event time. It is therefore possible for a data row to be committed to the transactional database with a LAST_UPD date that is older than the date on which the last refresh was executed. This will cause the data row to be missed in the subsequent extract (if based purely on LAST_UPD date). However, the LAST_UPD date column still provides an opportunity to improve the change capture process by overlapping the extraction date window by the number of days set in this parameter. The records extracted in the overlapped window are filtered by comparing this information with information in the Image table. The Prune Days setting ensures that the rows that had values in LAST_UPD older than values in LAST_REFRESH_DATE are not missed. This is a parameter that can be set based on experience with processes, such as remote sync, that potentially can cause records to be missed. This parameter cannot be less than 1. For example: Assume the table W_PERSON_D was refreshed on January 15th by querying the table S_CONTACT. And, the Prune Days setting was set to 5. The next time S_CONTACT is queried to load W_PERSON_D, the records that have a LAST_UPD value since January 10 are compared with the ROW_ID of the Image table to cover for any missing records between January 15 and January 10 (the overlap period).
During the ETL process, if a records transaction currency is null, the ETL process uses the currency specified here as the default transaction currency. The currency to which all financial transaction are converted during the load process. The exchange rate used during a data warehouse currency conversion if certain currency exchange rates are not available.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
10 1
Installing and Configuring Analytics Applications on Windows Configuring the DAC Server
Table 29.
ETL Preferences Description Applicable to opportunities only. The maximum number of days an opportunity can spend in a sales stage. The language into which columns display strings are translated. NOTE: Language-independent strings are stored in the _l columns. If you do not know what the default language setting is, issue the following query against the transactional database: select VAL from S_SYS_PREF where SYS_PREF_CD=ETL Default Language;
Applicable to Oracle databases only. The indexspace where indices are created. The indexspace can be specified at the index level or at the global level (ETL Preferences dialog box). When indices are dropped and created, they are created in the default indexspace for the table if an indexspace is not specified in the indexspace property of the index itself. If you do not want to specify indexspaces for every index, you can specify a default indexspace in the ETL Preferences dialog box. NOTE: This indexspace is used only when indices are dropped and created. After the indices are created, changing the value does not move them over.
Alignment Version
Applicable to vertical applications only. Seed data needs to be updated in certain lists of values to make sure that the ETL process correctly populates the alignment type and product category relationships in the Siebel Data Warehouse. Remove the check from this check box if you want to make changes to the existing alignment. Check this check box if you want to create a new alignment version. This setting is used by Siebel Life Sciences to control loading of changes in assignment rules in Siebel Assignment Manager.
102
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Installing and Configuring Analytics Applications on Windows Configuring the DAC Server
Configuring the Connection between the DAC Server and DAC Repository
Follow this procedure to configure the connection between the DAC server and the DAC repository.
To configure the connection between the DAC server and the DAC repository 1 2
Launch the DAC client. From the menu bar, click Tools > DAC Server Management > DAC Server Setup. A confirmation dialog box asks you to confirm that you want to configure the DAC repository connection.
4 5
In the Repository Connection Information tab, enter the appropriate information. Click Test Connection to make sure the connection works.
In the Email Configuration tab, enter the appropriate information, and click Save.
Once the configuration has been completed, you can start the DAC server.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
10 3
Installing and Configuring Analytics Applications on Windows Updating Siebel Transactional Database Schema Definitions
To back up a repository 1 2 3
Open a DOS window and navigate to the siebsrvr\bin directory. Run the command siebenv to set the Siebel environment variables. Export the repository to a .dat file: repimexp /a e /u username /p password /c odbc /d table_owner /r repository /f dat_file /v y /l logfile
104
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Installing and Configuring Analytics Applications on Windows Updating Siebel Transactional Database Schema Definitions
6 7
Click Next. Select the option Merge the object definition from the archive file with the definition in the repository, and click Next. The Import Wizard reviews all the object conflicts between what is in the repository and what is in the SIF file.
8 9
When the Import Wizard process is done, expand the tree under Conflicting Objects to verify the changes being applied from the SIF file to the repository. When you are done, click Next. A warning appears: The operation is going to modify your repository ... Click Yes.
Select all the tables in the list and click Apply. The Apply Schema wizard appears.
In the Tables drop-down menu, select Current Query. Enter the appropriate connection parameters, and click Apply.
S_ETL_R_IMG_1 through S_ETL_R_IMG_88 S_ETL_I_IMG_1 through S_ETL_I_IMG_88 S_ETL_D_IMG_1 through S_ETL_D_IMG_88 S_ETL_R_IMG_133 through S_ETL_R_IMG_147 S_ETL_I_IMG_133 through S_ETL_I_IMG_147 S_ETL_D_IMG_133 through S_ETL_D_IMG_147 S_ETL_PARAM S_ETL_PRD_ATTR
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
10 5
Installing and Configuring Analytics Applications on Windows Updating Siebel Transactional Database Schema Definitions
S_ETL_PRD_REL
S_ETL_R_IMG_84 through S_ETL_R_IMG_132 S_ETL_I_IMG_84 through S_ETL_I_IMG_132 S_ETL_D_IMG_84 through S_ETL_D_IMG_132 S_ETL_R_IMG_148 through S_ETL_R_IMG_151 S_ETL_I_IMG_148 through S_ETL_I_IMG_151 S_ETL_D_IMG_148 through S_ETL_D_IMG_151
106
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Installing and Configuring Analytics Applications on Windows Creating Siebel Stored Procedures for DB2-UDB
5 6
(Optional) Select the Include optional triggers check box to include optional tables. Click Start.
NOTE: If you get an error message, you do not have the Siebel procedures. Creating stored procedures must be performed by the database administrator.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
10 7
Installing and Configuring Analytics Applications on Windows Teradata-Specific Installation and Configuration Checklist (Windows)
Teradata-Specific Installation Checklist for Windows Link to Topic Teradata-Specific Database Guidelines for Siebel Data Warehouse on page 48. Activating Join Indices for Teradata Databases on page 81. Creating and Dropping Data Warehouse Tables on a Teradata Database on page 83. Setting Up the Informatica Server on page 84. Copying Teradata Loader Control Files on page 88. To create or restore the Informatica repository for Teradata installations on page 91.
Review Teradata-specific database guidelines. Activate join indices. Create or drop data warehouse tables. Use recommended name for Informatica repository. Copy Teradata loader control files. Create or restore the Informatica repository using the Informatica Repository Manager. You cannot create or restore the Informatica repository using the DAC. Configure the source and data warehouse database relational connections in the Informatica Workflow Manager. You cannot use the DACs Data Warehouse Configurator to configure relational connections. Set the Code Page File Property for Unicode Environments. Set up the HOSTS file.
To configure the Informatica repository in the Workflow Manager for Teradata installations on page 97.
Setting the Code Page File Property for Unicode Environments on Teradata Databases on page 98. Setting Up the HOSTS File for Teradata Installations on Windows on page 99.
108
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
This chapter provides instructions for installing and configuring the Siebel Business Analytics Applications in UNIX environments. It contains the following main topics: Overview of Deploying Analytics Applications on UNIX on page 109 Analytics Applications Installation and Configuration Process on UNIX on page 110
NOTE: If you are installing Siebel Business Analytics Applications in a UNIX environment, you must use the Unicode character data mode. For more information about Unicode, see Deploying Siebel Data Warehouse in Latin-1 General, Unicode and Non-English Environments on page 48
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
10 9
Installing and Configuring Analytics Applications on UNIX Analytics Applications Installation and Configuration Process on UNIX
Figure 9 shows the deployment configuration for a UNIX installation. Note that the Informatica client tools and the DAC client are installed on Windows only. You will complete some of the configuration tasks in the Windows environment. Table 31 lists each task in the installation and configuration process and tells you in which environment to complete the task.
Figure 9.
110
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Installing and Configuring Analytics Applications on UNIX Analytics Applications Installation and Configuration Process on UNIX
UNIX Installation and Configuration Process Instructions Running the Analytics Applications Installation Wizard (Windows) on page 65 Installing Analytics Applications on UNIX on page 114 Installing and Configuring the Informatica Repository Server on UNIX on page 115. Installing and Configuring the Informatica Server on UNIX on page 117. Updating the Informatica License Files on UNIX on page 124. Installing the Informatica Patches on UNIX on page 124 Setting Informatica Data Code Pages Validation on page 69. Installing the Java SDK on page 69. Environment Windows
UNIX
Install and Configure the Informatica Repository Server on UNIX. Install and Configure the Informatica Server on UNIX. Update the Informatica license files.
UNIX
UNIX
UNIX
6 7
Install the Informatica patch. Set Informatica Data Code Pages Validation. Install the Java SDK on the machines where both the DAC client and DAC server are installed.
UNIX Windows
Configuring the DAC Config.bat File on page 69. Creating the DAC Metadata Repository on page 71.
Windows Windows
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
11 1
Installing and Configuring Analytics Applications on UNIX Analytics Applications Installation and Configuration Process on UNIX
UNIX Installation and Configuration Process Instructions Setting Up DAC System Properties on page 73. Creating ODBC Database Connections on page 77. Creating Transactional and Data Warehouse Database Connections on page 79 Creating Database Connections for Teradata Installations on page 124. Registering Informatica Servers in the DAC Client on page 80. Configuring Email Recipients in the DAC Client on page 81. Activating Join Indices for Teradata Databases on page 81. Environment Windows Windows Windows
UNIX
Windows
Windows Windows
Creating the SSE Role on page 82. Creating Data Warehouse Tables on page 82. Creating and Dropping Data Warehouse Tables on a Teradata Database on page 83.
Setting Environment Variables for the Informatica Server on UNIX on page 125. Setting Environment Variables on Windows on page 86. Copying Database Parameter Files on page 87. Creating, Restoring, and Configuring the Informatica Repository on page 89.
UNIX
Windows
Windows Windows
112
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Installing and Configuring Analytics Applications on UNIX Analytics Applications Installation and Configuration Process on UNIX
UNIX Installation and Configuration Process Instructions Starting the Informatica Repository Server on UNIX on page 127. Creating or Restoring the Informatica Repository on page 90. Dropping the Informatica Repository (Optional) on page 92. Registering the Informatica Repository Server in Repository Server Administration Console on page 93. Pointing to the Informatica Repository on page 93. Configuring the Informatica Repository in the DAC on page 95. Configuring the Informatica Repository in Workflow Manager on page 98. Environment UNIX
Windows
Windows
Windows
Windows Windows
Windows
Setting the Code Page File Property for Unicode Environments on Teradata Databases on page 98 Setting Up the HOSTS File for Teradata Installations on UNIX on page 126. Verifying the Informatica Repository Configuration on page 99. Starting the Informatica Server on UNIX on page 130. Setting DAC ETL Preferences on page 100. Configuring the DAC Server on UNIX on page 128.
Windows
UNIX
Windows
22 Start the Informatica Server. 23 Set the DAC ETL Preferences. 24 Configure the DAC server.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
11 3
Installing and Configuring Analytics Applications on UNIX Installing Analytics Applications on UNIX
UNIX Installation and Configuration Process Instructions Backing Up the Siebel Repository on page 104. Importing the SIF File into the Siebel Transactional Database on page 104. Verifying the SIF Patch Application on page 105. Creating Delete Triggers on page 106. Environment Windows Windows
Windows Windows
Copy the following files from the Windows environment into the UNIX environment. Use the same directory structure in the UNIX environment as the Windows environment. File Type Data warehouse schema SIF files DAC repository File Name ddlsme.ctl *.sif *.* File Location SiebelAnalytics\dwrep SiebelAnalytics\dwrep SiebelAnalytics\DAC\export
114
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Installing and Configuring Analytics Applications on UNIX Installing and Configuring the Informatica Repository Server on UNIX
File Type DAC application related Delete trigger Analytics repository Web catalog Language
Description The name of the Repository Server configuration file. The port number the Repository Server uses for repository client connections. The default is 5001. The administrative password used to access the Repository Server. It is recommended that you use Administrator as the password.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
11 5
Installing and Configuring Analytics Applications on UNIX Installing and Configuring the Informatica Repository Server on UNIX
Option RaMinPort
Description The minimum port number the Repository Server can assign to the Repository Agent process. The default is 5002. The maximum port number the Repository Server can assign to the Repository Agent process. The default is 65535. The name of the directory in which the Repository Server stores repository configuration information files. You can specify either a relative path or an absolute path. The default is Config. The name of the directory in which the Repository Server stores repository backup files. You can specify either a relative path or an absolute path. The default is Backup. The name of the directory in which the Repository Server stores repository plugin files. You can specify either a relative path or an absolute path. The default is Plugin. The level of error messages written to the Repository Server log. Specify one of the following message levels: Error. Writes ERROR code messages to the log. Warning. Writes WARNING and ERROR code messages to the log. Information. Writes INFO, WARNING, and ERROR code messages to the log. Tracing. Writes TRACE, INFO, WARNING, and ERROR code messages to the log. Debug. Writes DEBUG, TRACE, INFO, WARNING, and ERROR code messages to the log.
RaMaxPort
Required
ConfigDir
Required
BackupDir
Required
PluginDir
Required
ErrorSeverityLevel
Required
The default is Information LogFileName Required The name of the Repository Server log file. The default is pmrepserver.log.
116
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Installing and Configuring Analytics Applications on UNIX Installing and Configuring the Informatica Server on UNIX
Description The name of the Informatica Server configuration file. The name of the Informatica Server registered with the repository. It is recommended that you use SIEBEL_DW_SERVER. The repository name entered when creating or upgrading a repository. It is recommended that you use Siebel_DW_Rep. The repository user name used to connect to the repository. It is recommended that you use Administrator The password corresponding to the repository user (PMUser). It is recommended that you use Administrator. The host name of the machine hosting the Repository Server. The port number the Repository Server uses to communicate with repository client applications.
RepositoryName
Required
PMUser
Required
PMPassword
Required
RepServerHostName RepServerPortNumb er
Required Required
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
11 7
Installing and Configuring Analytics Applications on UNIX Installing and Configuring the Informatica Server on UNIX
Option RepServerTimeout
Description The maximum number of seconds the Informatica Server tries to establish a connection to the Repository Server. The filename of the Informatica Server log file. Possible values are ASCII and UNICODE. The default data movement mode is ASCII, which passes 7-bit ASCII character data. To pass 8-bit ASCII and multibyte character data from sources to targets, use the Unicode mode. NOTE: If you use the UNICODE mode, you should set the ValidateDataCodePages option as No and the SessionLogInUTF8 option as Yes.
LogFileName DataMovementMode
Optional Required
ValidateDataCodePa ges
Required
If set to Yes, the Informatica Server enforces data code page compatibility. If set to No, the Informatica Server lifts restrictions for source and target data code page selection, stored procedure and lookup database code page selection, and session sort order selection. NOTE: If you set the DataMovementMode option to UNICODE, you should set the ValidateDataCodePages option as No.
SessionLogInUTF8
Required
If set to Yes, the Informatica Server writes to the session log using the UTF-8 character set. If set to No, the Informatica Server writes to the session log using the Informatica Server code page. NOTE: If you set the DataMovementMode option to UNICODE, you should set the SessionLogInUTF8 option as Yes.
MaxSessions
Required
The maximum number of sessions stored in shared memory. This sets the maximum number of sessions the Informatica Server can run in parallel. The amount of shared memory available for use by the Informatica Server Load Manager process. For every 10 sessions in MaxSessions, you need at least 2,000,000 bytes reserved in LMSharedMem. The default is 2,000,000 bytes. Set to Yes if you want to append a time stamp to messages written to the workflow log.
LMSharedMem
Required
TimeStampWorkflow LogMessages
Optional
118
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Installing and Configuring Analytics Applications on UNIX Installing and Configuring the Informatica Server on UNIX
Description Set to Yes to have the Informatica Server fail the session if the number of sessions already running is equal to the value configured for MaxSessions. If you set this option to No, the Informatica Server places the session in a ready queue until a session slot becomes available. If you want the Informatica Server to write session log messages to an external library, enter the name of the library file. The level of error messages written to the Informatica Server log. Specify one of the following message levels: Error. Writes ERROR code messages to the log. Warning. Writes WARNING and ERROR code messages to the log. Information. Writes INFO, WARNING, and ERROR code messages to the log. Tracing. Writes TRACE, INFO, WARNING, and ERROR code messages to the log. Debug. Writes DEBUG, TRACE, INFO, WARNING, and ERROR code messages to the log.
Optional
Optional
DateHandling40Com patibility
Optional
Set to Yes if you want the Informatica Server to handle dates as in PowerCenter 1.0/PowerMart 4.0. Set to No if you want the Informatica Server to handle dates as defined in the current version of PowerCenter. Date handling significantly improved in PowerCenter 1.5 and PowerMart 4.5. If you need to revert to PowerCenter 1.0 or PowerMart 4.0 behavior, you can configure the Informatica Server to handle dates as in PowerCenter 1.0 and PowerMart 4.0.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
11 9
Installing and Configuring Analytics Applications on UNIX Installing and Configuring the Informatica Server on UNIX
Description Set to Yes if you want the Informatica Server to handle dates as in PowerCenter 1.0/PowerMart 4.0. Set to No if you want the Informatica Server to handle dates as defined in the current version of PowerCenter. Date handling significantly improved in PowerCenter 1.5 and PowerMart 4.5. If you need to revert to PowerCenter 1.0 or PowerMart 4.0 behavior, you can configure the Informatica Server to handle dates as in PowerCenter 1.0 and PowerMart 4.0.
AggregateTreatNullA sZero
Optional
Set to 1 to have the Informatica Server treat nulls as zero in Aggregator transformations. Set to 0 to have the Informatica Server treat nulls as nulls in aggregate calculations. Set to 1 to have the Informatica Server perform aggregate calculations before flagging records for insert, update, delete, or reject in Update Strategy expressions. Set to 0 to have the Informatica Server perform aggregate calculations based on the Update Strategy transformation. If specified, the Informatica Server validates the date display format and uses it in session log and server log entries. If the date display format is invalid, the Informatica Server uses the default date display format. The default date display format is DY MON DD HH 24:MI:SS YYYY. If set to Yes, the Informatica Server processes master and detail pipelines sequentially as it did in versions prior to 7.0. The Informatica Server processes all data from the master pipeline before starting to process the detail pipeline. Also, if you enable this option, you cannot specify the Transaction level transformation scope for Joiner transformations. If set to No, the Informatica Server processes the master and detail pipelines concurrently.
AggregateTreatRowA sInsert
Optional
DateDisplayFormat
Required
JoinerSourceOrder6 xCompatibility
Optional
120
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Installing and Configuring Analytics Applications on UNIX Installing and Configuring the Informatica Server on UNIX
Description Determines how the Informatica Server evaluates null values in comparison operations. Specify one of the following options: Null. The Informatica Server evaluates null values as null in comparison expressions. If either operand is null, the result is null. This is the default behavior. High. The Informatica Server evaluates null values as greater than non-null values in comparison expressions. If both operands are null, the Informatica Server evaluates them as equal. When you choose High, comparison expressions never result in null. Low. The Informatica Server evaluates null values as less than nonnull values in comparison expressions. If both operands are null, the Informatica Server treats them as equal. When you choose Low, comparison expressions never result in null.
WriterWaitTimeOut
Optional
In target-based commit mode, the amount of time in seconds the writer remains idle before it issues a commit when the following conditions are true: The Informatica Server has written data to the target. The Informatica Server has not issued a committed.
The Informatica Server may commit to the target before or after the configured commit interval. Default is 60 seconds. If you configure the timeout to be 0 or a negative number, the Informatica Server defaults to 60 seconds. LoadManagerAllowD ebugging CreateIndicatorFiles Optional Optional If set to Yes, you can run the Debugger. If set to Yes, the Informatica Server creates indicator files when you run a workflow with a flat file target. If set to Yes, the Informatica Server writes duplicate row warnings and duplicate rows for XML targets to the session log.
XMLWarnDupRows
Optional
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
12 1
Installing and Configuring Analytics Applications on UNIX Installing and Configuring the Informatica Server on UNIX
Option OutputMetaDataForF F
Description If you specify this option, the Informatica Server writes column headers to flat file targets. It writes the target definition port names to the flat file target in the first line, starting with the # symbol. By default, this option is disabled. Allows you to specify a maximum number of connections to a lookup or stored procedure database when you start a session. If the number of connections needed exceeds this value, session threads must share connections. This can result in a performance loss. If you do not specify a value, the Informatica Server allows an unlimited number of connections to the lookup or stored procedure database. If the Informatica Server allows an unlimited number of connections, but the database user does not have permission for the number of connections required by the session, the session fails.
MaxLookupSPDBCon nections
Optional
MaxMSSQLConnectio ns
Optional
Allows you to specify a maximum number of connections to a MSSQL Server database when you start a session. If the number of connections required by the session is greater than this value, the session fails. Allows you to specify the number of times the Informatica Server retries a target write on a database deadlock. Allows you to specify the number of seconds before the Informatica Server retries a target write on database deadlock. If set to 0 seconds, the Informatica Server retries the target write immediately. The name of the file that contains the license keys. The default file name is pm.lic. It is recommended that you use this file name. During the installation, the product license key is automatically added to this file. After the installation, you must add any additional Option and Connectivity license keys to this file. For instructions, see Updating the Informatica License Files on UNIX on page 124.
NumOfDeadlockRetri es DeadlockSleep
Optional
Optional
LicenseFile
Required
JVMDllPath
Optional
122
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Installing and Configuring Analytics Applications on UNIX Installing and Configuring the Informatica Server on UNIX
Option JVMClassPath
Description You can set the CLASSPATH to any JAR files you need to run a session using a web service source, target, or transformation. The Informatica Server appends the values you set to the system CLASSPATH. Set this value to increase the minimum amount of memory for JVM to use during an Informatica Server session. The default value is 32 MB. If the session fails due to a lack of memory, you may want to increase this value.
JVMMinMemory
Optional
JVMMaxMemory
Optional
Set this value to increase the maximum amount of memory for JVM to use during an Informatica Server session. The default value is 64 MB. If the session fails due to a lack of memory, you may want to increase this value.
TrustStore
Optional
Enter the value for TrustStore using the following syntax: <path>/<filename>
ClientStore
Optional
Enter the value for ClientStore using the following syntax: <path>/<filename>
JvmOptionName[n]
Optional
You can enter names and values for up to 10 custom VM options. Use the following syntax: JvmOption[n]=D<VMOption_prefix>=<VMOption_value> n can range from 1 to 10 and must be unique for each option.
Enter the JCEProvider class name to support NTLM authentication. Name of the HTTP proxy server. Port number of the HTTP proxy server. This must be a number. Authenticated username for the HTTP proxy server. Password for the authenticated user. Domain for authentication.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
12 3
Installing and Configuring Analytics Applications on UNIX Updating the Informatica License Files on UNIX
When the installation is complete, proceed to Updating the Informatica License Files on UNIX on page 124.
3 4
Repeat Step 2 for every license key you need to add. Navigate to the Repository Server installation directory, and repeat Step 2 for every license key you need to add.
124
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Installing and Configuring Analytics Applications on UNIX Setting Environment Variables for the Informatica Server on UNIX
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
12 5
Installing and Configuring Analytics Applications on UNIX Setting Up the HOSTS File for Teradata Installations on UNIX
setenv PATH /<INFA_home>/informatica/pm:.:${PATH} setenv SHLIB_PATH /<INFA_home>/informatica/pm:${SHLIB_PATH} setenv PATH /<INFA_home>/informatica/repositoryserver:.:${PATH} setenv SHLIB_PATH /<INFA_home>/informatica/repositoryserver:${SHLIB_PATH}
To set SiebelUnicodeDB on the Informatica Server if source and target databases are Unicode on UNIX
For all UNIX platforms, if both the transactional and data warehouse data sources are Unicode, add the following line in /<INFA_home>/informatica/pm/pmserver.cfg file. SiebelUnicodeDB=<OLTP_TBO>@<OLTP_connectionString> <OLAP_TBO>@<OLAP_ConnectionString> For example: SiebelUnicodeDB=ora16221@sdcdl580i016_qa16b ora16222@sdcdl580i016_qa16b
126
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Installing and Configuring Analytics Applications on UNIX Starting the Informatica Repository Server on UNIX
<IP address of remote server> <remote server> <remote server>COP<n> For example: 172.20.176.208 tdatsvr tdatsvrCOP1 where tdatsvrCOP1 is the alias for the remote server. The alias must begin with an alphabetic string and end with the COP n suffix, where n is a number between 1 and the total number of applications processors that are associated with the Teradata communications processor.
For more information about setting the TDPID parameter, see the Teradata documentation.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
12 7
Installing and Configuring Analytics Applications on UNIX Configuring the DAC Server on UNIX
Siebel Data Warehouse Scripts for Bash and C Shells Purpose Configures the environment variables for DAC_HOME and JAVA_HOME.
dacCmdLine.sh dacCmdLine.csh dac_env.sh dac_env.csh serverSetupPrompt.sh serverSetupPrompt.csh serverinfo.sh serverinfo.csh startserver.sh startserver.csh startserver_aix.sh startserver_aix.csh stopserver.sh stopserver.csh
Invokes DAC commands on the DAC server. See the file for usage information. Configures environment variables, including Informaticas pmcmd utility, which enables the DAC server to invoke workflows. Other variables included are NLS_LANG and ORA_HOME. Configures DAC metadata repository connection information and DAC administrator email account information, which enables the DAC to send email notification upon the success or failure of execution plans. Displays the DAC server version.
NOTE: All the files listed in Table 32 need to have read, write, and execute permissions. If the files do not have these permissions, modify them using the chmod command.
128
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Installing and Configuring Analytics Applications on UNIX Configuring the DAC Server on UNIX
If you are using an Oracle database and the OCI driver, configure the following variables and uncomment them by removing the # sign at the beginning of the line:
TNS_ADMIN: To set the directory for Oracle to use tnsnames.ora files LD_LIBRARY_PATH (Solaris), LIBPATH (AIX), or SHLIB_PATH (HP): To set the Oracle library path. NOTE: Informatica does not support 64-bit libraries.
Edit the config.sh or config.csh file to set the JAVA_HOME directory. CAUTION: Do not edit any other parameter in this file.
Oracle. If you are using an Oracle database (other than 8.x), find the directory where Oracle is installed. Copy the file named ojdbc14.jar in the jdbc/lib directory and paste it in the $DAC/ lib directory.
If you are using Oracle 8.x, copy the file named classes12.zip and paste it in the $DAC/ lib directory. Also, edit the ORACLELIB setting in the config.sh or config.csh file as follows: setenv ORACLELIB=$DAC_HOME/lib/classes12.zip
DB2. If you are using a DB2 database, find the directory where DB2 is installed. In the Java subdirectory copy the file named db2java.zip and paste it in the $DAC/lib directory. NOTE: If your source or target database is DB2-UDB, you also need to create Siebel stored procedures to be used during the ETL process. For instructions, see Creating Siebel Stored Procedures for DB2-UDB on page 107.
MSSQL. If you are using an MSSQL database, download the SQL Server JDBC drivers from Microsofts Web site. Copy the files msbase.jar, mssqlserver.jar, and msutil.jar to the $DAC/ lib directory.
Run serverSetupPrompt.sh or serverSetupPrompt.csh to set the repository connection information and the email settings:
a b c d
At the initial prompt, enter 1 to set the repository connection information. Enter 3 to test the repository connection. Enter 4 to save the information you entered. Enter 2 to set up the administrator email account. NOTE: For the email functionality to work, you must be using an SMTP server in which the SMTP authentication mode LOGIN is enabled. For example, if you are using Microsoft Exchange Server, you must enable the SMTP module and enable authentication in the Basic Mode. The SMTP server outbound email authentication must be turned on for the DAC server to be able to send email notifications.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
12 9
Installing and Configuring Analytics Applications on UNIX Starting the Informatica Server on UNIX
e 6
Enter 5 to exit.
Copy content-specific XML files from the SiebelAnalytics\DAC\CustomSQLs folder in the Windows installation to the SiebelAnalytics/DAC/CustomSQLs directory in the UNIX installation.
For instructions, see Configuring the Informatica Repository in Workflow Manager on page 98.
The environment variables for the Informatica Server on UNIX must be set. The appropriate parameter files should have been copied to the SrcFiles directory. For Unicode, the SiebelUnicodeDB variable must be set.
130
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Installing and Configuring Analytics Applications on UNIX Starting the DAC Server on UNIX
./pmcmd stopserver Administrator Administrator 4001 You can check whether the Informatica Server is running by entering the command ps -elf |grep pmserver. If it lists pmserver process, the server is running. If it lists grep pmserver, that is the process of the ps command.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
13 1
Installing and Configuring Analytics Applications on UNIX Teradata-Specific Installation and Configuration Checklist for UNIX
./stopserver.sh NOTE: When you execute ./stopserver.csh or ./stopserver.sh, the server will issue a warning about the shutdown request. When the server receives the request, it will shut down even if there is an ETL in progress. The statuses for the ETL run will not be set correctly. The next time the DAC server starts, it will set the status to Failed for any uncompleted run.
Teradata-Specific Installation Checklist for UNIX Link to Topic Teradata-Specific Database Guidelines for Siebel Data Warehouse on page 48. Creating Database Connections for Teradata Installations on page 124. Setting Up the HOSTS File for Teradata Installations on UNIX on page 126.
Review Teradata-specific database guidelines Create database connections Set up the HOSTS file
132
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
This chapter contains the following topics: DAC Licensing Options in Siebel Data Warehouse 7.7.1 on page 133 Navigating the DAC User Interface on page 136 Logging In to the DAC on page 145 Tailoring Execution Plans for Your Needs on page 145 Using the DAC Query Functionality on page 153 Executing an ETL with the DAC on page 155 Running the DAC Server Automatically on page 155 Overview of Command Line Access to the DAC Server on page 156 Handling ETL Failures with the DAC on page 160 Using the Change Capture Filter on page 162 Comparing and Merging DAC Repositories on page 163 DAC Common Tasks on page 165
Is included with any Analytics application Allows you to build and execute ETL plans Is suitable for small data warehouses with little or no customization
Is an optional license Is suitable for large data warehouses with multiple customizations Minimizes ETL execution time by using optimization techniques
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
13 3
DAC Quick Start DAC Licensing Options in Siebel Data Warehouse 7.7.1
Table 34 summarizes the differences between the DAC and DAC Lite versions.
Develop data warehouse applications Manage metadata driven dependencies and relationships Provide metadata validation checks Generate additional change capture DWQL scripts Directly import database and Informatica objects Additional change capture filtering Utilize high-performance execution techniques Task queue optimization engine Load balancing across multiple ETL servers Unlimited ETL session concurrency Automate full and refresh mode optimization rules Restart from point of failure Provide analysis to isolate bottlenecks Error monitoring and email alerting Structured ETL analysis and reporting
DAC Server Features Not Available with DAC Lite The following DAC server features are not available with the DAC Lite version of the Siebel Data Warehouse 7.7.1: Email Optimized queuing Change capture filtering Support for multiple Informatica servers. NOTE: The DAC Lite version supports one Informatica server and five tasks running in parallel.
134
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
DAC Quick Start DAC Licensing Options in Siebel Data Warehouse 7.7.1
DAC Client Features Not Available with DAC Lite The following DAC client features are not available with the DAC Lite version of the Siebel Data Warehouse 7.7.1: Output to File (right-click menu) Update Rows (right-click menu) Output Task Description (right-click menu on Task Definitions tab) Generate View Scripts (right-click menu on Tables tab) Generate Change Capture SQL (right-click menu on Tables tab) Import Database Tables (right-click menu on Task Definitions tab) Import Indices (right-click menu on Task Definitions) Auto Refresh (right-click menu and toolbar on Current Run tab) Analyze Run (right-click menu on Run History tab) Get Chart (right-click menu and toolbar on Current Run tab) Get Phase Chart (right-click menu and toolbar on Current Run tab) Get Graph (right-click menu and toolbar on Current Run tab) Import Informatica Sessions dialog box Server Log Email Configuration tab on Server Configuration dialog box Email Recipients tab Ability to edit the Priority field on the Task Definitions form External Program, SQL File, and Stored Procedure execution types on Task Definitions form New and delete buttons on Task Phases dialog box Ability to edit the Priority field in the Task Phases dialog box Multiple Informatica Server records and sessions Index Override
NOTE: Siebel Data Warehouse Installation and Administration Guide, Version 7.7.1, Rev. C and higher versions document the features of the full DAC version and not the DAC Lite version. The installation instructions in this guide for Windows apply to both the DAC and DAC Lite versions. For installation instructions on UNIX, see the latest revision of Siebel Analytics Platform Installation and Configuration Guide.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
13 5
136
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Table 35.
DAC Toolbar and Right-Click Menu Commands Location in DAC Top and bottom pane toolbars, right-click menu Top and bottom pane toolbars, right-click menu Top and bottom pane toolbars, right-click menu Top and bottom pane toolbars, right-click menu Top and bottom pane toolbars, right-click menu Top and bottom pane toolbars, right-click menu Top pane toolbar in Design view tabs: Execution Plans, Subject Areas, and Table Groups Bottom pane toolbar in Design view Bottom pane toolbar in Execute view, Task tab Top pane toolbar in Design view, Execution Plans tab Description Creates a placeholder for a new record in the selected list. Saves the current record.
Command New
Save
Undo
Undoes changes made to the current record after the last save. Deletes the selected record. If you delete a parent record, the child records are also deleted. Opens a blank query.
Delete
Query
Refresh
Retrieves the data from the repository with the last used query. Generates a preview of all tasks and their dependencies.
Preview
Edit
Opens a dialog box in which you can add and remove objects associated with the selected repository object. Provides a list of the task details that are executed when the selected task is run. Starts a new ETL process.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
13 7
Table 35.
DAC Toolbar and Right-Click Menu Commands Location in DAC Top pane toolbar and right-click menu in Execute View tabs: Current Run, Run History Top pane toolbar and right-click menu in Execute View tabs: Current Run, Run History Top pane toolbar and right-click menu in Execute View tabs: Current Run, Run History Top pane toolbar and right-click menu in Execute View tabs: Current Run, Run History Right-click menu Right-click menu Right-click menu Description Restarts the selected ETL, after the ETL has failed, stopped, or been aborted.
Command Start
Stop
Stops an ETL in progress. All currently running tasks will complete, and queued tasks will stop. The status of the ETL changes to Stopped.
Abort
Causes an ETL in progress to abort. All currently running tasks will be aborted. The status of queued tasks and the ETL itself will change to Stopped. Allows you to turn on and off the automatic screen refresh functionality and set the refresh interval.
Auto Refresh
Copies the contents of a cell (editable and readonly) to the clipboard Pastes a string from the clipboard into a selected cell that supports a string data type. Creates a copy of the selected record, with a unique record ID and (2) appended to its name. The new record is committed to the database when you click the Save button or click outside the cell. In the Design view tabs (except for the Indices tab), Copy Record copies the selected record and the records child records. In the Design view Indices tab and Setup and Execute views, Copy Record copies only the selected record. Outputs to a text file in the DAC root folder the contents of the current tabs record list. Displays the records unique ID and the timestamp for when it was last updated.
138
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Table 35.
DAC Toolbar and Right-Click Menu Commands Location in DAC Right-click menu on Execution Plan and Tables tabs Right-click menu on Tables tab Description Generates drop index, create index, and analyze table scripts for all tables that participate in the ETL process. The results are stored in the log\scripts directory. Generates change capture scripts for tables with defined image suffixes. The scripts may include delete triggers, create and drop statements for delete triggers, and image tables and their indices. Generates change capture view scripts for full or incremental mode for tables that participate in the change capture process. This command can be used for unit testing. Generates change capture SQL scripts for full or incremental mode for tables that participate in the change capture process. This command can be used for unit testing. For some columns, allows you to update the column value for each row to a single value. When you select this command, a dialog box allows you to select the column, and then a second dialog box allows you to enter a value for the column. Allows you to import table definitions from a selected database. Allows you to import index definitions from the database for one or more tables as listed in the result of the query. Saves to an HTML file the description for a selected task definition or for all task definitions. Starts a new ETL process. Allows you to drill down to a particular record that is associated with the selected record. Available when the Task Definitions, Indices, Tables, and Table Groups tabs are active (Design View).
Generate Change Capture Scripts > Generate Image and Trigger Scripts Generate Change Capture Scripts > Generate View Scripts Generate Change Capture Scripts > Generate Change Capture SQL Update Rows
Right-click menu
Right-click menu
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
13 9
Table 35.
DAC Toolbar and Right-Click Menu Commands Location in DAC Right-click menu Description Changes the status of a stopped or failed ETL to Completed. In the audit trail for this ETL, the status is Marked as Completed. Use this command with caution; it can cause the data warehouse to be inconsistent. Changes the status of the selected, completed task and its dependents to Queued. Available only for failed ETLs. Fetches the log file for this run from the DAC server and saves it in the ServerLog folder. Saves a description of the run as an HTML file in the Log/Statistics folder. Displays a chart showing changes in task statuses over time in a separate window. Displays a graph showing changes in task statuses over time in a separate window.
Requeue Task
Right-click menu
Get Run Information > Get Log File Get Run Information > Analyze Run Get Run Information > Get Chart Get Run Information > Get Graph
140
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Table 36.
DAC Tools Menu Commands Description Allows you to export all or part of the DAC metadata in order to back up the data or to reproduce the environment elsewhere. The seed data is exported in XML format. In the Export dialog box, you can specify a directory in which to store the XML file or accept the default directory, which is DAC\export. In the Export dialog box, you can select the following options: Export All Tables. Export Categories. The Logical option exports all information contained in the Design view and database connection information. The Run Time option exports all information contained in the Execute view. The System option exports all information contained in the Setup view, except passwords for servers and database connections. Export Selected Tables. Allows you to select tables for exporting.
Allows you to import all or part of the DAC metadata. When you import data, any existing data in the repository is overwritten. If you want to import new DAC metadata while still working on the same data warehouse, you must keep the table refresh dates intact. In the Import dialog box, you can specify a directory from which to import the data or accept the default directory, which is DAC\export. In the Import dialog box, you can select the following options: Import All Tables. Import Categories. The Logical option imports all information contained in the Design view and database connection information. The Run Time option imports all information contained in the Execute view. The System option imports all information contained in the Setup view, except passwords for servers and database connections. Import Selected Tables. Allows you to select tables for importing.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
14 1
Table 36.
DAC Tools Menu Commands Description Allows you to import a list of Informatica workflow names and folders into a staging table in the DAC repository. Allows you to purge completed runs from the run history. You can purge all runs (except the last run) or specify particular runs to be purged. Note: The last run cannot be purged. In the Purging Runs... dialog box, the following options are available: Entire Run History. Allows you to purge all runs and their related information. The data warehouse must be reset for this option to complete successfully. All. Purges all completed runs except for the last run. By Execution Plan. Allows you to select an execution plan whose associated runs you want to purge. By Run Name. Allows you to select an individual run for purging. Before Specified Date. Allows you to select a date before which all runs except the last run will be purged. Details Only. Purges all related information about a run but leaves the run header information.
Tools Menu Command DAC Repository Management > Import Informatica Sessions DAC Repository Management > Purge Run Details
DAC Repository Management > Analyze Repository Tables DAC Repository Management > Default Index Properties DAC Repository Management > Drop DAC Repository DAC Server Management > Get Server Log DAC Server Management > DAC Server Setup ETL Management > Configure ETL Management > Reset Data Warehouse
Allows you to run analyze table commands for all the DAC repository tables. Allows you to specify which databases will be associated with newly created indices. Allows you to drop all the DAC repository tables. This action deletes all data in the repository. When the DAC server is running an ETL process, this command opens a text box that displays streaming data related to the process. Allows you to configure the DAC server connections and server email settings. This action should be performed on the machine where the DAC server is running. Opens the Data Warehouse Configuration wizard, which you can use to configure an ETL process. Clears the refresh dates for all source and target tables. This action forces a full load to occur.
142
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Table 36.
DAC Tools Menu Commands Description Allows you to configure ETL preferences, such as start and end dates for building the day dimension, currency, language, exchange rate, prune days for disconnected users, maximum number of days an opportunity can spend in a sales stage, and the index space for Oracle databases. Allows you to add or edit task phases. Allows you to add or edit task folders. Changes the user interface to the Windows style. Changes the user interface to the UNIX style. Changes the user interface to the Java style.
Task Properties > Task Phases Task Properties > Task Folders UI Styles > Windows (MFC) UI Styles > UNIX (MOTIF) UI Styles > Java (METAL)
DAC Server Monitor Icons Description DAC client cannot establish a connection to the DAC server.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
14 3
144
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Select predefined values from picklists. For fields that refer to values from other entities, use the query functionality in pop-up dialog boxes. Use Ctrl+C to copy an editable string to the clipboard (not available for read-only strings). Ctrl+V to paste a string from the clipboard into a selected cell that supports a string data type.
Version Detection
In Siebel Data Warehouse version 7.7.1.4 and higher, if the schema, repository, or seed data are of lower versions than the DAC client or do not exist, you will be prompted to upgrade the DAC repository. This upgrade process is automatic. If the upgrade process is interrupted, it will restart from the point it was last saved the next time you log on to the DAC repository. Information about the upgrade process is logged in SiebelAnalytics\DAC\log\upgrade.txt.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
14 5
Tables. Which tables need to be populated for the data warehouse. From which tables does your organization source data? Indices. Do the target tables have the correct indices defined? Tasks. Are the tasks that load this table defined? Dependencies. What does a task require to be run? Table groups. Do table groups need to be built? Subject areas. Do the subject areas cover all the relevant table groups? Execution plans. Which subject areas need to be refreshed and how often and at what time frequency?
When an execution plan is run, the DAC server uses the following logic to identify the tasks that need to be run and their order of execution:
a b c 2
Find all the subject areas. Find all the table groups that belong to the subject areas. Find all the tables that belong to the table groups.
Recursive selection of related tables. Recursively find all the table groups and their tables with the above list of tables. For a description of this process, see About the DAC Table Groups Tab on page 177.
Initial selection of tasks. Find all the tasks that load into the tables selected above, that is, tasks whose target table is one of the selected tables (the tasks that are non-optional).
a b 5 6 7
Depending on the non-optional dependency rules, recursively figure out the prerequisite tasks. Depending on the optional dependency rules, figure out the optional tasks.
Filter tasks based on the database connections that will participate in the ETL. Selection of dependencies. Load dependencies to identify the execution order. Identify the task details. Iterate through all the tasks selected and compute the task details based on whether the target table is loaded in full mode or incremental mode.
8 9
Identify the list of source tables for change capture, create tasks for change capture, and sync for Siebel source tables. At the end of the ETL process, the DAC server updates refresh timestamps for all source tables (primary or auxiliary) and target tables. The refresh timestamps are the database timestamps. The ETL history timestamps (Start and End timestamps) are the DAC server timestamps.
146
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
In the DAC, the Design view allows you to view and modify the relationships among the repository objects discussed above. For more information about the Design view, see About the DAC Design View on page 173.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
14 7
You can prune a table group by inactivating one or more of the tables associated with it. When designing an execution plan, inspect the table groups that you are interested in. If there are dimensions in a fact table that you are not interested in populating during the ETL process, inactivate them or remove the table association. This might also require you to modify the workflows and dependencies as well. Use the Preview functionality to figure out if your design is correct at the table group, subject area, and execution plan level. CAUTION: If a table is removed from one table group but is still active in others that belong to the execution plan, you will see it appearing in the preview. If the table is not required for the entire ETL, consider inactivating the table. For more information about inactivating tables, see The Chaining Process on page 148.
Person Fact Table Group Example Main Table for Group GEO DIMENSION GORUP PERSON FACT GROUP PERSON DIMENSION GROUP ORGANIZATION DIMENSION GROUP DAY DIMENSION GROUP INDUSTRY IDMENSION GROUP Relationship Type Dimension Self Dimension Dimension Dimension Dimension
A similar kind of chaining concept is used for entities that have parent-child relationships. When a parent table participates in an ETL, its child tables also get populated. For example, the Order Dimension and Order Item Fact tables have a parent-child relationship. When the Order Dimension table is part of a table group that participates in an ETL, the Order Item Fact table will also be populated. Therefore, when pruning the data warehouse, you should start with the table groups of type star and verify that all the related tables are required. If a table is not required and it is a parent table, you need to disable the link between it and the child tables that you do not want to populate. For information about disabling entities, see Disabling DAC Repository Entities on page 149. The chaining process is used for the following reasons:
148
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
To maintain data integrity For example, when the Person Fact table group is built, the Person Dimension group is also populated.
Two or more data warehouse tables can share the same source table When multiple data warehouse tables (target tables) share the same source table, they must be populated together. For example, the tables W_PERSON_F and W_PERSON_D have the same main source table, S_CONTACT. Suppose you want to populate the Revenue Fact table group, which has W_REVN_F as its main table and W_PERSON_D as one of the dimension tables. Whenever the Revenue Fact table group is chosen for an ETL execution, W_PERSON_F is also populated because W_PERSON_F is chained to W_PERSON_D.
For example, when the Order Dimension table is built, the Order Item Fact table also must be populated, otherwise the data will not be in sync.
Once the dependencies are correctly defined, the DAC server will execute them in proper order during ETL execution.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
14 9
This part of the preview is useful for understanding how a task relates to all other tasks, which can be helpful for debugging.
150
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Figure 12 shows the dependencies of various tasks: task A depends on tasks B and C, task B depends on tasks D and E, and task D depends on tasks F and G.
Figure 12. Task Dependencies In Figure 13 the tasks are shown as grouped by the DAC server based on the level of dependency. (The level of dependency is referred to as a depth.) Tasks that have no dependencies are depth 0. Tasks that depend on other tasks of depth 0 are depth 1. Tasks that depend on other tasks of depth 1 or 0 are depth 2, and so on.
Figure 13. Task Dependencies by Depth Because the DAC server dynamically prioritizes the tasks that are eligible to run based on the number of resources available, it uses the information generated by the preview to decide which tasks to execute. When more than one task is eligible to be run, a series of prioritization rules is applied.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
15 1
Export All Tables. Select this option to duplicate the entire environment. All tables in the DAC repository and the information in the Design view associated with them are exported as XML files and stored in the DAC\export folder. Exercise caution when selecting this option, because when you import this data, it replaces all run-time information that exists on the database where the import is performed. Export Categories. Select this option to export part of the data from the development environment. The data is stored as XML files in the DAC\export folder. Select one of the following categories:
Logical. Exports all information contained in the Design view and the database connection information. This option preserves all the run data in the new environment, including refresh dates. Run Time. Exports the run-time information but preserves all the logical definitions in the new environment. You may seldom have to select this option. System. Exports system preferences, ETL preferences, and email recipient information. Passwords for servers and database connections are not exported.
3 4
Copy the XML files from the DAC\export folder in the development environment to the DAC\export folder on the local machine in the new environment. In the DAC, in the new environment, select Tools > DAC Repository Management > Import. The Import dialog box appears.
Select the import option that corresponds to the export option you selected in step 2. The following options are available:
Import All Tables. For security reasons, this option does not populate the password fields. Make sure you update the passwords before attempting to run an ETL process. Import Categories. Select one of the following categories:
Logical
152
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
() NULL
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
15 3
DAC Query Commands and Operators Description Placed between values, returns only records for which all the given conditions are true. (Not case sensitive.) Placed between values, returns records for which at least one condition is true. (Not case sensitive.)
Extract* lists all tasks whose name starts with Extract. *Extract* lists all tasks whose name contains the word Extract. !Extract* lists all tasks whose name does not start with the word Extract. !null lists all tasks whose name is not null. Extract* or Aggregate* lists all tasks whose name starts with Extract or Aggregate. Load* and *Aggregate* lists all tasks whose name starts with Load and also contains the word Aggregate. Extract for Wave Dimension or Load into Wave Dimension lists tasks whose name is either Extract for Wave Dimension or Load into Wave Dimension.
NOTE: When using spaces within strings, you need to surround the string with quotes ().
2 3
Enter the query criteria in the appropriate fields. Click Run Query on the toolbar.
154
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Enter the date and time for which you want to search, and select the appropriate query condition. You can use the query commands and operators listed in DAC Query Commands and Operators.
To set up the DAC server to run automatically upon rebooting the machine 1 2 3 4 5 6 7
Navigate to Programs > Accessories > System Tools > Scheduled Tasks. Double-click Add Scheduled Task. In the Scheduled Task Wizard, browse to the startserver.bat file, and click Open. Select the option When my computer starts, and click Next. Enter the domain user account to start the DAC server and a password, and click Finish. The startserver task appears in the Scheduled Task window. Right-click the task and select Properties. In the Settings tab, remove the check from the Stop the task if it runs for 72 hours check box.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
15 5
DAC Quick Start Overview of Command Line Access to the DAC Server
You can access the Siebel DAC server through a command line to start and stop execution plans and to get status information for servers, databases, and execution plans. This feature allows you to access the DAC server using third-party administration or management tools, without using the DAC client.
156
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
DAC Quick Start Overview of Command Line Access to the DAC Server
Starting an Execution Plan When the DAC server receives a request to start an execution plan, it performs a series of checks to verify that the execution plan can be started. It first checks that an execution plan with the requested name exists and that the execution plan is active. Next, it checks the status of the execution plan that last ran. If an execution plan is still running and the DAC server receives a request to start another execution plan, the request will be rejected. If an execution plan failed, a request to run the same execution plan again will be executed; however, a request to run a different execution plan will be rejected. If the execution plan that last ran completed successfully, a request to run a new execution plan will be executed. When the DAC server receives a request to start an execution plan, it will issue a warning if any of the following conditions are true. (A warning is for informational purposes and does not mean the execution plan will not start.) The Generic task concurrency limit (set in the system properties) is not a positive number. There are no active Informatica servers in the server list. One or more Informatica servers do not have the passwords defined. One or more Informatica servers do not have a maximum number of sessions properly set. One or more data sources do not have the passwords defined. One or more data sources do not have a maximum number of connections properly set.
Stopping the Operation of a Running Execution Plan When the DAC server receives a request to stop the operation of a running execution plan, the request will fail in the following cases: The name of the execution plan that is running is different from the name in the request. There is no execution plan currently running.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
15 7
DAC Quick Start Overview of Command Line Access to the DAC Server
Status: Stopped Log File Name: Complete_ETL.255.log Database Connection(s) Used : OLTP jdbc:microsoft:sqlserver://vranganaw8:1433;DatabaseName=OLTP Data Warehouse jdbc:microsoft:sqlserver://vranganaw8:1433;DatabaseName=olap Informatica Server(s) Used :
InformaticaServer4-vranganaw8:(4) InformaticaServer2-vranganaw8:(2) InformaticaServer3-vranganaw8:(3) InformaticaServer1-vranganaw8:(10) Start Time: 2004-06-17 19:00:06.885 Message: ETL was interrupted Actual Start Time: 2004-06-17 18:30:13.357 End Time: 2004-06-17 19:05:56.781 Total Time Taken: 35 Minutes Start Time For This Run: 2004-06-17 19:00:06.885 Total Time Taken For This Run: 5 Minutes Total steps: 212 Running steps: 0 Complete steps: 142 Failed/Stopped steps:70 Summary of connection status to all active databases and Informatica servers.
In the dacCmdLine.bat file, edit the JAVA_HOME variable to point to the directory where the Java SDK is installed. Make sure there are no spaces in the path reference.
Edit the DAC_HOME variable to point to the directory where DAC-REMOTE is installed.
158
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
DAC Quick Start Overview of Command Line Access to the DAC Server
In the dac.properties file, edit the following parameter values. Parameter ServerHost= ServerPort= RepositoryStampVal= Value Host name of the DAC server. Port of the DAC server. The default is 3141. Repository stamp that appears in the DAC client Login Details screen. To find this value, in the DAC client navigate to Help > Login Details. Your dac.properties file should look similar to the following: ServerHost=vranganaw8 ServerPort=3141 RepositoryStampVal=851E0677D5E1F6335242B49FCCd6519
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
15 9
dacCmdLine <method name> <optional execution plan name> where method name is one of the following: Method Name StartETL StopETL ETLStatus Description Starts an execution plan. You must specify an execution plan name. Stops the operation of an execution plan. You must specify an execution plan name. If you do not specify an execution plan name, the status of the execution plan that last ran is returned. If you specify an execution plan name, the status of the specified execution plan is returned. Verifies whether the DAC server can connect to all active database connections. You do not need to specify an execution plan name. Verifies whether the DAC server is able to ping all active Informatica servers.
DatabaseStatus
InformaticaStatus
NOTE: The method names are case insensitive. Execution plan names are case sensitive. Also, if the execution plan name contains spaces, place beginning and ending double quotes around the name.
For example: Command Line dacCmdLine EtlStatus dacCmdLine EtlStatus Forecast dacCmdLine StopEtl Forecast Description Returns the status of the execution plan that last ran. Returns the status of the last instance of the Forecast execution plan. If the execution plan currently running is Forecast, the operation will be terminated. Otherwise, the request is ignored. Returns the health status of all the database connections as defined in the DAC repository from the DAC server. Returns the health status of all the Informatica server connections as defined in the DAC repository from the DAC server.
dacCmdLine databasestatus
dacCmdLine InformaticaStatus
160
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
When the Execution of an Execution Plan Fails on page 161 Discarding the Current Run Execution Plan on page 161 Failure of Aggregator Transformation Tasks with Sorted Input on page 161 Performing a Full Load Again on page 162
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
16 1
To prevent such tasks from failing, in Informatica Designer, navigate to Mapping Designer, open the corresponding mapping, and in the Aggregator transformation, remove the check from the Sorted Input check box.
162
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Table 40 lists the objects that are compared and the table and user key associated with the object. When you perform the compare process, using the Compare and Merge Repositories dialog box, you can choose to import from the source repository into the target the objects that are missing. Records that were modified in the source repository cannot be imported into the target. You must enter the modifications manually in the target repository.
Objects Compared in DAC Repository Compare Process Main Table W_ETL_DBCONN W_ETL_DB_INDEX W_ETL_TABLE_DT W_ETL_DEFN W_ETL_DEFN_DB W_ETL_DEFN_SA User Key NAME W_ETL_DB_INDEX.DB_TYPE, W_ETL_INDEX.NAME W_ETL_DBCONN.NAME, W_ETL_TABLE.NAME W_ETL_NAME W_ETL_DBCONN.NAME, W_ETL_DEFN.NAME W_ETL_DEFN.NAME, W_ETL_SA.NAME
Database Connections (source/target) Database Indices Database Tables Execution Plan Execution Plan Database Connections Execution PlanSubject Area
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
16 3
Objects Compared in DAC Repository Compare Process Main Table W_ETL_DEFN_STEP W_ETL_GROUP W_ETL_GRP_TBL W_ETL_INDEX_COL W_ETL_INDEX W_ETL_FOLDER W_ETL_TABLE W_ETL_STEP W_ETL_STEP_DEP W_ETL_PHASE W_ETL_STEP_TBL W_ETL_SA W_ETL_SA_GROUP W_ETL_SYSPROP User Key W_ETL_DEFN.NAME, W_ETL_STEP.NAME NAME W_ETL_GROUP.NAME, W_ETL_TABLE.NAME W_ETL_INDEX.NAME, W_ETL_INDEX_COL.NAME NAME NAME NAME NAME W_ETL_STEP.NAME, W_ETL_STEP.NAME NAME W_ETL_STEP.NAME, W_ETL_TABLE.NAME NAME W_ETL_GROUP.NAME, W_ETL_SA.NAME NAME
Execution PlanPre-Post Steps Group Group Tables Index Columns Indices Informatica Folder Tables Tasks Task Dependencies Task Phase Task Tables Subject Area Subject Area/Group System Properties
2 3
Export the source DAC repository to back up the data. Set up the database connections for the source and target repositories.
a b
In the DAC, navigate to Setup > Database Connections. Enter the following: Field Logical Name Type Connection Type Enter A logical name for the connection. DAC Repository. Type of database connection.
164
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Enter If you are using... Oracle (OCI8) enter the TNS name. Oracle (Thin) enter the instance name. SQL Server enter the database name. DB2-UDB enter the connect string as defined in the DB2 configuration. Teradata enter the database name.
Name of table owner. Password for table owner. The maximum number of connections the DAC server will maintain to the database. Host machine where the database resides. Required for Oracle (Thin) and MSSQL databases. Not required for Oracle (OCI8), DB2, and DB2-390. Port where the database receives requests. Required for Oracle (Thin) and MSSQL databases. Not required for Oracle (OCI8), DB2, and DB2-390.
Port
4 5 6
From the DAC toolbar, select Tools > DAC Repository Management > Compare and Merge Repositories. In the Compare and Merge Repositories dialog box, select the source and target repositories that you want to compare. To import from the source repository into the target the objects that are missing, select the Import Missing Objects check box. NOTE: Modifications made to objects in the source repository must be entered manually in the target repository. The Difference report is automatically created.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
16 5
Running Two DAC Servers on the Same Machine on page 168 Tracking Deleted Records on page 169 Customizing Index and Analyze Table Syntaxes on page 171
3 4 5 6
Save the file in the SiebelAnalytics\DAC\CustomSQL directory. In the Task Definitions tab of the DAC Design view, query for the task for which you want to replace the Informatica workflow. Replace the workflow name in the Command for Incremental Load or Command for Full Load fields with the XML file. Change the Execution Type to SQL. The DAC uses the target database connection to execute these commands.
166
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
The number of Runnable tasks in the queue. A Runnable task is a task for which the Depends On tasks have completed and is ready to be run but is waiting for an Informatica slot to be available. For information about the different task run statuses, see About the DAC Current Run Tab on page 194. For an optimal run, the runnable queue should be at zero or should reach zero in a short time. For example, Figure 14 shows an ideal performance run when 15 sessions were run in parallel. There were many runnable tasks before the process began, but the queue soon reached zero. You can generate a run analysis such as Figure 14 from the right-click menu (Get Run Information > Get Graph) on the DAC Current Run and Run History tabs. If you find that the runnable curve does not reach zero in a short time, you should increase the Maximum Sessions parameter value to make more Informatica slots available.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
16 7
For the transactional database, the DAC server uses these connections to perform change capture. The number of connections you set for this connection pool determines how many change capture processes can run concurrently. If you have a powerful transactional database server and are going to run ETL processes during off-peak times, you can increase the Max Num Connections setting to 15 or 20 (10 is the default). If you have a less powerful transactional database server, you should not overload the operational system with ETL processes. Therefore, you should set the value below 10. For the Data Warehouse database, the DAC server uses these connections to perform processes such as truncate tables, drop and create indices, and analyze tables. You should not set the Max Num Connections value higher than the Maximum Sessions parameter value (the maximum number of workflows that can be executed in parallel on the Informatica server) because these values have a one to one relationship.
For each instance, edit the config.bat file to set the DAC_HOME variable appropriately. For instructions, see Configuring the DAC Config.bat File on page 69.
3 4
Launch each of the DAC clients by navigating to the DAC directories and double-clicking the startclient.bat file. For each instance, configure the DAC repository connection.
Navigate to Tools > DAC Server Management > DAC Server Setup. An informational dialog box states this operation should be performed on the machine running the DAC server. It asks whether you want to continue.
b c
Click Yes. In the Repository Connection Information tab, enter the appropriate information for each instance. The Database Host should be the same for each instance, and the Database Port should be different.
a b 6
Navigate to Setup > DAC System Properties. Set the DAC Server Host, OS, and Port properties.
168
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
16 9
In the Data Warehouse Configuration Wizard, select the Create Delete Triggers in Transaction Database check box, and click Next. The Delete Triggers tab is active.
Select one of the following: Option Create Triggers Write Script to File Description Executes the trigger statements directly. Writes the trigger statements to a file, which can be executed by a database administrator.
5 6 7 8
Select the database type as defined in the DAC. For DB2 zSeries databases, enter the base table owner. (Optional) Select the Include Optional Triggers check box to create triggers for the optional tables. Click Start.
170
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Edit the syntax. For example, to gather statistics for only the indexed columns, edit the syntax as follows: <SqlQuery name = "ORACLE_ANALYZE_TABLE" STORED_PROCEDURE = "TRUE"> DBMS_STATS.GATHER_TABLE_STATS(ownname => '@TABLEOWNER', tabname => '%1', estimate_percent => 30, method_opt => 'FOR ALL INDEXED COLUMNS',cascade => true ) </SqlQuery> NOTE: The variables @TABLEOWNER, %1, %2, and so on, will be substituted appropriately by the DAC when the statement is executed.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
17 1
172
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
This chapter describes the functionality available in the Siebel Data Warehouse Application Console (DAC). It contains the following topics: About the DAC Design View on page 173 About the DAC Setup View on page 190 About the DAC Execute View on page 194
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
17 3
DAC Execution Plans Subtabs Description Allows you to edit the execution plan selected in the top pane. Displays a description of the execution plan selected in the top pane. Displays a list of subject areas associated with the execution plan selected in the top pane. Displays a list of database connections associated with the execution plan selected in the top pane. In order for a task to participate in the ETL process, the tasks source and target must match the list of database connections displayed here. You can inactivate a database connection by selecting the Inactive check box. If you inactivate a database connection, all tasks that read or write to it are eliminated. Displays a read-only list of the initial tables that participate in an ETL. For a complete list of tables participating in the ETL, use the Preview functionality. The list of tables contains the following column headings: Name. Name of the target table. Main Table for Group. If the table is a main table for a table group, the group name is displayed in this column. Table Type. Table type as defined in the table properties.
Preceding Tasks
Displays a list of tasks that must be completed before an ETL is executed. The list of tasks contains the following column headings: Name. Name of the task. Priority. Indicates the order in which the task runs. If two or more tasks have the same priority, the order occurs randomly. Inactive. Allows you to inactivate a task by selecting the check box. Command. Command associated with the task.
Following Tasks
Displays a list of tasks that must be completed after an ETL is executed. The list of tasks contains the following column headings: Name. Name of the task. Priority. Indicates the order in which the task runs. If two or more tasks have the same priority, the order occurs randomly. Inactive. Allows you to inactivate a task by selecting the check box. Command. Command associated with the task.
174
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Actions Available
The following actions are available in the top pane toolbar and in the right-click menu when the Executions Plan tab is active.
Preview Command This command generates a preview of all tasks and their dependencies by reviewing the subject areas, table groups, tables, and tasks. Information provided includes the approximate order in which tasks are executed, a list of source tables, target tables, and tables for which an image will be built. Only the tasks that source or write to database connections as defined in the execution plan are included. For more information about the Preview functionality, see Using the DAC Preview Functionality to View Tasks and Dependencies on page 150.
Copy Record This command creates a copy of the selected execution plan and also copies the references to subject areas and database connections.
Generate Index Scripts Command This command generates drop index, create index, and analyze table scripts for all the tables that participate in the ETL process. The results are stored in the log\scripts directory. The index scripts are separated by ETL indices and query indices. The DAC server automatically drops and creates indices and analyzes the tables. This option can be turned off by setting the system preferences. It is recommended that this option be turned off only for DB2-390 environments.
Run Now Command This command submits a request to the DAC server to execute the execution plan. Inactive execution plans are not included in the process. When an execution plan is run, the following logic is used to identify the tasks that need to be run and their order of execution.
a b c 2 a b c 3
If the previous run executed a different execution plan from the one currently submitted (either manually or through the scheduler), abort the run. If the previous run executed is the same as the current execution plan and did not complete, continue from where it left off. If the previous run has completed, create a new run.
Check resources. If the DAC server cannot establish connections to the databases defined for that execution plan, abort the run. If there are no Informatica servers registered, abort the run. If the Informatica servers are registered and the DAC server is unable to ping them, abort the run.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
17 5
a b 4 5 6 7 8
Find all the subject areas. Find all the table groups that belong the subject areas.
Recursively find all the table groups and their tables with the above list of tables. Select initial tasks: Find all the tasks that load into the above selected tables. (Tasks whose target table is one of the selected tables and that are non-optional.) Recursively select all tasks. Depending on the non-optional dependency rules, figure out the prerequisite tasks recursively. Select optional tasks (with the tasks already chosen). Select dependencies: Load dependencies and compute for each task the number of all Depends On tasks. This number will be decremented for tasks higher up in the hierarchy as each of the tasks complete. When the number of Depends On tasks reaches zero, the task itself will become eligible to be run. Identify the task details. Iterate through all the tasks selected, compute the task dependencies. for Siebel sources. Iterate through all the tasks and find the primary or auxiliary tables and group them by source database connection.
10 Identify the list of source tables for change capture and create tasks for change capture and sync
11 Execute pre-ETL tasks. If there are errors, stop the run. 12 Execute the change capture process. If there are errors, stop the process. 13 Execute the dependency graph. If there are errors, stop all the tasks that depend on the failed
tasks. Continue to execute all others, until there are no more to run, and then stop.
14 Execute the change capture sync process. If there are errors, stop the process. 15 Execute the post-ETL process. If there are errors, stop the process. 16 At the end of the ETL process, the DAC server updates refresh timestamps for all source tables
(primary or auxiliary) and target tables. The refresh timestamps are the database timestamps. The ETL history timestamps (Start and End timestamps) are the DAC server timestamps.
176
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
DAC Subject Areas Subtabs Description Allows you to edit the subject area selected in the top pane. Displays a description of the subject area selected in the top pane. Displays a list of table groups associated with the subject area selected in the top pane. You can inactivate a table group by selecting the Inactive check box. Displays a read-only list of the initial tables that participate in an ETL. For a complete list of tables participating in the ETL, use the Preview functionality. The list of tables contains the following column headings: Name. Name of the target table. Main Table for Group. If the table is a main table for a table group, the group name is displayed in this column. Table Type. Table type as defined in the table properties.
Actions Available
The following actions are available in the top pane toolbar and in the right-click menu when the Subject Areas tab is active.
Preview Command This command generates a preview of all tasks and their dependencies by reviewing the table groups, tables, and tasks. Information provided includes the approximate order in which tasks are executed, a list of source tables, target tables, and tables for which an image will be built. The preview will include all tasks regardless of the source or target. Unlike the preview generated from the Execution Plans tab, this preview includes all the tasks, regardless of the source or target.
Copy Record This command creates a copy of the selected subject area and also copies the references to table groups.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
17 7
DAC Table Groups Subtab Description Allows you to edit the table group selected in the top pane. Displays a description of the table group selected in the top pane. Displays a list of the initial tables that participate in an ETL. For a complete list of tables participating in the ETL, use the Preview functionality. The list of tables contains the following column headings: Name. Name of the target table. Main Table for Group. A read-only column showing if the table is a main table for another table group. Relationship Type. Relationship type describing how the table relates to the main table. For documentation purposes only. Inactive. Indicates whether the tables relationship to the table group is active or inactive.
Description Tables
Actions Available
The following actions are available in the top pane toolbar and in the right-click menu when the Table Groups tab is active.
Copy Record This command creates a copy of the selected table group and also copies the references to tables.
Preview Command This command generates a preview of all tasks and their dependencies by reviewing the tables and tasks. Information provided includes the approximate order in which tasks are executed, a list of source tables, target tables, and tables for which an image will be built. Unlike the preview generated from the Execution Plans tab, this preview includes all the tasks, regardless of the source or target.
178
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
DAC Tables Tab List Columns Description Name of table. Indicates the type of target table. There is no differentiation for source tables. Applicable to Siebel source tables only. For more information, see Generate Image and Trigger Scripts Command on page 180. Indicates whether a table is active or inactive. Inactive tables do not participate in the ETL process.
DAC Tables Subtabs Description Allows you to edit the table selected in the top pane. Displays a description of the table selected in the top pane. Displays a list of data sources associated with the table selected in the top pane. The Edit button allows you to add or remove data sources. The Table Refresh Date column displays the start time of the last ETL process that read from or wrote to the table selected in the top pane. (The time is that of the database server and not the DAC server.)
Indices Source for Tasks Target for Tasks Conditional for Tasks
Displays a read-only list of indices that belong to the table selected in the top pane. Displays a read-only list of tasks that use the table selected in the top pane as a source. Displays a read-only list of tasks that use the table selected in the top pane as a target. Displays a read-only list of tasks that are optional tasks for the table selected in the top pane.
Actions Available
The following actions are available in the top pane toolbar and in the right-click menu when the Tables tab is active.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
17 9
Copy Record This command creates a copy of the selected table and also copies the references to database connections.
Generate Index Scripts Command This command generates drop index, create index, and analyze table scripts for all the tables that participate in the ETL process. You can query for one or more tables, and the command will generate all the scripts for all the tables. The results are stored in the log\scripts directory. Files are generated that provide the following information: drop indices of type ETL, create indices of type ETL, drop indices of type Query, create indices of type Query, and analyze tables.
Generate Image and Trigger Scripts Command This command generates change capture scripts for tables with defined image suffixes. The scripts include creation of the image tables to assist in the change capture process and their indices. You can also create the triggers for deletes. However, you should do so with caution because preconfigured tables for the change capture are created by applying SIF files on the Siebel transactional database (OLTP). Triggers for deletes should be used only for new source tables for which you want to use change capture. The scripts will be generated for the selected table or all the tables shown in the list applet. You can narrow down the tables of interest by querying. The results are shown in a text box, which can be supplied to the DBA for executing.
Generate View Scripts This command generates change capture view scripts for full or incremental loads for any table that participates in the change capture process. This command can be useful when the change capture fails and you want to run a task manually. It can also be used for unit testing.
Generate Change Capture SQL This command generates change capture SQL scripts for full or incremental mode for tables that participate in the change capture process. This command can be useful when the change capture fails and you want to run a task manually. It can also be used for unit testing
Import Database Tables Command This command allows you to import table definitions from a selected database. You will be prompted to choose a database connection from a list that has already been defined in the DAC repository. When this command is executed, a list of tables in the data source is shown in a list applet. Check the Import flag in the list applet to select the tables that you want to import. The tables are then brought into the DAC repository. The default table type associated with the newly imported tables is Other. After you import the tables, change the table type to the appropriate type and associate the table with a database connection.
180
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Import Indices Command This command allows you to import index definitions from the database for one or more tables as listed in the result of the query. You will be prompted to select a data source. The client connects to the database and retrieves the index definitions for the table. The list includes new indices that may have been created in the database, indices whose definitions are modified in the database, or indices that do not exist in the database. To accept the changes, check the Merge? check box. When you select the list to be merged, one of the following actions will take place: If an index definition does not exist in the DAC repository, it will be created; if an index definition exists but the definition is the same, the new definition will be brought in; or if an index as defined in the repository does not exist is the database, it will be inactivated. NOTE: In MSSQL Server databases, when you import indices with columns whose sort order type is Desc, the sort order type appears in the DAC as Asc. You have to set the sort order manually to Desc.
DAC Indices Tab List Columns Description Unique name with which the index is created. Table for which an index is created. Usage of index: ETL or Query. An ETL index is typically used during the ETL process. A Query index is an index is used only during the reporting process. It is recommended that you have a clear understanding of when and where the index will be used at the time of registering the index. Allows you to associate an index with a database type.
Databases
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
18 1
DAC Indices Tab List Columns Description For unique indices, the number of columns that will be unique. Indicates whether the index is unique. Indicates whether the index is clustered. There can be only one clustered index per table. Indicates whether the index is of the bitmap type. Applicable only for DB2-UDB databases. The index will be created with the Allow Reverse Scan option. Indicates whether the index will be dropped and created regardless of whether the table is being loaded using a full load or incremental load. Applicable only for Oracle databases. If a tablespace is mentioned, an index is created in that particular tablespace. If all indices go to a tablespace different from the data area, you can define it in the ETL Preferences (Tools > ETL Management> Preferences). Indicates whether an index is active or inactive. Inactive indices do not participate in the ETL process.
Is Clustered Is Bitmap Allow Reverse Scan Always Drop & Create Table Space Name
Inactive
Table 47 shows which index properties are available for the different database types that are supported.
Index Properties and Database Types Matrix Allow Reverse Scan # Unique Columns
Is Unique X X X X
Is Clustered
Is Bitmap X
182
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Indices Subtabs Description Allows you to edit the table selected in the top pane. The Display database-specific properties drop-down list allows you to specify a database type in order to display database-specific properties in the Edit window.
Description Columns
Displays a description of the table selected in the top pane. Displays the list of columns the index is made of. The list of columns contains the following column headings: Name. Name of the column. Position. Position of the column in the index. Sort Order. Indicates whether the sort order is ascending or descending. Inactive. Indicates whether the column is active or inactive.
Databases
For Siebel Data Warehouse version 7.7.1.3 and lower, indicates whether an index is applicable only to a certain type of database. If no database is indicated, the index will always be created. For Siebel Data Warehouse version 7.7.1.4 and higher, indicates the database types that apply to the index. If no database type is indicated, the index will not be created. The Index Override column allows you to define custom index creation syntax for a particular database type. The DAC server will use the syntax you define instead of generating an index statement based on the metadata. To enter the custom syntax, click in the Index Override column to open the text editor. The Generate Default Index Statement icon on the text editor toolbar allows you to generate the default statement, which you can edit. You can inactivate a database type by checking the Inactive check box.
Actions Available
The following actions are available in the top pane toolbar and in the right-click menu when the Indices tab is active.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
18 3
Task Definitions List Columns Description A logical, unique name for the task. A table can be loaded in Full Mode or Incremental Mode. Full Mode refers to data loaded for the first time or data that is truncated and then loaded. Incremental Mode refers to new or changed data being added to the existing data. The DAC maintains a last refresh timestamp whenever a table is changed during the ETL process. (You can view this timestamp under Design > Tables > Database Connections or Setup > Database connections > Tables.) If a table has a timestamp, the command appearing in this column is executed. If a table does not have a timestamp, the command for a full load is executed. If the execution type is Informatica, the workflow name is used as the command.
If a table has no last refresh timestamp, this command is executed. For execution type of Informatica only. The folder in which the workflow resides. Note: The name cannot contain spaces. Source database that is queried. Target database that is populated.
184
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Task Definitions List Columns Description Task phase of the ETL process. The DAC server uses the task phase to prioritize tasks and to generate a summary of the time taken for each of the phases. Tasks are executed based on their execution type. The following types are supported: Informatica. Task is invoked on an Informatica server using pmcmd. External Program. Task is an operable program on the operating system where the DAC server is running. This program can be a batch file, shell script, or any other program that can be run like a bulk loader. SQL File. Task is a SQL script in .xml or .sql format. For more information, see Using SQL Files as an Execution Type in the DAC on page 189. Stored Procedures. Task is a stored procedure that has been defined on the databases.
Task Phase
Execution Type
In addition, there are several internal execution types that you will not be able to select when creating new tasks. These tasks are categorized as either internal change capture tasks or internal data warehouse tasks; all of these tasks are color-coded in pink in the Task Definitions tab. IMG_BUILD - internal change capture. If you are using multiple Siebel transactional sources, you cannot change the behavior of the change capture process. This task requires change capture tables to be created on the other sources also. When adding additional Siebel sources, go to Setup > Database Connections and select the appropriate Siebel source, right-click and select Change Capture Tasks. This action generates change capture tasks. Use this same action to disable or delete change capture tasks. IMG_SYNC - internal change capture. If you are using multiple Siebel transactional sources, you can create this task for the additional tasks for doing similar change capture sync processes. You cannot change the behavior of the change capture sync process. This task requires change capture tables to be created on the other sources also. This task should be used with discretion for Siebel sources only.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
18 5
Task Definitions List Columns Description QUERY_INDEX - internal data warehouse. This task allows you to alter when the Query indices are created. The DAC server drops all indices before loading when the CreateQueyIndexesAtTheEnd setting is set to True. When this setting is set to False, all the indices, regardless of the index type, get created as part of the task that does the loading. UPDATE_ETL_PARAM - internal data warehouse. This task is used for only to update W_PARAM_G from the DAC server. This task populates the preferences to the W_PARAM_G table in the Data Warehouse by querying values defined in the DAC repository. Because only one Data Warehouse per DAC repository is supported, this execution type should not be chosen for any task.
Execution Type
Indicates the order in which the task runs. If two or more tasks have the same priority, the order occurs randomly. The SQL script (derived from a SQL or XML file) that is executed before the specified task when the specified task is participating in a full load. For more information, see Using SQL Files as an Execution Type in the DAC on page 189.
Pre-SQL for Incremental Load Post-SQL for Full Load Post-SQL for Incremental Load Build Image
The SQL script (derived from a SQL or XML file) that is executed before the specified task when the specified task is participating in an incremental load. The SQL script (derived from a SQL or XML file) that is executed after the specified task when the specified task is participating in a full load. The SQL script (derived from a SQL or XML file) that is executed after the specified task when the specified task is participating in an incremental load. Applicable for Siebel transactional sources only. When this check box is selected, the change capture for the primary/auxiliary source tables executes. When this check box is selected, the target tables are truncated regardless of whether a full or incremental load is occurring. Any indices registered for this table are dropped before the command is executed and are recreated after the command completes successfully. When indices are dropped and created, the table is analyzed so that the index statistics are up-to-date. When this check box is selected, the target tables are truncated only when a full load is occurring. Any indices registered for this table are dropped before the command is executed and are recreated after the command completes successfully. When indices are dropped and created, the table is analyzed so that the index statistics are up-to-date. When the Truncate Always option is selected, this option is unnecessary.
Truncate Always
186
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Task Definitions List Columns Description Indicates that a task is optional and will be executed only when the table listed in the Conditional Tables subtab is included in an execution plan. For example, the UpdateRecencyCat in Person Dimension task is optional and is associated with the Order Item fact table, which is listed in the Conditional Tables subtab. The UpdateRecencyCat in Person Dimension task will only be executed when the Order Item fact table is included in an execution plan.
Continue on Error
When this check box is selected, if the command fails, the dependent tasks are not stopped. However, if any auto-generated tasks fail, the dependent tasks are stopped. When this check box is selected, the record is inactive. Inactive tasks do not participate in the ETL process.
Inactive
Task Definitions Subtabs Description Allows you to edit the table selected in the top pane. Displays a description of the task selected in the top pane. Displays the list of tables used for getting data for the task selected in the top pane. The list contains the following column headings: Name. Name of the table. Primary. Indicates whether the table is a primary source of data. Auxiliary. Indicates whether the table is a secondary source of data.
Note: If a table is marked as Primary or Auxiliary and the Build Image property of the task is selected, the change capture process is invoked. There are special tasks that force the base table data to be extracted when data in auxiliary tables change. A table can be neither Primary nor Auxiliary but still be used for getting some attributes to populate a dimension or fact table. The changes in these kinds of source tables are not reflected in the dimension or fact table once the data is populated.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
18 7
Task Definitions Subtabs Description Displays the list of tables where data is loaded for the task selected in the top pane. The list contains the following column headings: Name. Name of the table. Primary. Indicates whether the table is a primary target table. For documentation purposes only.
Target Tables
Conditional Tables
Displays a list of tables that, if included in an execution plan, cause the optional task selected in the top pane to be executed. For example, the Order Item fact table is a conditional table associated with the optional task called UpdateRecencyCat in Person Dimension. The UpdateRecencyCat in Person Dimension task is executed only when the Order Item fact table is included in an execution plan. The list contains the following column headings: Name. Name of the conditional table. Inactive. Indicates whether the conditional table is inactive.
Depends On Tasks
Displays a list of tasks that are prerequisite for the execution of the task selected in the top pane. If any of the prerequisite tasks fail, the task selected in the top pane will be marked as Stopped. The list contains the following column headings: Name. Name of the prerequisite task. Task Type. Type of task (read only). Optional Flag. When this flag is selected, the prerequisite task optionally depends on the task selected in the top pane. For example, task 1 loads table A, and task 2 loads table B and optionally depends on task 1. If an execution plan requires both tables A and B to be loaded, task 2 will wait for task 1 to successfully complete. If an execution plan requires only table B to be loaded, task 2 will be executed immediately, and task 1 will not be executed.
Dependent Tasks
Displays a list of tasks that are dependent on the task selected in the top pane. These tasks wait for the successful completion of the current task before they are executed. The list contains the following column headings: Name. Name of the dependent task. Task Type. Type of task (read only). Optional Flag. See the description for Depends On Tasks.
188
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Actions Available
The following actions are available in the top pane toolbar and in the right-click menu when the Task Definitions tab is active.
Copy Record This command creates a copy of the selected task and also copies the references to the tasks it depends on and source and target tables.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
18 9
This example consists of three SQL statements: Create Temp, Update Temp, and Drop Temp. These names will be used in DAC run task detail description to give details of the errors encountered during execution (if any). In this particular example all three statements are of type SQL. Regular update SQL statements and the Stored Procedure type can also be used. If the Continue on Fail option is set to True for a given statement, the execution will continue even if the task fails. If the Continue on Fail option is set to False for a given statement, or is omitted, the subsequent statements will not be executed and the Task Run status will be Failed.
/* *some *query *statement */ SELECT * FROM w_etl_temp ; DROP TABLE w_etl_temp ; /*end of file*/
190
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
About the DAC System Properties Tab on page 191 About the DAC Informatica Servers Tab on page 191 About the DAC Database Connections Tab on page 191 About the DAC Email Recipients Tab on page 193
Actions Available
The following actions are available in the top pane toolbar and in the right-click menu when the Informatica Servers tab is active.
Test Connection This command allows you to test whether the Informatica server is running. The DAC client will attempt to delegate the test to the DAC server. If the DAC server is not running, you will be asked whether you want to test the connection on the local client machine. The results of a test on the local client machine may not be true for the DAC server environment.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
19 1
Database Connection Properties Description Logical name for the connection. (The metadata that comes with Siebel Business Analytics has two data sources: OLTP, which points to the Siebel transactional database, and the data warehouse.) Possible values are: Source Warehouse Informatica Repository DAC Repository Other
Type
Connection Type
Type of database connection. Possible values are the following: Oracle (OCI8). Connect to Oracle using the tnsnames entry. Oracle (Thin). Connect to Oracle using thin driver. DB2. DB@ UDB database. DB2-390. DB2 390 database. MSSQL. Microsoft SQL Server. Teradata. Teradata database.
Connection String
If you are using... Oracle (OCI8) use the tnsnames entry. Oracle (Thin) use instance name. SQL server use the database name. DB2-UDB/DB2-390 use the connect string as defined in the DB2 configuration. Teradata use the database name.
Name of table owner. Password for table owner. Maximum number of database connections this connection pool can contain. For information about determining how to set this value, see Determining the Number of Transactional and Data Warehouse Database Connections on page 167
192
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Database Connection Properties Description Host machine where the database resides. This field is mandatory if you are using Oracle (Thin) or MSSQL but is not required if you are using Oracle (OCI8), DB2, or DB2-390. Port where the database receives requests. Required for Oracle (Thin) and MSSQL databases. Not required for Oracle (OCI8), DB2, or DB2-390 databases.
Port
Actions Available
The following actions are available in the top pane toolbar and in the right-click menu when the Database Connections tab is active.
Test Connection This command allows you to test the connection to the database. The DAC client will attempt to delegate the test to the DAC server. If the DAC server is not running, you will be asked whether you want to test the connection on the local client machine. The results of a test on the local client machine may not be true for the DAC server environment.
Internal Tasks This command allows you to manage internal tasks. The following options are available: Source (Change Capture Tasks). Generates internal tasks for performing change capture for Siebel sources only. Data Warehouse (W_PARAM_G update, Query Index Creation). The supported configuration is one data warehouse for each repository; however, you can create aliases for the same database to be able to filter tasks. To do so, create either of the following tasks for the aliases:
Update W_PARAM_G. This task updates the W_PARAM_G table with the ETL preferences defined in the DAC. Create Query Indexes. If the system preference CreateQueryIndexesAtTheEnd is set to True, then this task will hold the details of all the created query indexes.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
19 3
Actions Available
The following actions are available in the top pane toolbar and in the right-click menu when the Email Recipients tab is active.
Current Run Tab Columns Description Name of the ETL process The execution plan whose run-time instance is this record. This field is read only.
194
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Current Run Tab Columns Description ID for the process. This value is an integer that is incremented by 1 for every run. This value is stored as ETL_PROC_WID in all the Data Warehouse tables. This field is read only. Status of the run. The possible values are the following: Queued. Tasks for which the Depends On tasks are not yet completed. Displayed in yellow in the Current Run list. Runnable. Tasks for which the Depends On tasks have completed and are ready to be run but are waiting for an Informatica slot to be available. Running. Tasks for which the Depends On tasks have been completed, have gotten an Informatica slot, and are being executed. Displayed in blue. Failed. Tasks that were executed but encountered a problem. Displayed in red. Stopped. Tasks for which one or more Depends On tasks have failed. Completed. All tasks have completed without errors. Displayed in green.
Process ID
Run Status
Total Number of Tasks Number of Failed Tasks Number of Successful Tasks Number of Tasks Still in Queue Start Timestamp
Total number of tasks for this run. This field is read only. Sum total of tasks that have failed and that have stopped. This field is read only. Number of tasks whose status is completed. This field is read only. Number of tasks whose prerequisite tasks have not completed, and the number of tasks whose prerequisite tasks are completed and are waiting for resources. This field is read only. Start time of the ETL. Reflects the start time of every ETL attempt. For example, if the ETL fails and is run again, it gets a new start timestamp. The history of attempted runs is maintained in the audit trail for the run. This field is read only. End time of the ETL. Reflects the end time of every ETL attempt. For example, if the ETL fails and is run again, it gets a new end timestamp when the ETL is complete. The history of attempted runs is maintained in the audit trail for the run. This field is read only. A calculated field that shows the difference between start and end time stamps. Displays messages generated during run time. You can add notes to this field for Completed runs.
End Timestamp
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
19 5
Current Run Subtabs Description Displays the status of the ETL selected in the top pane. Provides a description of the ETL process, including status and environment information. This description is updated at the beginning of the ETL process and when the process is complete. Displays run-time instances of the tasks. As the execution proceeds, the tasks are executed based on the dependency rules and some prioritization. As tasks complete, the tasks that depend on the completed tasks are notified and once their dependencies are completed, they become eligible to run. If a task fails, the administrator can address the failure and then requeue the task or mark it as completed. The DAC server polls for any changes in the failed tasks detail status. If a failed task detail is queued, the task itself gets back into the ready to run queue and all its dependent tasks get into the queued status. The rules of prioritization are as follows: Tasks with no dependencies are executed first. If a task has failed and has been requeued, it gets the maximum priority. Tasks with greater phase priorities are executed next. When several tasks of the same phase are eligible to run, the tasks with greater task priorities are executed next.
Description
Tasks
Provides a summary (based on dynamic SQL) of the ETL selected in the top pane. A start and end time for each phase is included. Provides a execution details about each task associated with the ETL selected in the top pane. Provides the history of the ETL selected in the top pane.
Actions Available
The following actions are available in the top pane toolbar and in the right-click menu when the Current Run tab is active.
Start This command restarts the selected ETL, after the ETL has failed, stopped, or been aborted.
196
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Abort This command causes an ETL in progress to abort. All currently running tasks will be aborted. The status of queued tasks and the ETL itself will change to Stopped.
Auto Refresh This command allows you to turn on and off the automatic screen refresh functionality and set the refresh interval.
Get Log File This command fetches the log file for this run from the DAC server and saves it in the ServerLog folder.
Mark as Completed This command changes the status of a stopped or failed ETL to Completed. In the audit trail for this ETL, the status is Marked as Completed. Use this command with caution; it can cause the data warehouse to be inconsistent.
Analyze Run This command saves a description of the run as an HTML file in the Log/Statistics folder.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
19 7
Table 54 provides a description of the information displayed in the top pane list.
DAC Scheduler Tab List Columns Description User defined name of the schedule. Execution plan scheduled. Indicates how often the schedule will be run. Indicates whether the schedule is active or inactive.
Actions Available
The following actions are available in the top pane toolbar and in the right-click menu when the Scheduler tab is active.
Scheduling an ETL
Use this procedure to schedule an ETL in the DAC.
To schedule an ETL 1 2
In the DAC, navigate to the Scheduler tab. The current list of schedules appears in the top pane. Click New in the top pane toolbar. The Edit tab in the bottom pane becomes active.
3 4 5 6 7
Enter a name for the schedule. Select an execution plan. If you want the schedule to run once, select the Run Only Once check box, and then select a start and end date and time. To create a periodic schedule, select a recurrence pattern, and enter the appropriate date and time parameters. Click Save.
198
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
a b c d e f g h
If all the columns in the index definition exist on the table in the database. If the index does exist in the database, the validation compares the index definition and points out the differences. If there are multiple indices with the same definitions (columns in the same order) for a table. If there are indices with the number of columns greater than 255. If '# Include columns' is greater than the number of columns provided in the index column list. Checks to see if the index column has no columns. If the number of columns is more than 16. Some databases allow for more than 16 columns. However, the user should inspect the warning and verify its validity. If an index on a table was created on the database but not defined in the repository. This may cause the ETL process to fail, because all the indices need to be dropped prior to the load, otherwise the bulk loaders may fail.
Informatica Workflow Validation: Verify for the task definitions of type Informatica to match the 'Command for Full Load' and 'Command for Incremental Load' do exist in the Informatica repository. For this validation to work, configure the system preferences 'Main Informatica Repository' to point to the database where the Informatica repository resides with the logical name given to the database under Setup-> Database Connections. Check for circular dependencies: While defining task dependencies, care should be taken to not to define circular dependencies. For example task A depends on task B, and task B depends on task C, and task C depends on task A. Such occurrences will be identified. If these errors do exist, the ETL will fail.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
19 9
200
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
This chapter describes concepts and techniques for customizing the Siebel Data Warehouse. It also provides an overview of how incremental Siebel application operational data is captured and how it can be used for adding columns and tables to the Siebel Data Warehouse. It also describes customization techniques using extension tables and Informatica mapping templates. This information applies only to Siebel Business Analytics Applications versions 7.7 and higher. NOTE: Customization should be done only by those experienced in Informatica and Siebel Business Analytics Applications. This chapter contains the following topics: Siebel Data Warehouse Customization Scenarios on page 201 Siebel Data Warehouse ETL Process Concepts on page 203 Standard Templates for Siebel Data Warehouse Customizations on page 209 Fact Templates for Siebel Data Warehouse Customizations on page 210 Customization Steps for Siebel Data on page 210 Siebel Data Warehouse Customization Steps for Non-Siebel Data on page 215
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
20 1
Customizing the Siebel Data Warehouse Siebel Data Warehouse Customization Scenarios
For detailed information about ETL processes and tables, see Siebel Data Warehouse Data Model Reference.
Types of Data Warehouse Customization Scenarios Modification Add a column to the data warehouse from a primary source table in the Siebel transactional database (OLTP). Using Siebel transactional database data, add a column to the data warehouse from a related source table in the transactional database. Using Siebel transactional database data, modify an existing column in the data warehouse.
Type 2
Using Siebel transactional database data, add a new dimension table and use it with an existing fact table. Using Siebel transactional database data, add a new fact table. Using Siebel transactional database data, add a new dimension table for a new fact table.
Type 3
Using non-Siebel data, add new data as a whole row into an existing dimension table. Using non-Siebel data, add a column for an existing dimension table. Using non-Siebel data, add a column for an existing fact table.
202
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Customizing the Siebel Data Warehouse Siebel Data Warehouse ETL Process Concepts
Types of Data Warehouse Customization Scenarios Modification Using non-Siebel data, add a new dimension table. Using non-Siebel data, add a new dimension table and use it with an existing fact table. Using non-Siebel data, add a new fact table.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
20 3
Customizing the Siebel Data Warehouse Siebel Data Warehouse ETL Process Concepts
Required Columns For main and extension staging tables the following columns are required: INTEGRATION_ID. Stores the primary key or the unique identifier of a record as in the source table. DATASRC_NUM_ID. Stores the Data source from which the data is extracted. For example, Siebel OLTP is 1.
For data from any external data source assign a number greater than 1. For dimension and fact tables, the required columns are the INTEGRATION_ID and DATASRC_NUM_ID columns as well as the following: ROW_WID. A sequence number generated during the ETL process, which is used as a unique identifier for the data warehouse. ETL_PROC_WID. Stores the ID of the ETL process information. The details of the ETL process are stored in the S_ETL_RUN table on the transactional database (OLTP) side and W_ETL_RUN_S table on the data warehouse side. This is also the Process ID on Current Run/Run History screen in the DAC.
204
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Customizing the Siebel Data Warehouse Siebel Data Warehouse ETL Process Concepts
The required columns for dimension and fact extension tables are ROW_WID and ETL_PROC_WID.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
20 5
Customizing the Siebel Data Warehouse Siebel Data Warehouse ETL Process Concepts
Create the workflow such that each loads only one table. This helps to integrate the workflow with the DAC. The workflow name should match a session name that is used inside the workflow. This helps the DAC to collect certain statistics. Fail parent if this task fails should be checked for all the sessions within a workflow. Fail parent if this task does not run should be checked for all the sessions within a workflow. The Stop on Errors parameter should be set to 1 for all sessions with a workflow. This parameter is located in the Error Handling area of the Config Object tab in Informatica Designer. Set the appropriate source and target connection values in Informatica Designer. If the workflow is going to be used for full load command, you can choose to load in bulk mode (applicable only to Oracle and DB2-UDB databases). If the workflow is going to be used for the full load command in the DAC, then in the Properties tab of Informatica Designer, set the Target Load type to Bulk. This requires that the target table does not have any indices during the load. The DAC will drop the indices automatically; no action is required on your part. For all entities, such as dimension and fact tables, create two workflows, one to be used for a full load and the other to be used for an incremental load. This provides an opportunity to tune each of these load scenarios. If the workflow is designed for loading a dimension in a full mode, make sure the workflow also includes a session for the unspecified row creation. You can decide to truncate the target table in the workflow, but it is necessary that while defining a task in the DAC, you choose appropriate truncate option. This helps the DAC to decide whether to drop and create indices on the table. If some sessions have to be run in serial order and if all the sessions need to be rerun upon failure of the workflow, then you should consider designing a single workflow that has sessions run in serial. If upon failure, not all of the sessions need to be run again, then consider designing separate workflows and define dependencies in the DAC. Use views created by the DAC as the main source table in all extract processes. If a workflow uses a list of values, make it depend on the Fix List Of Values and Copy to OLTP task definition in the DAC. If a workflow uses exchange rates, make it depend on the Extract for ExchRate task definition in the DAC. If a workflow uses cost lists, make it depend on the Load Cost Lists task definition in the DAC. You can import the workflows into the DAC repository's temporary area while defining tasks.
Customization Categories
There are three categories of customizations:
206
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Customizing the Siebel Data Warehouse Siebel Data Warehouse ETL Process Concepts
Customizing preconfigured workflows. Copy the mapping from the Siebel_DW_Rep folder into the Custom folder. Modify it as necessary. Create new workflows in the Custom folder. In the DAC, search for the task that executes the workflow and change the folder to the Custom folder. Update the command for full and incremental loads appropriately if the workflow names have been changed. Creating new workflows to populate additional custom entities. The custom workflows can be plugged into an ETL process by registering them in the DAC. A new task needs to be registered in the DAC, with the appropriate properties set. Also, you must define source and target tables, task definitions, and dependencies. In the Depends On Tasks tab, select the list of tasks that are prerequisite for the current task to execute. In the Dependent Tasks tab, define the tasks that need to wait for the successful completion of this task. Set the Optional flag to True. Pruning preconfigured ETL processes. Pruning is the process in which you modify a preconfigured execution plan to meet your needs. You can prune an execution plan by using the DAC to inactivate certain components of the execution plan, such as subject areas, table groups, tables, tasks, and dependencies. Inactivating the component means the component does not participate in the ETL process when the execution plan is run. For more information about pruning, see Handling ETL Failures with the DAC on page 160.
Additional Customization Instructions Table definitions in Informatica. Make sure that the SQL style is set to Oracle while importing the table definitions from external data sources. Even if the actual data source is of another database type, such as DB2 or MSSQL, it does not affect the logic of how data gets loaded. Update strategy. For loading new fact and dimension tables or loading data into the existing tables, design a custom process on the source side to detect the new and modified records. The SDE process should be designed to load only the changed data (new and modified). If the data is loaded without the incremental process, the data that was previously loaded will be updated again, which is a costly process. For example, the logic in the OTB SIL mappings looks up the destination tables based on the INTEGRATION_ID and DATASRC_NUM_ID and returns the ROW_WID if the combination exists, in which case it updates the record. If the lookup returns null, it inserts the record instead. ETL process. When using multiple sources for the data warehouse, you can decide to load from all of them at the same time or at different time frequencies using different execution plans.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
20 7
Customizing the Siebel Data Warehouse Siebel Data Warehouse ETL Process Concepts
Truncating target tables. Truncating should be done through the DAC. A single task has place holders for a full load, and one for an incremental load.
For the SDE workflows, the commands for full load and incremental load are the same. They should have Truncate Always flag checked. For these kinds of tasks, the command for full load and incremental load are based on the same mapping. For SIL workflows, the command can be different for full and incremental loads. They should have the Truncate For Full Load option checked. When a table gets truncated, the indices are automatically dropped and created after the data is loaded. And so, the workflow for full load command can have the Bulk Load option turned on, and, therefore, you can have an optimized version of the mapping that does not need to look up for finding if a record needs to be inserted or updated. Auxiliary tasks need to be run only during incremental mode. So, for these tasks, the full load command is empty. No truncate options should be set. SDE Sessions Truncate Option Truncate Always SIL Sessions Truncate for Full Load Aux Sessions None
ETL_PROC_WID. Use the same ETL_PROC_WID in W_PARAM_G table in custom mappings. ETL_PROC_WID is a reference key to Run History in the DAC. To use the same ETL_PROC_WID, copy the reusable lookup (called LKP_ETL_PROC_WID) defined in the Siebel_DW_Rep folder. The input to the lookup is a constant (hard coded to 1). DATASRC_NUM_ID. Even though preconfigured mappings look up W_PARAM_G for getting this value, for customizations that move data from other sources, you should hard code the value with a number other than 1, which is reserved for the main Siebel transaction database in custom mappings. Creating indices and naming conventions. Staging tables typically do not require any indices. Use care to determine if indices are required on staging tables. Create indices on all the columns that the ETL will use for dimensions and facts (for example, ROW_WIDs of Dimensions and Facts, INTEGRATION_ID and DATASRC_NUM_ID, and flags). Carefully consider which columns or combination of columns filter conditions should exist, and define indices to improve query performance. Inspect the OTB objects for guidance. Name all the newly created tables as WC_. This helps visually isolate the new tables from the OTB tables. Keep good documentation of the customizations done; this helps when upgrading your data warehouse. Once the indices are decided upon, they should be registered in the DAC, either manually or by right-clicking on the certain table and invoking the Import Indices command. Currency. For currency-related data, populate the table with the base currency and exchange date field (in order to convert the data appropriately). The data for currency conversion should be maintained in the main Siebel data source. (The currency data is maintained by converting all the currency information into a single Base Currency code specified in the DAC ETL preferences.) Day Dimension. For the data that is related to W_DAY_D, use the reusable transformation EXP_DAY_DIMENSION_FK_RESOLUTION. Note that this transformation will take a date as input and return the foreign key to the Day dimension as output in the appropriate format (YYYYMMDD). Copy the reusable transformation and use it.
208
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Customizing the Siebel Data Warehouse Standard Templates for Siebel Data Warehouse Customizations
List Of Values. This applies in particular to Type 1 and 2. The preconfigured columns that depend on a list of values have a language-dependent column and language-independent column. Use the mapplet MPLT_LOV_TRANSLATION to populate the language-dependent and independent columns in the dimension tables. For fact tables, use MPLT_LOV_D_ROW_WID to create a new foreign key to the LOV dimension. One could also deal with translations directly in SQL overrides to improve performance.
CustomTemplateSDE_WaveDimension
Using the SDE mapping, the ATTRIB_02 column of the extension stage table (W_PERSON_DSX) is populated with the value from S_CONTACT.RACE source column. This is a straightforward mapping. The different transformations are the following: SQ_S_CONTACT. The SQL in the SQL override section contains the link to the view created by the DAC so that only the incremental data is captured. EXPTRANS. The lookup (LKP_DATASOURCE_NUM_ID) obtains the DATASOURCE_NUM_ID from the W_PARAM_G table. The W_PARAM_G is populated in the beginning of the ETL by the DAC. Note that all the system columns are populated in addition to the attrib column. The ATTRIB_01 column is populated with the string Contact, because the combination of INTEGRATION_ID, DATASOURCE_NUM_ID, and CONTACT_TYPE is used to look up the ROW_WID value. In most of the dimensions, only the INTEGRATION_ID and DATASOURCE_NUM_ID values are used for this purpose.
CustomTemplateSIL_WaveDimension
Using the SIL mapping, the ATTRIB_02 column of the final extension table is populated with the person dimension (W_WAVE_DX). The different transformations are the following: SQ_W_WAVE_DSX. There is no SQL in the override. It is a straight query from W_PERSON_DSX table that has been populated with incremental rows. LKP_W_WAVE_D. Looks up the W_WAVE_D table to get the ROW_WID for the row. LKP_W_WAVE_DX. Looks up the target table to find out whether to insert or update the row. This information is used by the update strategy. EXPTRANS. Used to get the Insert/Update flag and ETL_PROC_WID by using the lookup LKP_ETL_PROC_WID from the W_PARAM_G table. This table is populated in the beginning of the Refresh Siebel DW session. FILTRANS. Passing only those rows that have entry in the parent dimension table. UPDTRANS. Insert or updates a row based on the flag.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
20 9
Customizing the Siebel Data Warehouse Fact Templates for Siebel Data Warehouse Customizations
CustomTemplateSDE_AssetFact
Using this SDE mapping, the staging extension table for the Asset fact is populated with incremental data. The different transformations are the following: SQ_S_ASSET. Selects the OWNER_ACCNT_ID that will ultimately be used to join with the account dimension in the fact. Note the extra where clause joining to the incremental image table. EXPTRANS. Gets DATASOURCE_NUM_ID using lookup LKP_DATA_SOURCE_NUM_ID from table W_PARAM_G. This table is populated in the beginning of the session by the DAC server.
Finally, the FK_01_ID field of the extension stage table W_ASSET_FSX is populated. All the system columns are also populated.
CustomTemplateSIL_AssetFact
This SIL map is used to populate the final extension table for the Asset fact. The different transformations are the following: SQ_W_ASSET_FSX. Note the SQL in the override. This joins with the dimension table W_ACCOUNT_D to get the ROW_WID of the dimension row to be populated in the foreign key id column of the extension table. LKP_W_ASSET_F. Retrieves the ROW_WID of the parent fact table W_ASSET_F. LKP_W_ASSET_FX. Gets the Insert/Update flag that is used by the update strategy to find out whether to insert or update this row. EXPTRANS. Gets ETL_PROC_WID using the lookup LKP_ETL_PROC_WID from table W_PARAM_G. This table gets populated in the beginning of Refresh Siebel DW. Also generates Insert/Update flag based on the previous transform LKP_W_ASSET_FSX. UPDTRAN. Updates or inserts a row based on the flag.
210
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Customizing the Siebel Data Warehouse Customization Steps for Siebel Data
Adding a New Dimension in the Siebel Data Warehouse on page 213 Adding a New Fact Table in the Siebel Data Warehouse on page 214 Adding a New Dimension Table for a New Fact Table in the Siebel Data Warehouse on page 215
Adding a Column from a Main Source Table in the Siebel Transactional Database
Example: Adding race in W_PERSON_D because it is not in the supplied model. The value of race is sourced from S_CONTACT, which is already the main source table for W_PERSON_D. Adding measure XYZ in W_ORDERITEM_F because it is not in the supplied model. The value of XYZ comes from S_ORDERITEM, which is the main source table for W_ORDERITEM_F.
To add a column from a main source table in the Siebel transactional database 1
Choose one of the following options:
Use predefined columns in an existing extension table. Create a new extension table with appropriate columns.
2 3 4 5 6 7
Create a new map (SDE and SIL) to load the extension table column, based on the provided templates (CustomTemplateSDE_PersonDimension). Create new individual workflows for the new mappings in the Custom folder. For extract mappings (SDE), use views as the main source of information. Create new tasks in the DAC repository, one for SDE and the other for SIL. Make the SDE task depend on any auxiliary workflows, so that it waits for all the auxiliary processing for the base table to complete. For the CustomSIL mapping make SDE mapping and the SIL_PersonDimension as the Depends On tasks. This is because you cannot execute CustomSIL workflow until the CustomExtract is completed. Also, because the primary key lookup has to be performed, this task needs to wait on SIL_PersonDimension.
Adding a Column from a Related Source Table in the Siebel Transactional Database
Adding ABC in W_PERSON_D because it is not in the supplied model. The value of ABC is sourced from S_CONTACT_X, which is not the main source table for W_PERSON_D. Adding measure XYZ in W_ORDERITEM_F because it is not in the supplied model. The value of XYZ comes from S_DOC_ORDER, which is not the main source table for W_ORDERITEM_F.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
21 1
Customizing the Siebel Data Warehouse Customization Steps for Siebel Data
To add a column from a related source table in the Siebel transactional database 1
Choose one of the following options:
Use predefined columns in an existing extension table Create a new extension table with appropriate columns.
Create new mappings and workflows (SDE and SIL) to load the extension table column based on the provided templates. The related table should be joined in the Source Qualifier's SQL. Even though additional information is being extracted from a related table in the SQL override, always use the view created on the base table to extract information. If necessary (for the new table), write the auxiliary change capture mappings so that whenever a row changes in the source table for the new column, the corresponding row in the main table is also marked changed, by inserting rows in the Incremental Row Image table. Create a new workflow for the new map and register the task in the DAC repository. Create the dependencies.
a b 2
If an entry is not in the DAC, create a new record for the table and assign an image suffix to it. If the table is registered, make sure there is an image suffix assigned for this table.
If an image suffix does not exist for the source table, assign one. The image suffix should be three characters long. The recommended naming convention is to start with C. For example, use C1, C2, CA1, CA2, and so on.
Make sure the image suffix is not used by other tables by querying the tables list in the DAC for that image suffix. The DAC client does not validate this information when entering data.
Right-click on the table record in the DAC client, and choose Generate Change Capture Scripts. This will assist you in creating the image tables, necessary indices, and triggers if you plan on tracking deletes on the transactional database.
b 5
Execute these scripts on the transactional database if you have the appropriate permission, otherwise ask the OLTP DBA to create it.
For the task that is created for the extract process, set the Build Image flag to True and select the new table as an auxiliary table or primary table. NOTE: At the end of the change capture process, the DAC creates a view on the actual source table. Use this view as the main source table in all the extract procedures.
212
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Customizing the Siebel Data Warehouse Customization Steps for Siebel Data
5 6
Use the extension table's predefined fact table foreign keys that join to this new dimension. (In the above example, the extension table for W_REVN_F must be used to store the foreign key of this new dimension.) Create a new extension table for the fact table with predefined structure to hold a new foreign key, if the foreign keys in existing the extension table have been exhausted.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
21 3
Customizing the Siebel Data Warehouse Customization Steps for Siebel Data
Create new mappings (SDE and SIL) to populate the extension table columns of the fact extension table.
Register the new dimension table in the DAC and associate it with the appropriate database connection. If you are planning to build a new dimension incrementally, assign an image suffix to the source table. For instructions, see Adding a Column from a Related Source Table in the Siebel Transactional Database on page 211.
8 9
Add the new dimension to all the fact groups that may reference it. Register the workflows as tasks in the DAC. Truncate Always option to True. And in the list of source tables, mark the primary/auxiliary source(s) of this dimension.
10 For SDE mapping of the dimension make sure you set the Build Image flag to True, and the
11 For SIL workflows of the dimension make sure you set only Truncate for Full Load option to True. 12 Make SIL_XYZ depend on SDE_XYZ. 13 Make CustomSIL_RevenueFact depend on load dimension task (SIL_XYZ) and load base fact task
(SIL_RevenueFact).
214
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Customizing the Siebel Data Warehouse Siebel Data Warehouse Customization Steps for Non-Siebel Data
7 8 9
Use lookups or SQL override joins to dimension tables for populating dimension foreign keys (ROW_WIDs) pointing to the existing dimension. In the DAC, register the target tables. Because this is a fact table, create a new table group with this fact table as the main table.
10 Associate the fact table to the group with the relationship as Self. 11 Associate all the dimension tables. 12 Add the newly created group to the appropriate subject area. 13 Create new tasks for the workflows. 14 For the SDE task, make sure you have the Build Image flag set to True, and list all the source
tables that it queries from. Choose one or more tables as primary or auxiliary. For the target tables choose the staging table. Set the Truncate Always flag to True.
15 For the SIL task, list all the dimensions that will be required under source tables, and make it
depend on the SDE task of the custom fact table and SIL tasks of all the dimension tables.
Adding a New Dimension Table for a New Fact Table in the Siebel Data Warehouse
Adding a new custom dimension WC_NEWDIM_D and linking it to new custom WC_BKLOG_F fact table. The steps for creating a new dimension table are similar to the steps for incremental change capture.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
21 5
Customizing the Siebel Data Warehouse Siebel Data Warehouse Customization Steps for Non-Siebel Data
Building a Custom Dimension Table from External Sources in Siebel Data Warehouse on page 225 Linking the Custom Dimension to a Standard Fact Table in Siebel Data Warehouse on page 225 Building Custom Fact Tables from External Sources in Siebel Data Warehouse on page 226
Adding New Data as a Whole Row into the Standard Dimension Table in Siebel Data Warehouse
Example: Loading Contact Data From an External Source New DDLs: None New Mappings: SDE Mappings for dimensions, SDE and SIL mappings for related fact tables Case: Bringing data into dimension tables Reference Mappings: SDE and SIL_WaveDimension mappings
To add new data as a whole row into the standard dimension table 1 2
Identify and understand the existing structure of staging tables. Refer to Siebel Data Warehouse Data Model Reference for the table structure. Non-system columns can include the null value. Create a custom SDE mapping to load the data into the staging table in the Custom_DW_Folder for this purpose. The staging table needs to be populated with incremental data (rows that have been added or changed since the last Refresh ETL process), for performance reasons. Populate the INTEGRATION_ID column with the unique identifier for the record. The combination of INTEGRATION_ID and DATASRC_NUM_ID is unique. When importing the data, make sure that a unique identifier for the external data source is inserted in the DATASRC_NUM_ID column. The DATASRC_NUM_ID is set to 1 for mappings that source data from the Siebel transactional database. This is a reserved value and is used in all standard mappings. For example, a value of 2 can be defined for DATASRC_NUM_ID in the custom SDE mapping. The standard SDE mappings populate the INTEGRATION_ID column of the dimension staging table (used for resolving the dimension's Siebel transactional database ROW_ID value). The custom process must be used to populate the same column with a unique identifier from the external data source.
4 5
After the data is populated in the staging table, use the standard SIL mappings to populate the dimension target tables. Use one data source per dimension. This is a best practice. To consolidate data for a dimension row from multiple data sources, complete that process prior to the custom SDE mapping process. For example, to consolidate contacts from Siebel and Peoplesoft applications, complete the consolidation process (including removing duplicates, cleansing, and so on) before loading the contact list into the Siebel staging table.
216
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Customizing the Siebel Data Warehouse Siebel Data Warehouse Customization Steps for Non-Siebel Data
Modify the SDE and SIL mappings of all the related fact tables (fact tables that need to be linked to this dimension). The custom fact SDE mappings must populate the foreign key column of the changed dimension (using a custom map table process to convert from Siebel's row IDs to the external data source row IDs). The custom SIL mapping should be modified to use the appropriate DATASRC_NUM_ID, because the standard SIL mappings assume DATASRC_NUM_ID for the dimensions are the same as the fact tables DATASRC_NUM_ID. It is very important to decide when the data is going to be loaded. If it is going to be loaded along with the Siebel source data, you must be careful with how you handle failure recovery. The preconfigured workflows truncate the target staging table prior to loading. Upon failure, when the DAC server restarts the task, all the data is truncated and all the data is loaded again. If the data from the external source gets loaded into the same staging table, be careful with how you handle this situation, since you cannot use the truncate table functionality. The data migrating into the staging table is not incrementally loaded, and, therefore, should be cleaned up prior to attempting to load this table again. In such a case, it is recommended that you encapsulate the extract part from both the sources inside an Informatica workflow. Upon failure of either of the extracts, the whole workflow gets rerun. Note that the data from both the sources should be run at the same time, all the time. If it is decided that the data is going to be loaded at different time frequencies, then the new SDE workflows need not depend on the preconfigured SDE workflows and can use the Truncate Table option for failure recovery. In this case, in the DAC Design view, define a new execution plan in the Execution Plans tab, and define the new data source in the Database Connections subtab. Make sure the shared SIL process depends on the SDE processes from both sources. Figure 16 provides a graphical representation of this process.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
21 7
Customizing the Siebel Data Warehouse Siebel Data Warehouse Customization Steps for Non-Siebel Data
Figure 16. Adding New Data as a Whole Row into the Standard Dimension Table
Adding New Data as a Whole Row into the Standard Fact Table in Siebel Data Warehouse
Example: Bringing in activity data from external sources. New DDLs: None New Mappings: SDE and SIL mappings Case: Bringing data into fact tables. Reference: SDE and SIL_AssetFact
218
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Customizing the Siebel Data Warehouse Siebel Data Warehouse Customization Steps for Non-Siebel Data
Develop custom SIL mappings to handle the specific situation required. The reference SIL mapping can be copied to the Custom folder and customized for specific requirements. If the SIL mappings were copied as a base from the standard folder, it is possible to leverage the existing logic for ROW_WID generation, update strategy, and so on. It may be easier to trim an existing SIL mapping than to create a new one. Apply discretion in creating a custom SIL mapping. While joining with the dimensions in the SIL process, use the DATASOURCE_NUM_ID and INTEGRATION_ID to resolve foreign key values. Note that for dimensions populated entirely from Siebel, DATASOURCE_NUM_ID will be 1. For the dimensions populated entirely from other external sources, use the appropriate DATASRC_NUM_ID (not 1) and the corresponding INTEGRATION_ID. This needs to be hard coded in the custom mapping. Use an update strategy that would update the existing records and insert new ones. Inspect SDE and SIL mappings provided as reference to understanding the programmatic logic.
Scenario 1. All the dimensions get data from the external source as the fact table. In this case it is not necessary to change the existing standard SIL mappings. The standard SIL process assumes that the dimension rows that a fact needs to join are from the same data source as the fact rows. (See Figure 17 for an example.)
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
21 9
Customizing the Siebel Data Warehouse Siebel Data Warehouse Customization Steps for Non-Siebel Data
Scenario 2. Some dimensions are populated from external sources and some from the Siebel transactional database. In this case, standard SIL mappings need to be modified so that the appropriate DATASRC_NUM_ID is used when joining to a dimension table. This scenario needs to be custom designed and developed. As in any customization, it will require ongoing maintenance. (See Figure 18 for an example.) Copy the mapping over to the Custom folder and do the modifications. Create a workflow that points to the mapping in the Custom folder. In the DAC repository, search for the task that uses this workflow as a command and change the folder to Custom folder. Change the name as necessary.
NOTE: Changing the standard mapping is an exception. It is important to document changes as updates to standard mapping will be lost during the Informatica repository process. Reapply changes to the standard mappings after the upgrade process. Prior to modifying copy the mapping as-is from OTB folder to the Custom folder, and make changes in the Custom folder. In the DAC repository, find the task that is using the workflow name and change the folder to point to the Custom folder. Adding new data as a whole row into the standard Fact table: Scenario 1.
220
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Customizing the Siebel Data Warehouse Siebel Data Warehouse Customization Steps for Non-Siebel Data
Figure 17. Adding New Data as a Whole Row into the Standard Fact Table - Scenario 1
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
22 1
Customizing the Siebel Data Warehouse Siebel Data Warehouse Customization Steps for Non-Siebel Data
Figure 18. Adding New Data as a Whole Row into the Standard Fact Table - Scenario 2 In Figure 18, because the contact data and product data are from different data sources, it is necessary to modify the SIL session and the SQL override in the following manner: SELECT ACT.INTEGRATION_ID, P.ROW_WID,
222
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Customizing the Siebel Data Warehouse Siebel Data Warehouse Customization Steps for Non-Siebel Data
C.ROW_WID FROM W_ACTIVITY_FS ACT, W_CONTACT_D C, W_PRODUCT_D P WHERE ACT.PRODUCT_ID = P.INTEGRATION_ID AND P.DATASRC_NUM_ID = 1 /* Product is from Siebel Source having datasrc_num_id = 1 ln dimension */ AND ACT.CONTACT_ID = C.INTEGRATION_ID AND ACT.DATASRC_NUM_ID = C.DATASRC_NUM_ID /* The rows in Contact dimension that the fact refer to are from the same external datasrc, 2 */
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
22 3
Customizing the Siebel Data Warehouse Siebel Data Warehouse Customization Steps for Non-Siebel Data
While populating the extension table, design lookups (or write SQL overrides) for the SQL Qualifier Transformation in the Informatica mapping to identify the primary key (ROW_WID) of the parent row for the additional attribute. The primary key (ROW_WID) of the parent row is then used as the primary key (ROW_WID) of the extension table. Template mappings are provided in the CUSTOM_DW_REP folder (for example, CustomTemplateSDE_WaveDimension'). The custom SDE mappings should populate the stage extension tables (standard or custom). The custom extension table for staging should include the INTEGRATION_ID and DATASRC_NUM_ID. This combination enables the unique identification for each row by the data source. The data for this INTEGRATION_ID column should be populated by a process that identifies such an ID from the parent data source. The DATASRC_NUM_ID column should have the same value of the DATASRC_NUM_ID of the parent it is extending. Once stage data is populated, a custom SIL mapping can be developed to move data from the extension stage to the extension table (of either the factor dimension table). The process should contain a look up either based on the INTEGRATION_ID and DATASRC_NUM_ID to find the ROW_WID for the extension table from the parent fact/dimension table. For an example, refer to CustomTemplateSIL_WaveDimension. If there are rows for which there is no matching ROW_WID in the parent tables, they should be ignored. Use the appropriate update strategy for modifying existing data. Make the custom SIL process depend on the custom SDE process and SIL process of the dimension table you are extending, because this mapping will require the borrowing of the foreign key for the link.
6 7
While joining with the dimensions in the SIL process, use the DATASRC_NUM_ID as 1 for the dimensions that have only data from the main Siebel source and join based on INTEGRATION_ID.
224
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Customizing the Siebel Data Warehouse Siebel Data Warehouse Customization Steps for Non-Siebel Data
For the dimensions that have only data from external sources use the appropriate DATASRC_NUM_ID and the corresponding INTEGRATION_ID. Use the appropriate update strategy to change and insert rows.
3 4
Quite likely the SDE process for this will not depend on anything else. Make the Custom SIL process to depend on its custom SDE process and SIL process of the fact table you are extending.
Building a Custom Dimension Table from External Sources in Siebel Data Warehouse
New DDLs: New staging and new dimension tables. New Mappings: Dimension SDE and SIL mappings. Case: Loading data for custom dimension tables. Reference: SDE and SIL_WaveDimension in Siebel_DW_Folder.
4 5 6
Linking the Custom Dimension to a Standard Fact Table in Siebel Data Warehouse
New DDLs: New fact extension tables or standard fact extension tables New Mappings: Fact SDE and SIL mappings Case: Loading data for fact tables that reference the new custom dimension tables Reference: CustomSDE and SIL_AssetFact in Custom_DW_Folder
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
22 5
Customizing the Siebel Data Warehouse Siebel Data Warehouse Customization Steps for Non-Siebel Data
3 4
5 6 7
Building Custom Fact Tables from External Sources in Siebel Data Warehouse
New DDLs: New staging and new fact tables New Mappings: SDE and SIL mappings Case: Loading data for new fact tables Reference: SDE and SIL_AssetFact from Siebel_DW_Rep Folder
226
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
List of Values Exceptions (Example) Name < 100 80 200 Low 10 80 High 100 200
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
22 7
Using Siebel Data Warehouse Exception Reports Understanding Siebel Data Warehouse Exceptions
List of Values Exceptions (Example) Name 250 300 350 400 Low 250 350 High 300 400
Notice that, in the example for Type MY_TYPE, there are overlaps and gaps between records. There is an overlap of ranges between the first and second row. There is a gap between second and third row, and between third and fourth rows. The following LOV types are analyzed for List of Value Exceptions: ACCNT_REVENUE_SIZE ACCNT_EMP_SIZE LEAD_AGE_DAYS OPTY_REVENUE_SIZE OPTY_UNIT_SIZE ACCNT_REVENUE QUOTE_AGE_DAYS ACCNT_REVN_GROWTH APPROVAL_AUTH_SIZE SR_CHART_AGE ASSET_COST_CATEGORY
Cost List Exceptions (Example) Product Name Product 1 Product 1 Product 1 Currency USD USD USD Start Date (MM-DD-YYYY) 01-01-2000 06-01-2000 06-01-2001 End Date (MM-DD-YYYY) 12-31-2000 06-01-2001 06-01-2002 Cost 10.00 12.00 13.00
228
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Using Siebel Data Warehouse Exception Reports Understanding Siebel Data Warehouse Exceptions
In the example, Cost List 1 and 2 have definitions of cost overlapping over 06-01-2000 to 12-312000.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
22 9
Using Siebel Data Warehouse Exception Reports Executing Siebel Data Warehouse Exception Reports
Siebel Business Analytics flags exceptions for two levels. Circular references over two hierarchies are not flagged. See Table 59 for an example.
These produce infinite levels of hierarchies. The same records will be captured under the Invalid Hierarchy exceptions as their hierarchy depths will increase beyond 10 levels.
Cleansing Data
Use a combination of the Exception Reports and the Diagnostic views to assess changes that need to be made external to the Siebel transactional database, and changes to the Siebel transactional database directly. The ETL Exception Reports list contains one record for each exception flagged in the Siebel transactional database. The ETL Exception Explanation form, located below the ETL Exception Reports list, describes the selected exception, its effect on the Siebel Data Warehouse building process, and offers suggestions for repairing the data.
230
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Using Siebel Data Warehouse Exception Reports Executing Siebel Data Warehouse Exception Reports
To fix an exception 1 2 3
Select an exception record. Read and understand the text in the ETL Exception Explanation form. Click the report link. The objects data appears. (For example, if the object is an account, then the Account form appears. If the object is a cost list, then the Cost List list appears.)
4 5
Repair the problem, using the text in the ETL Exception Explanation form as a guide. Return to the ETL Exception Reports list and place a check mark in the Fixed column to indicate to others that this exception has now been fixed.
Figure 19. List of Values List The top List of Values list shows values from the Siebel transactional database and the bottom List of Values (Data Warehouse) list shows the data that is to be used in ETL process. You can edit the Siebel transactional database data directly in this view, but the Siebel Data Warehouse list is readonly. NOTE: The List of Values is extracted into the Siebel Data Warehouse where the language is the same as the ETL Default Language set in the DAC ETL Preferences, or whose translate flag is set to N, or those that are active.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
23 1
Using Siebel Data Warehouse Exception Reports Executing Siebel Data Warehouse Exception Reports
Additional Exceptions
The above mentioned exceptions are not an exhaustive list of all possible exceptions. Other exceptions are: The Analysis start and end date in the DAC ETL Preferences must span the entire period of time during which the transactions have occurred. For example, you may want to choose an early and late date range to cover the entire time period you are analyzing. These dates in the DAC ETL Preferences are crucial for the building of Day Dimension, flattening of Exchange Rates, Cost Lists, and KPI (Key Performance Indicator fact) calculations.
232
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Using Siebel Data Warehouse Exception Reports Executing Siebel Data Warehouse Exception Reports
The DAC ETL Preferences ETL Date Format, ETL Analysis Start, ETL Analysis End parameters, and the List of Values ETL_UNSPEC_DATE must be defined in the same data format. If one is changed, the others must be changed accordingly. List of Values must be defined appropriately. If there is no appropriate entry in List of Values, the strings that depend on List of Values in the Siebel transactional database will not be translated. There must be exchange rates defined for the currencies your organization deals with. If the appropriate exchange values are not found, the ETL process uses the ETL Unknown Exchange Rate defined in the DAC ETL Preferences.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
23 3
Using Siebel Data Warehouse Exception Reports Executing Siebel Data Warehouse Exception Reports
234
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Table 60.
Siebel Data Warehouse Installation and Configuration Issues Probable Cause/Solution Make sure that the DB2 configuration matches the requirements listed in IBM DB2 UDB-Specific Database Guidelines for Siebel Data Warehouse on page 36. The ODBC driver installation replaces the odbcbcp.dll file with an older version. The Informatica documentation contains the procedure for correcting this problem. Make sure that the server running the Informatica Server software has an ODBC connection to the Siebel transactional database using a Siebel ODBC driver and an ODBC connection to the Siebel Data Warehouse using the Merant Closed 3.5 32-bit driver. Check the Compatibility tab in Informatica service configuration. It should be Oracle 8. If it is not set to Oracle 8, change it and restart the Informatica server.
Symptom/Error Message Cannot connect to the Siebel Data Warehouse running on DB2.
After installing Informaticas ODBC driver (V3.5) on a Windows computer, you cannot open the Query Analyzer, and the Enterprise Manager shows an error message. Cannot connect to Siebel transactional database from Informatica.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
23 5
Table 60.
Siebel Data Warehouse Installation and Configuration Issues Probable Cause/Solution The server may not be started or the Informatica Service may not be started. See Informaticas installation and configuration guide on Siebel Business Applications Third-Party Bookshelf for detailed information. The computer is probably running out of virtual memory. Restart the computer and reinstall Informatica.
Informatica installation fails with an Unhandled Exception error and displays a message similar to this: Error Number: 0x80040707. Description: Dll function call crashed: ISRT._DoInstall. After selecting Warehouse Default Amount (Yen) as the currency symbol, the dollar sign ($) is still displayed.
The currencies.xml file must be edited. For instructions, see Changing the Default Currency in Analytics Applications on page 272.
Table 61.
Informatica and Loading Issues Probable Cause/Solution The session log files are not set up properly. You also may need to change the text editor. When running some Informatica mappings for loading the Siebel Data Warehouse, turning on the Performance Statistics can cause the mapping to hang. The only workaround is to increase the values of the LMSharedMemory and MaxSessions variables in Informatica. The risk of increasing the LMSharedMemory too much is that it may start to have a serious effect on overall performance of the machine that the Informatica server is running on.
Symptom/Error Message Double-clicking the workflow yields a Workflow Manager error message: The system cannot find the file specified. Using Oracle, some mappings hang while running when performance statistics are switched on.
236
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Table 61.
Informatica and Loading Issues Probable Cause/Solution This can happen due to a server time-out property that is usually set to 20 or 40 seconds. When you try to run a large workflow, every session in that workflow is fetched into the server's memory. If this takes longer than the server time-out property, the server returns a message that the workflow was unable to run. However, the workflow is running, but the server just needs time to complete fetching the sessions into memory. Double-click the workflow to view the log file details. Incorrect date entry in the SME Date Format field in the System Preferences. The format is YYYYMMDD.
Symptom/Error Message When you execute a workflow on the Informatica Workflow Manager, Informatica returns the following error message: Request to start workflow (workflow name) on server (server name) not successful.
When running Full_Extract_Siebel_DW or Refresh_Extract_Siebel_DW, Informatica returns errors similar to: TE_7007 Transformation Evaluation Error; current row skipped... TE_7007 [<<Transformation Error>> [to_date]: Date function error to_date('19010101', 'DD-MON-YYYY') When running Full_Load_Siebel_DW, Informatica returns errors similar to: CMN_1014 Error creating semaphore... TM_6006 Error initializing DTM for session... TM_6006 [s_CR18a1. Load W_PROG_DM_TMP - Program Records]
Insufficient semaphores allocated. Allocate more semaphores on the Data Warehouse Server. The change becomes effective when you reboot.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
23 7
Table 61.
Informatica and Loading Issues Probable Cause/Solution The DB2 parameter SHEAPTHRES is too small.
Symptom/Error Message Informatica (RDBMS is DB2) gives the following error message: Error occurred unlocking [SDE_ServiceRequestDimension1]. An error occurred while accessing the repository[[IBM][CLI Driver][DB2/ 6000] SQL0955C Sort memory cannot be allocated to process the statement. Reason code = "". SQLSTATE=57011] DB2 Fatal Error[FnName: ExecuteDirect -- SQLSTATE=57011 [IBM][CLI Driver][DB2/6000] Informatica produces the error Unable to connect to the server when running a full load of the Siebel Data Warehouse (Full_Load_Siebel_DW_Dimensions). When loading the data warehouse, Informatica reports a lock problem.
The last Designer session was not validated. Part of the development process of working with Designer is to always validate any changes to Informatica mappings definitions and sessions after the change is saved in repository. Either someone has a session open or there is a dead session. Make sure no one has any open sessions. If no sessions are open, then follow the Informatica documentation on removing locks caused by dead sessions. This is due to Informatica mapping objects that have been modified and this does not automatically validate the session objects. You must validate all changes to any existing mappings in the Informatica repository.
After changing an Informatica mapping, you may get an error message when trying to execute Full_Load_Siebel_DW_Facts. The error message is Unable to connect to the server.
238
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Table 61.
Informatica and Loading Issues Probable Cause/Solution This could be because the previous full load did not complete successfully. Fix the problem that caused the previous load session to fail. Make sure you start the process from the last entry of Load_RestartNextWorkflow # before the failed session, and restart the workflow process from that point. If you have to re-extract the data from the Siebel transactional database because something had to be fixed in the source database to resolve the load error, then you must restart the ETL process. Truncate S_ETL_INC_STAT in the Siebel transactional database, then enable the Extract and Load workflows and rerun them.
Symptom/Error Message Session SDE_RecordLoadStart fails due to unique constraint error while executing Full_Load_Siebel_DW_Dimensions or Full_Load_Siebel_DW_Facts.
Session SDEINC_RecordExtractStart fails due to unique constraint error while executing a Refresh workflow.
This could be because the previous load or refresh did not complete successfully. Fix the problem that caused the previous refresh session to fail. Make sure you start the process from last entry of %RestartNextWorkflow # before the failed session, and restart the workflow process from that point. This is due to a disk space limitation. Check the /Informatica/PowerMart/Cache/Check directory for available disk space, also check the limits (ulimit) of the account used to start PowerMart. This is possibly caused by a limited number of resources on the MSSQL Database Server. The workaround is to execute the following MSSQL specific SQL command on the Siebel Data Warehouse: DROP INDEX OPB_OBJECT_LOCKS.OPB_OBJ_LOCKS_IDX DROP INDEX OPB_OBJECT_LOCKS.OPB_OBJ_LOCKS_IDX2 DROP INDEX OPB_OBJECT_LOCKS.OPB_OBJ_LOCKS_IDX3 Upon completion of executing these commands, continue executing the workflow processes to load the Siebel Data Warehouse.
The session fails and you receive the following error code: Error "TE_7042 Aggregate Error: File Operation Error Informatica sessions get deadlocked and eventually fail when they try to do a select from the repository table OPB_OBJECT_LOCKS. This problem sometimes occurs on MSSQL server databases.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
23 9
Table 61.
Informatica and Loading Issues Probable Cause/Solution After installing Informatica Server on Windows, copy the file mapi32.dll from winnt\\system32 to the bin folder where the Informatica Server is installed, overwriting the existing mapi32.dll in that directory. Start the Informatica Server so that the Informatica Server can use the new mapi32.dll. The Extended MAPI Error. MAPILogonEx failed[2147746065] error indicates that the logon is not configured correctly. Check the following:
Symptom/Error Message An error may occur when trying to send a post session email notification using MS Outlook 2000. Refer to Informatica release notes for further information.
Under Services > Informatica> Logon, make sure the login (domain\username) and password are correct. Under Control Panel > Mail (it may also be called Mail and Fax or Exchange) > Services > Show Profiles, make sure the mail profile is correct. Under Programs> Informatica Server > Informatica Server Setup> Miscellaneous, make sure the MS Exchange profile is correct.
While creating a custom session, bulk load mode does not work properly with SQL Server.
Change the mode to normal in Informatica repository for the session. The normal mode must be used everywhere for SQL Server in all of your custom sessions. This is caused by a down-level ODBC driver license key. Rename or move ivodbc.lic, lvodbc.lic (if it exists), and lvdw.lic (if it exists). Make sure you have only one license file named ivdw.lic in winnt\system32. This eliminates the problem. Informatica is closing Outlook. This issue is known to Informatica and is scheduled to be resolved in an upcoming release. Until then, create a second profile in Outlook and add that profile name to the Informatica server setup.
When running IMR, you may receive an error message box which states The evaluation period for this Oracle ODBC driver has expired. Please call Merant to obtain a production version of this Oracle ODBC driver. Outlook closes when sending out a notification of finishing the ETL process.
240
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Table 61.
Informatica and Loading Issues Probable Cause/Solution This problem is an Oracle 8i defect. It has been resolved in Oracle 9i. The workaround is to run the session in Normal mode. To do so, in Workflow Manager navigate to the Targets window, and change the Target Load type to Normal.
Symptom/Error Message Oracle 8i sessions running in bulk mode fail and return an error message similar to: WRITER_1_1_1> CMN_1022 Database driver error... CMN_1022 [ ORA-00600: internal error code, arguments: [kpodpmop_01], [2], [], [], [], [],[], [] Or MAPPING> TE_7022 TShmWriter: Initialized MAPPING> Sat Jan 26 13:54:45 2002 MAPPING> TE_7001 Internal error: Failed to allocate a target slot. Sat MAPPING> Jan 26 13:54:45 2002 TE_7017 Failed to Initialize Server MAPPING> Transformation BLK_ALL_DATATYPES1 Sat Jan 26 13:54:45 2002MAPPING> TM_6006 Error initializing DTM for session...MAPPING> TM_6020 Session [s_BULK_LONG] completed at [Sat Jan 26 13:54:45 2002] During an ETL execution, when Informatica and DAC servers use DB2 Connect version 7 to talk to DB2/390 version 7 OLTP and data warehouse databases, you receive an error message similar to the following: SEVERE: [IBM][CLI Driver][DB2] SQL0191N Error occurred because of a fragmented MBCS character. SQLSTATE=22504 103 SEVERE Tue May 11 21:37:29 CDT 2004 [IBM][CLI Driver][DB2] SQL0191N Error occurred because of a fragmented MBCS character. SQLSTATE=22504
This problem is a DB2 Connect version 7 (IBM) defect related to code page conversion. The problem has been resolved in DB2 Connect version 8. To correct the problem, do the following:
Download the file IBM01140.ucs from ftp://ftp.software.ibm.com/ps/products/ db2/fixes/english/siebel/siebel7/ Conversion_Files to the /sqllib/conv directory.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
24 1
Table 61.
Informatica and Loading Issues Probable Cause/Solution This issue is related to the network. The workaround is to increase the Timeout parameter values in the Informatica Repository Server Administration Console.
Symptom/Error Message When an ETL process is running and tasks fail, Informatica returns an error similar to the following Error while running Workflow Description: ERROR : TM_6292 : (3040|4868) Session task instance REP_12400 [Repository Error ([REP_51055] Repository agent connection failed. [System Error (errno = 121): The semaphore timeout period has expired. . (Cannot read message. Read 5824 bytes.)])]
In the left pane of the Repository Server Administration Console window, right click your repository and select Edit Connection. In the Network tab, enter 9 as the value for the parameters MessageReceiveTimeout and MessageSendTimeout. Stop and start the Informatica Repository Server. Start the Informatica Server.
3 4
Table 62.
Unicode Issues with Informatica and Siebel Data Warehouse Probable Cause/Solution In Informatica Mapping Designer, open the corresponding mapping and in the Aggregator transformation, remove the check from the Sortedinput check box. Share the folder under a new name with no double-byte characters, and use the network share as the value for $PMRootDir.
Symptom/Error Message Task fails and generates the error message: "TRANSF_1_1_1_1> TE_7073 Aggregate Error: Expecting keys to be ascending. Tasks known to fail are SDE_DtlForecastFact and SDE_CostList In the Windows 2000 environment, with a double-byte language, such as Japanese, when you try to input the path for the directory where Informatica is installed for the value $PMRootDir in the Workflow Manager, the double-byte characters are converted to question marks. This causes the ETL to fail because it cannot find the Informatica Server folder and its subdirectories.
242
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Table 62.
Unicode Issues with Informatica and Siebel Data Warehouse Probable Cause/Solution Informatica 6.x does not support non-English messages and resources. Delete the following files to display all messages in English. PC/PM client folder\*411.dll PMServer folder\bin\*411.dll PMRepServer folder\bin\*411.dll
Symptom/Error Message When Configuring the Informatica Server or Informatica Repository Server, there are major truncations in some of the tabs. For example, in the Server tab and the Repository tab in the Configure Informatica Service screen (Start > Programs > Informatica Server > Informatica Server Setup > Configure Informatica Service), the field names are truncated. Unable to start the Informatica repository with the Informatica Repository Server on UNIX. The Siebel_DW_Rep (MS Windows Japanese and superset of Shift-JIS) is not compatible with that of pmrepagent (UTF-8 encoding of Unicode).
Make sure Japanese locales are installed on the UNIX machine. The environment variables on the UNIX machine are not complete. Set the environment variable PM_CODEPAGENAME to MS932. For other languages, set the variable appropriately.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
24 3
Table 62.
Unicode Issues with Informatica and Siebel Data Warehouse Probable Cause/Solution The database connection code page has to be set manually through the Informatica Workflow Manager.
Symptom/Error Message The database connection code page is incorrect for Unicode/Non-Latin code pages.
1 2 3 4
Start the Workflow Manager. Connect to the Siebel_DW_Rep using Administrator as the user. Click Menu Connection > Select Relational. Select the appropriate OLTP connection (DB2_OLTP for DB2, ORA_OLTP for Oracle, MSSQL_OLTP or ODBC_OLTP for MSSQL). For the code page select the UTF-8 encoding of Unicode or the appropriate code page, and then click OK. Select the OLAP connection (DB2_OLAP for DB2, ORA_OLAP for Oracle, MSSQL_OLAP or ODBC_OLTP for MSSQL). For the code page select the UTF-8 encoding of Unicode or the appropriate code page, and then click OK.
Unable to install Informatica PowerMart on nonEnglish UNIX locales (for example, ESN, DEU, FRA, ITA). The following error message appears: "FATAL ERROR during initialization, Invalid language specified, Application terminated."
This error will occur when the locale environment variables are set inconsistently or not at all. These settings are determined by entering the command locale at the UNIX command prompt. Make sure the correct locales are installed on the UNIX machine. Set the environment variable PM_CODEPAGENAME correctly (For example set it to MS932 for Japanese).
244
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Table 63.
UNIX Installation Issues with Siebel Data Warehouse Probable Cause/Solution Launch Workflow Manager, then right-click on SIEBEL_DW_REP and click More. Make sure the Host Name is the machine name where the Informatica Repository Server resides.
Symptom/Error Message When starting Informatica in pmserver.log, the following error messages appear: FATAL ERROR: LM_36023 [Tue Mar 11 23:12:41 2003] : (9968|1) The IP address [172.0.129.141] for this machine did not match the IP address [172.20.94] in the repository for server [SIEBEL_DW_SERVER]. FATAL ERROR: SF_34014 [Tue Mar 11 23:13:41 2003] : (9968|1) Server initialization failed. INFO: SF_34014 [Tue Mar 11 23:13:41 2003] : (9968|1) Server shut down. When connecting to the Informatica Repository Server from the Repository Administration Console, the following error messages appear: Oracle databases running on Solaris or HP: Database Connection Error: Database driver event...Error occurred loading library [Bad magic number for shared library: /export/home/oracle/9.0.1.3/ lib/libclntsh.sl]Database driver event...Error occurred loading library [libpmora8.sl] DB2 databases running on AIX: (17764|1) Database Connection Error : Database driver event...Error occurred loading library [No such file or directory]Database driver event...Error occurred loading library [libpmdb2.a]
Set the environment variable as follows: LD_LIBRARY_PATH=/export/home/oracle/ 9.0.1.3/lib32 Restart the Informatica Repository Server service.
DB2 databases running on AIX: (17764|1) Database Connection Error : Database driver event...Error occurred loading library [No such file or directory]Database driver event...Error occurred loading library [libpmdb2.a] Set the environment variable as follows:
For DB2 v7 setenv LIBPATH ${LIBPATH}:/usr/lpp/ db2_07_01/lib Restart the Informatica Repository Server service, after setting the variable.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
24 5
Table 63.
UNIX Installation Issues with Siebel Data Warehouse Probable Cause/Solution The database is Unicode and the environment variable is needed. For Unicode UTF8, set the environment variable to American_America.UTF8. For Unicode AL32UTF8, set the environment variable to American_America.AL32UTF8.
Symptom/Error Message When restoring the Informatica Repository, the following error message appears in the dwdb.log: ERROR : OBJM_54543 [Tue Mar 25 17:47:16 2003] : (164|2484) DataBase error: ORA-01461: can bind a LONG value only for insert into a LONG column When starting pmserver on UNIX, the following error message appears: INFO : LM_36039 [Thu Mar 27 11:40:29 2003] : (6772|1) The maximum number of sessions that can run simultaneously is [10]. FATAL ERROR : CMN_1011 [Thu Mar 27 11:40:29 2003] : (6772|1) Error allocating system shared memory of [3000000] bytes for [Load Manager Shared Memory]. Error is [0]: [] FATAL ERROR : SF_34004 [Thu Mar 27 11:40:29 2003] : (6772|1) Server initialization failed. INFO : SF_34014 [Thu Mar 27 11:40:29 2003] : (6772|1) Server shut down.
In the pmserver.cfg file, change MaxSessions to 15 and change LMSharedMem to 3000000. NOTE: For each 10 count increase of MaxSessions, increase the LMSharedMem by 2000000 bytes.
246
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Table 63.
UNIX Installation Issues with Siebel Data Warehouse Probable Cause/Solution For Informatica servers running on UNIX, in the pmserver.cfg file, set ValidateDataCodePages to No. For Informatica servers running on Windows, navigate to Informatica Server setup > Configuration, and remove the check from the Validate Data CodePages check box.
Symptom/Error Message A session fails (any session), and the following error message appears: TM_6227 Error: codepage incompatible in session [SDE_RecordExtractStart]. The source database DB2_OLTP and server SIEBEL_DW_SERVER do not have compatible code pages. (One way compatibility is required). When trying to start the Informatica Server, the following error message appears: sdcb50a125{qauser7a}/> pmserver exec(): 0509-036 Cannot load program pmserver because of the following errors: 0509-150 Dependent module libpmcef.a could not be loaded. 0509-022 Cannot load module libpmcef.a. 0509-026 System error: A file or directory in the path name does not exist.
Set the environment parameters as follows: setenv PATH /export/home/informatica/ pm:.:${PATH} setenv LD_LIBRARY_PATH /export/home/ informatica/ pm:${LD_LIBRARY_PATH}
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
24 7
Table 64 provides information about problems and solutions related to the DAC.
Table 64.
Siebel Data Warehouse DAC Issues Probable Cause/Solution To make sure that email notification works with the DAC server, make sure that the following are true: To set up the email notification feature, you must bring up the DAC client on the same machine as the DAC server. The Email server settings (using the DAC client's server setup) point to a valid SMTP server. The SMTP server must be supporting Login Authentication. In the Exchange server, this amounts to enabling the Basic Authentication for SMTP module.
When trying to bring up the DAC server, make sure that the following are taken care of: The DAC System properties contain the name of the DAC Server Host machine. This specifies the machine on which the DAC server will be run. Make sure that this entry is correct, and points to where you are bringing up the DAC server. Furthermore, there is an entry for the DAC Server OS, which should specify the OS where the DAC server is running. Make sure that this entry is correct. Make sure that the $DAC_HOME/lib directory contains the needed JDBC libraries. You may want to edit the startserver.bat file temporarily, and run the DAC server in such a way that messages show in the command window. (Use JAVA rather than JAVAW for Windows OS). This will allow you to see a lot of run-time information, as the server boots up.
248
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Table 64.
Siebel Data Warehouse DAC Issues Probable Cause/Solution In the DAC System properties, there is an entry called Logging Level. You can increase the amount of information logged by decreasing the logging-threshold. In other words, if the value currently is SEVERE, make it INFO. This will show more information. If you still cannot find the cause, you may want to change it to FINE or FINEST. These levels are the standard levels of Java's Logging API. (SEVERE, WARNING, INFO, CONFIG, FINE, FINER, FINEST).
Be aware that as you lower the logging threshold, a lot of run-time information will start getting logged. While this may be advantageous for troubleshooting, you do not want to leave it like this in production mode. Excessive logging will generate large log files quickly and use excessive disk space. There is also a modest performance hit with excessive logging.
Make sure that there is no DAC server already running on the machine. Only one DAC server instance can exist per machine (and per DAC repository). Some nonvisible forms of the DAC server may be running as a background process. Make sure that the DAC repository database instance is actually up and running. The DAC repository database being down or the loss of network connectivity to the database will cause the DAC server not to come up, or to go down if it was running. Make sure that the DAC repository database connection pool size is moderate. In other words, do not try to acquire an excessive number of connections when the database administrator may have put restrictions on how many a single application can request.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
24 9
Table 64.
Siebel Data Warehouse DAC Issues Probable Cause/Solution This is expected behavior. The first time the DAC server comes up against a repository, it creates a Unique ID for itself, and the repository. Thereafter, when any client is started against the repository, it knows where to expect the DAC server to be, and furthermore, sends a valid identification token containing the Unique ID. Therefore, after bringing up the DAC server the first time, you may want to close the existing open clients, and bring them up again. This problem is specific to bringing up the DAC client and server for the first time. Once Unique ID has been created, the behavior of the Server Monitor icon will be as expected. This problem is specific to DB2 databases and occurs only when the following tables are exported: WETL_DBCONN W_ETL_SYSPROP W_ETL_SERVER
Symptom/Error Message When starting the DAC client and server for the first time (after configuring the DAC server by using the DAC client), the DAC clients icon for the Server status stays red. In other words, it suggests the server is down, even though it is running.
When exporting the DAC repository against a DB2 database, failures occur. An error message may appear and the export.log file may have an entry similar to the following: Error while moving to reading next record.
This problem tends to occur when the database is under significant load. Therefore, it is recommended that you export these tables individually. Running the DAC server on AIX machines. Special care must be taken when bringing up the DAC server on AIX machines. For example, if the repository already contains database connection information entries, and Informatica Server entries, these must be modified if you are moving the DAC server to an AIX machine. In particular, you need to delete all the password fields, and re-enter them. For more information, see Analytics Applications Installation and Configuration Process on UNIX on page 110. The DAC client does not run on machines where PopChart Image Server from CORDA Technologies, Inc., is running. Run the DAC client on a machine that does not have PopChart Image Server from CORDA Technologies, Inc., installed.
250
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
25 1
Table 65.
Upgrade Issues Probable Cause/Solution Before upgrading, all leading and trailing spaces need to be removed from the data.
Symptom/Error Message When upgrading from Siebel Data Warehouse version 7.5.3 to version 7.7, duplicate rows are inserted into a mini dimension table from the dimension table.
Before running the workflow for the mini dimension that appears in the upgrade folder, modify the data to remove leading and trailing spaces by using the RTRIM and LTRIM functions. For example: set(col)=rtrim(col) In cases where you find leading and trailing spaces, modify the SQL override for the mini dimension mapping in the main folder as shown in the example below:
SELECT DISTINCT CASE WHEN G1.VAL IS NULL THEN RTRIM(LTRIM(DS.AREA)) ELSE G1.VAL END AS AREA, CASE WHEN G1.NAME IS NULL THEN RTRIM(LTRIM(DS.AREA)) ELSE G1.NAME END AS AREA_I, CASE WHEN G2.VAL IS NULL THEN RTRIM(LTRIM(DS.SUB_AREA)) ELSE G2.VAL END AS SUB_AREA CASE WHEN G2.NAME IS NULL THEN RTRIM (LTRIM(DS.SUB_AREA)) ELSE G2.NAME END AS SUB_AREA_I CASE WHEN G3.VAL IS NULL THEN RTRIM(LTRIM(DS.SEV_CD)) ELSE G3.VAL END AS SEV_CD CASE WHEN G3.NAME IS NULL THEN RTRIM (LTRIM(DS.SEV_CD)) ELSE G3.NAME END AS SEV_CD_I CASE WHEN G4.VAL IS NULL THEN RTRIM(LTRIM(DS.PRIO_CD)) ELSE G4.VAL END AS PRIO_CD CASE WHEN G4.NAME IS NULL THEN RTRIM (LTRIM(DS.PRIO_CD)) ELSE G4.NAME END AS PRIO_CD_I FROM W_SRVREQ_DS DS, W_LOV_G G1, W_LOV_G G2, W_LOV_G G3, W_LOV_G G4 WHERE W_SRVREQ_DS LEFT OUTER JOIN V_LOV_G G1 ON DS.AREA = G1.NAMEVAL AND G1.TYPE = SR_AREA LEFT OUTER JOIN W_LOV_G G2 ON DS.SUB_AREA = G2.NAMEVAL AND G2.TYPE = 'SR_AREA' LEFT OUTER JOIN W_LOV_G G3 ON DS.SEV_CD = G3.NAMEVAL AND G3.TYPE = 'SR_SEVERITY' LEFT OUTER JOIN W_LOV_G G4 ON DS.PRIO_CD = G4.NAMEVAL AND G4.TYPE = 'SR_PRIORITY'}
252
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
25 3
254
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
This appendix describes the Siebel Business Analytics Bridge applications and provides information about setting up the Siebel transactional database for use with the Bridge applications. This appendix contains the following topics: Overview of Analytics Bridge Applications on page 255 Setting Up the Siebel Transactional Database for Analytics Bridge Applications on page 257 Files for Siebel Analytics Bridge - 6.3 on page 259 Platform Support for Analytics Bridge Applications on page 260
Table 66.
Siebel Business Analytics Bridge Applications Analytics Platform Version 7.8.2.3 or higher 7.8.2.3 or higher 7.8.2.3 or higher Analytics Applications Version 7.8.4 7.8.4 7.8.4 Relevant DW Schema Version 7.7 7.7 7.7.1
Analytics Bridge Siebel Analytics Bridge - 6.3 Siebel Analytics Bridge - 7.5 Siebel Analytics Bridge - 7.7
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
25 5
256
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Analytics Bridge Applications Setting Up the Siebel Transactional Database for Analytics Bridge Applications
Copy the appropriate .sif file for the Analytics Bridge application you installed: Bridge Application Analytics Bridge - 6.3 Analytics Bridge - 7.5 Analytics Bridge - 7.7 Copy SRW_OLTP_63.sif SRW_OLTP_75.sif SRW_OLTP_77.sif From SiebelAnalytics\dwrep SiebelAnalytics\dwrep SiebelAnalytics\dwrep To \tools\objects \tools\objects \tools\objects
b c
Open Siebel Tools and point to the development database. Lock the appropriate project.
For Siebel Business Applications, lock the Newtable project For Siebel Industry Applications, lock the Table ETL project.
d e
Navigate to Tools > Import from Archive. Select Open. The Import WizardPreview screen appears, listing the Analytics Bridge tables.
f g h 2
In the Conflict Resolution area, select the option Merge the object definition from the archive file with the definition in the repository, and click Next. A dialog box appears, informing you that the operation will modify your repository and asking if you want to proceed. Click Yes. The Import Wizard Summary screen appears, showing a summary of the .sif changes to the repository files. Click Finish.
a b c d
In Siebel Tools, go to the Table screen and search for the tables S_ETL*. Select all the S_ETL* tables that appear, and click Apply at the top of the screen. In the Apply Schema dialog box, under the entry Tables, select Current Query from the dropdown list. Under the subsequent entries, enter the connection parameters for the development database. (Your connection information will vary depending on your particular database platform and on the configuration of your particular database environment.)
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
25 7
Analytics Bridge Applications Setting Up the Siebel Transactional Database for Analytics Bridge Applications
e 3 a b c d e f g h
Click Apply.
Create Image tables: In the DAC, navigate to Design > Tables. On the toolbar, click Query. In the Image Suffix field, enter !Null. Select a record. Right-click and select Change Capture Scripts > Generate Image and Trigger Scripts. In the Trigger and Image Tables dialog box, select All Tables in the List. Select the appropriate database type, and check the Unicode Database option if the database is Unicode. Check the Generate Image Table Scripts option, and click OK. This process generates a SQL script.
i 4
For the Analytics Bridge - 6.3, import language-independent Siebel seed data. NOTE: This step is not required for Analytics Bridge - 7.5 or Analytics Bridge - 7.7.
Copy the following files: Copy seed_63_bridge.dat seed_63_bidge_<xxx>.inp (where xxx corresponds to the database platform being used) From SiebelAnalytics\dwrep SiebelAnalytics\dwrep To Local machine Local machine
b c
Open a command line, and go to the same directory where you copied the .dat and .inp files. Replace each of the connection parameters with the values appropriate to your database environment, and then run the appropriate import command from the following table. Database Platform DB2UDB Run Import Command $SIEBELSERVERROOT\bin\dataimp /u $UserName /p $Password /c "$ODBCDataSource" /d $DatabaseOwner /f seed_63_bridge.dat /w y /q 100 /h Log /x f /i seed_63_bridge_db2udb.inp /l seed_63_bridge_db2udb.log
258
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Run Import Command $SIEBELSERVERROOT\bin\dataimp /u $UserName /p $Password /c "$ODBCDataSource" /d $DatabaseOwner /f seed_63_bridge.dat /w y /q 100 /h Log /x f /i seed_63_bridge_mssql.inp /l seed_63_bridge_mssql.log $SIEBELSERVERROOT\bin\dataimp /u $UserName /p $Password /c "$ODBCDataSource" /d $DatabaseOwner /f seed_63_bridge.dat /w y /q 100 /h Log /x f /i seed_63_bridge_oracle.inp /l seed_63_bridge_oracle.log
Oracle
Using the DAC, run the Complete ETL execution plan to perform a full load of data into the data warehouse. For instructions on running an ETL using the DAC, see Executing an ETL with the DAC on page 155.
File Name SRW_OLTP_<xxx>.sif where xxx is the transactional database version seed_<xxx>_bridge.dat where xxx is the transactional database version
Import file used to control the import of the seed_<xxx>_bridge.dat file from a Siebel Cross-Industry Application to a particular database platform.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
25 9
Table 67.
Files for Siebel Analytics Bridge - 6.3 Purpose of File Set of Siebel seed data files containing translations for all the Siebel Business Analytics metadata objects. Each file contains all the translations for a single language. These files place translationrelated seed data into the S_MSG table in the Siebel OLTP database. Set of import files used to control the import of the language seed files to the database.
260
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
This appendix provides instructions for installing the Usage Accelerator application that is a part of the Siebel Analytics Bridge 7.5 application. For information about this bridge application, see Overview of Analytics Bridge Applications on page 255. NOTE: The instructions in this appendix are required only if you are planning to use the Usage Accelerator application that is a part of the Siebel Analytics Bridge 7.5 application. If you licensed the Usage Accelerator application versions 7.7 or 7.7.1, you should follow the installation instructions in Siebel Business Analytics Platform Installation and Configuration Guide. No additional steps are required to install these versions of the Usage Accelerator application. This appendix contains the following topics: Installing the Usage Accelerator on page 261 7.7 Usage Accelerator-Analytics Bridge Files on page 267
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
26 1
c d
Navigate to Repository > Import from Archive, and select the file SRW_OLTP_75.sif. Click Open. The Import WizardPreview screen appears, listing the Analytics Bridge tables.
Click Next. NOTE: All the objects imported in this process should be new to your repository; therefore, there should be no conflict due to an import. In case of conflict, in the Conflict Resolution area, select the option Merge the object definition from the archive file with the definition in the repository.
f g 6
A dialog box appears, informing you that the operation will modify your repository and asking if you want to proceed. Click Yes. The Import Wizard Summary screen appears, showing a summary of the .sif changes to the repository files. Click Finish.
In Siebel Tools, go to the Table screen. Enter the following search string: S_ETL_PARAM or S_ETL_SRC_TABLE or S_NQ_ACCT or S_NQ_JOB or S_ETL_R_IMG_* or S_ETL_D_IMG_* OR S_ETL_I_IMG_* You should see the following tables:
S_ETL_D_IMG_1 S_ETL_D_IMG_10 to S_ETL_D_IMG_13 S_ETL_D_IMG_133 to S_ETL_D_IMG_139 S_ETL_D_IMG_14 S_ETL_D_IMG_140 to S_ETL_D_IMG_147 S_ETL_D_IMG_15 to S_ETL_D_IMG_19 S_ETL_D_IMG_2 S_ETL_D_IMG_20 to S_ETL_D_IMG_29 S_ETL_D_IMG_3 S_ETL_D_IMG_30 to S_ETL_D_IMG_39 S_ETL_D_IMG_4 S_ETL_D_IMG_40 to S_ETL_D_IMG_49 S_ETL_D_IMG_5 S_ETL_D_IMG_50 to S_ETL_D_IMG_59 S_ETL_D_IMG_6 S_ETL_D_IMG_60 to S_ETL_D_IMG_69 S_ETL_D_IMG_7 S_ETL_D_IMG_70 to S_ETL_D_IMG_79
262
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
S_ETL_D_IMG_8 S_ETL_D_IMG_80 to S_ETL_D_IMG_83 S_ETL_D_IMG_9 S_ETL_I_IMG_1 S_ETL_I_IMG_10 to S_ETL_I_IMG_13 S_ETL_I_IMG_133 to S_ETL_I_IMG_139 S_ETL_I_IMG_14 S_ETL_I_IMG_140 to S_ETL_I_IMG_147 S_ETL_I_IMG_15 to S_ETL_I_IMG_19 S_ETL_I_IMG_2 S_ETL_I_IMG_20 to S_ETL_I_IMG_29 S_ETL_I_IMG_3 S_ETL_I_IMG_30 to S_ETL_I_IMG_39 S_ETL_I_IMG_4 S_ETL_I_IMG_40 to S_ETL_I_IMG_49 S_ETL_I_IMG_5 S_ETL_I_IMG_50 to S_ETL_I_IMG_59 S_ETL_I_IMG_6 S_ETL_I_IMG_60 to S_ETL_I_IMG_69 S_ETL_I_IMG_7 S_ETL_I_IMG_70 to S_ETL_I_IMG_79 S_ETL_I_IMG_8 S_ETL_I_IMG_80 to S_ETL_I_IMG_83 S_ETL_I_IMG_9 S_ETL_R_IMG_1 S_ETL_R_IMG_10 to S_ETL_R_IMG_13 S_ETL_R_IMG_133 to S_ETL_R_IMG_139 S_ETL_R_IMG_14 S_ETL_R_IMG_140 to S_ETL_R_IMG_147 S_ETL_R_IMG_15 to S_ETL_R_IMG_19 S_ETL_R_IMG_2 S_ETL_R_IMG_20 to S_ETL_R_IMG_29 S_ETL_R_IMG_3
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
26 3
S_ETL_R_IMG_30 to S_ETL_R_IMG_39 S_ETL_R_IMG_4 S_ETL_R_IMG_40 to S_ETL_R_IMG_49 S_ETL_R_IMG_5 S_ETL_R_IMG_50 to S_ETL_R_IMG_59 S_ETL_R_IMG_6 S_ETL_R_IMG_60 to S_ETL_R_IMG_69 S_ETL_R_IMG_7 S_ETL_R_IMG_70 to S_ETL_R_IMG_79 S_ETL_R_IMG_8 S_ETL_R_IMG_80 to S_ETL_R_IMG_83 S_ETL_R_IMG_9 S_ETL_PARAM S_ETL_SRC_TABLE S_NQ_ACCT S_NQ_JOB
b c d
Select all these tables, and click Apply at the top of the screen. In the Apply Schema dialog box, under the entry Tables, select Current Query from the dropdown list. Under the subsequent entries, enter the connection parameters for the development database. (Your connection information will vary depending on your particular database platform and on the configuration of your particular database environment.) Click Apply.
e 7
Import repository objects to enable embedded Analytics. NOTE: This step is required only if are planning to use the Usage Accelerator in an integrated environment with a Siebel Business application version 7.5.3.
Analytics ERM Siebel Field Service Siebel Marketing Enterprise Siebel Channel Siebel Sales Enterprise Siebel Service Enterprise
264
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
c d e
In Siebel Tools, navigate to Repository > Import from Archive, and select the file SRW_753_77_Plus_UA.sif. Click Open. The Import WizardPreview displays a list of tables. In the Conflict Resolution area, select the option Merge the object definition from the archive file with the definition in the repository, and click Next. NOTE: Do not select the Overwrite option, because this will delete existing objects in the repository.
f 8
The Import WizardSummary screen displays a summary of the .sif changes to the repository files. Click Finish.
Recompile the SRF file. NOTE: This step is required only if are planning to use the Usage Accelerator in an integrated environment with a Siebel Business application version 7.5.3.
a b c
In Windows Explorer, navigate to \tools\objects\enu, and rename the siebel.srf file. In Siebel Tools, navigate to Tools > Compile Projects, and select the Locked Projects radio button. Under Siebel Repository, select the new SRF file you created in Step a, and click Compile. To see the Usage Accelerator screen in your application, the new SRF file must replace the siebel.srf file you were using.
Confirm the Analytics Server name to run Embedded Analytics. NOTE: This step is required only if are planning to use the Usage Accelerator in an integrated environment with a Siebel Business application version 7.5.3.
a b c d e
Log in to the Siebel application as the administrator. Navigate to Site Map > Administration - Integration > WI Symbolic URL List. In the Administration - Integration screen, from the visibility filter, select Host Administration. In the Host Administration list, locate the record Name=[AnalyticsServerName]. Change [AnalyticsServerName] to the name of the machine hosting your Analytics Server.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
26 5
Copy the appropriate seed data files: Copy seed_753_77_plus.dat seed_753_77_plus_<xxx>.inp where xxx corresponds to the database platform you are using From SiebelAnalytics\dwrep SiebelAnalytics\dwrep To Local machine Local machine
b c
Open a command line, and go to the same directory where you copied the .dat and .inp files. Replace each of the connection parameters with the values appropriate to your database environment, and then run the appropriate import command from the following table.
.
Run Import Command $SIEBELSERVERROOT\bin\dataimp /u $UserName /p $Password /c "$ODBCDataSource" /d $DatabaseOwner /f seed_753_77_plus.dat /w y /q 100 /h Log /x f /i seed_753_77_plus_db2udb.inp /l seed_753_77_plus_db2udb.log $SIEBELSERVERROOT\bin\dataimp /u $UserName /p $Password /c "$ODBCDataSource" /d $DatabaseOwner /f seed_753_77_plus.dat /w y /q 100 /h Log /x f /i seed_753_77_plus_mssql.inp /l seed_753_77_plus_mssql.log $SIEBELSERVERROOT\bin\dataimp /u $UserName /p $Password /c "$ODBCDataSource" /d $DatabaseOwner /f seed_753_77_plus.dat /w y /q 100 /h Log /x f /i seed_753_77_plus_oracle.inp /l seed_753_77_plus_oracle.log
MSSQL
Oracle
11 Associate the new Usage Accelerator responsibilities with the users whom you want to see the
Usage Accelerator screen. The Usage Accelerator responsibilities are the following:
Usage Accelerator Tracking Usage Accelerator - Sales Rep Usage Accelerator - Sales Manager Usage Accelerator - Sales Executive Usage Accelerator - Administrator
266
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
SRW_753_77_Plus_UA.sif seed_753_77_plus.dat
Import file used to control the import of the seed_inca_bridge.dat file to a particular database platform.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
26 7
268
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Siebel Business Analytics is designed to allow users to dynamically change their preferred language and locale preferences. This chapter contains the following topics on how to configure Siebel Business Analytics Applications for deployment in one or more language environments besides English: Process of Maintaining Translation Tables for Analytics on page 269 About Translating Web Catalog Strings on page 277 About Installing Siebel Business Analytics Localization Packs on page 278
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
26 9
Localizing Siebel Business Analytics Deployments Process of Maintaining Translation Tables for Analytics
270
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Localizing Siebel Business Analytics Deployments Process of Maintaining Translation Tables for Analytics
Run the import command: $INSTALLDIR\SeedData\bin\dataimp /u $UserName /p $Password /c "$ODBCDataSource" /d $DatabaseOwner /f $INSTALLDIR\SeedData\<XX>\analytics_seed_<XXX>.dat /w y /q 100 /h Log /x f /i $INSTALLDIR\SeedData\<XX>\metadata_upgrade_<XXX>_<DBPlatform>.inp /l metadata_upgrade_<XXX>.log NOTE: Replace the XX with the Siebel Business Analytics two-letter language code (_fr, _it) and the XXX with the Siebel Systems three-letter code (FRA, ITA).
When you have finished importing the Locale seed data into the OLTP database, configure database connectivity to the machine on which the Siebel Analytics Server resides. Siebel Analytics Server uses the Siebel transactional database in order to read the metadata translations. Configure the database connectivity on the Siebel Analytics Server machine to the OLTP database, so that the server can load the appropriate translations for the languages you are using. NOTE: Unicode connectivity can be used to access databases that do not support Unicode.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
27 1
Localizing Siebel Business Analytics Deployments Process of Maintaining Translation Tables for Analytics
The files used in the importing of Siebel operational application metadata and seed data are shown in Table 69.
Table 69.
Files for Importing Siebel Operational Application Metadata and Seed Data Purpose of File Set of import files used to control the import of the analytics_seed_<XXX>.dat file to a particular database platform. XXX is the Siebel Systems three-letter code. For example: FRA, ITA, DEU. Set of Siebel seed data files containing translations for all the Siebel Business Analytics metadata objects. Each file contains all the translations for a single language. These files place translation-related seed data into the S_MSG table in the Siebel transactional database. XXX is the Siebel Systems three-letter code. For example: FRA, ITA, DEU.
analytics_seed_<XXX>.dat
272
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Localizing Siebel Business Analytics Deployments Process of Maintaining Translation Tables for Analytics
Replace the symbol, format, digits and negative information in the warehouse default with the information from the currency tag you want to use as the default. For example, if you want the Japanese Yen to be the default, replace the contents of the warehouse default currency tag with the values from the Japanese currency tag (tag="loc:jaJP"): <Currency tag="loc:ja-JP" type="local" symbol="" locale="ja-JP" format="$#" digits="0"> <negative tag="minus" format="-$#" /> </Currency> When you are finished, the default warehouse currency tag for Japanese should look like the following example: <Currency tag="int:wrhs" type="international" symbol="" format="$#" digits="0" displayMessage="kmsgCurrencySiebelWarehouse"> <negative tag="minus" format="-$#" /> </Currency>
Table 70.
Example of S_MSG Translation Table MSG_TEXT Customer Satisfaction Kundenzufriedenheit Satisfao do cliente LANG_ID ENU DEU PTB
By default, the Siebel Business Analytics repository is configured to run in English only. To deploy in any other language, you must externalize the metadata strings, as described in the following procedure.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
27 3
Localizing Siebel Business Analytics Deployments Process of Maintaining Translation Tables for Analytics
From the pop-up menu, select Externalize Display Names. (A check mark appears next to this option the next time you right-click on the Presentation layer.) Unselect the Presentation layer. NOTE: When Externalize Display Names is checked, all metadata strings are read from an external Siebel transactional database, specifically from the S_MSG table.
4 5
In the Physical layer, select the Externalized Metadata Strings database icon. Expand the tree. Double-click Internal System Connection Pool. In the Connection Pool window General tab, the field Data source name should point to the Siebel operational application database.
6 7
Click OK and exit the Server Administration Tool. Restart the Siebel Analytics Server.
To check the execution order of initialization blocks in the Siebel Business Analytics repository 1 2 3 4
Stop the Siebel Analytics Server. Open SiebelAnalytics.rpd using the Server Administration Tool in offline mode. From the menu, navigate to Manage > Variables > Initialization Blocks and double-click Externalize Metadata Strings. Click the Execution Precedence tab. Make sure that the LOCALE initialization block is shown as executing before Externalize Metadata Strings.
5 6
Click OK and close Variable Manager, and exit the Server Administration Tool. Restart the Siebel Analytics Server.
274
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Localizing Siebel Business Analytics Deployments Process of Maintaining Translation Tables for Analytics
When you add custom objects to the metadata and choose to externalize these objects (by rightclicking the object and checking the Externalize Display Name option), the Siebel Analytics Server looks for the translations (including those for the native language) in the S_MSG table. If you do not externalize the display names, you do not need to perform the following procedures. NOTE: The custom Presentation layer objects show up only in the native language of the metadata (the language in which you added these new objects). The tasks for adding custom translations to S_MSG table require the use of Siebel Tools. Adding Lists of Values for Analytics Metadata on page 275 Adding String Translations for Analytics Metadata on page 276
Value Name Type Display Value Description Language-Independent Code Active Language Name
Enter (Other Applications) MESSAGE_TYPE Metadata Analytics Metadata Strings Metadata Y [check mark] [Choose deployment language]
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
27 5
Localizing Siebel Business Analytics Deployments Process of Maintaining Translation Tables for Analytics
Depending on your deployment, add a Message Facility record with the values shown in the following table. NOTE: As shown in the following table, the values are different for Financial Services and other Siebel operational applications. Enter (Siebel Financial Services Applications Only) MESSAGE_FACILITY FIN Financial Services Message Facility FIN Y [check mark] [Choose deployment language]
Value Name Type Display Value Description LanguageIndependent Code Active Language Name
Enter (Other Applications) MESSAGE_FACILITY HMF Analytics Message Facility HMF Y [check mark] [Choose deployment language]
Add a Message Level record with the values shown in the following table. Value Name Type Display Value Description Language-Independent Code Active Language Name Enter MESSAGE_LEVEL AnalyticsNew Diagnostic Message for server side programs AnalyticsNew Y [check mark] [Choose deployment language]
Obtain the Message Key from the Server Administration Tool as follows:
276
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Localizing Siebel Business Analytics Deployments About Translating Web Catalog Strings
In the Server Administration Tool, right-click on the new Presentation layer metadata object and select Properties from the menu. The Message key is displayed in the dialog box under Custom Display Name. The Message key is the part that starts with CN_. For example, double-click the Pipeline catalog folder in the Presentation layer. The Custom Display name is Valueof(NQ_SESSION.CN_Pipeline). CN_Pipeline is the Message Key.
4 5
Select your deployment language. Select the Message Type, depending on which one was added in Step 4 of the procedure in Adding Lists of Values for Analytics Metadata on page 275. Application Siebel Operational Applications Siebel Financial Services Display Value Metadata FINS_Metadata Description Analytics Metadata Strings Analytics Financial Services Metadata Strings
In the Message Text column, add the translation of the object. Check the flags (set to Yes) for the Translate and Active columns. Set the Error Message # column to 0.
Select the Message Facility, depending on which one was added in Step 5 of the procedure in Adding Lists of Values for Analytics Metadata on page 275. Application Siebel Operational Applications Siebel Financial Services Display Value HMF FIN Description Analytics Message Facility Financial Services Message Facility
8 9
Repeat Step 3 through Step 7 on page 277 for each new metadata object string. Exit Siebel Tools, the Server Administration Tool, and restart the Siebel Analytics Server.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
27 7
Localizing Siebel Business Analytics Deployments About Installing Siebel Business Analytics Localization Packs
278
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
This appendix describes the additional configuration steps required for you to run a Siebel Business Analytics application with a Siebel CRM (operational) application. TIP: See Siebel Business Analytics Server Administration Guide before performing any of the tasks in this section. The integration of Siebel Business Analytics with a Siebel operational application involves two general processes: Importing Siebel Industry Applications Seed Data on page 280 Completing the Initialization in the Siebel Operational Application on page 281
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
27 9
Integrating Analytics Dashboards and Operational Applications Data Importing Siebel Industry Applications Seed Data
2 3
280
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Integrating Analytics Dashboards and Operational Applications Data Completing the Initialization in the Siebel Operational Application
Updating the Siebel Operational Application on page 281 Reapplying Customized Style Sheets on page 282 Process of Configuring Siebel Business Analytics with Siebel Web Extension (SWE) on page 283
Creating a Virtual IP Address for the SWE and Analytics Web on page 284 Testing the Virtual IP Configuration for Siebel Business Analytics and the SWE on page 284
Configuring Action Links Containing Single Quotation Marks on page 285 Testing Analytics Action Links on page 286
Customizing the operational application home page, dashboards, or content, or add views to a dashboard. See the following topics:
Accessing Optional Analytics Applications on page 286 Configuring the Browser Settings for Operational Applications on page 288
Process of Customizing Analytics Application Home Page and Dashboards on page 288
Customizing Analytics Content on the Siebel Operational Application Home Page on page 289 Determining the Analytics Report Path Argument on page 290 Adding Views for Custom Analytics Dashboards on page 290 Verifying NQHOST Setup for Pharma Mobile Analytics Client on page 291 Integrating the Pharma Application Home Page with the Pharma Mobile Analytics Client on page 293 Importing Pharma Application Target Lists to the Pharma Mobile Analytics Client on page 294
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
28 1
Integrating Analytics Dashboards and Operational Applications Data Completing the Initialization in the Siebel Operational Application
In Windows, change the host name from <AnalyticsServerName> to the host name of the machine that runs Analytics Web. In AIX or Solaris, change the host name from <AnalyticsServerName> to the name of the port. For example, servername.siebel.com:8080
NOTE: The following additional information is applicable only to UNIX platforms. You may need to add the domain name suffix to the server name in order to make sure that action links work on the Siebel Business Analytics user interface.
These new classes are identified in the style sheets. In this version of Siebel Business Analytics, new styles and files must be added to the underlying style sheet (for example, to s_Siebel7). For complete functionality, any custom styles require similar updating. In addition, views2.css and some other files have been have been added to the s_ directory. For custom column formatting to work properly, references to font sizes and families should also be removed from the td styles in PortalBanner.css, PortalContent.css, Views.css. Because of these changes to styles, review your deployments customizations manually, reapply them, and test them thoroughly to ensure that there are no problems. After you have tested them, but before you copy the default views.css files back to the implementation server, perform the following task on the server to clear the server caches.
282
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Integrating Analytics Dashboards and Operational Applications Data Completing the Initialization in the Siebel Operational Application
Remove your custom views.css from the directory where it has been installed. For example: $INSTALL\Web\App\Res\s_Siebel7\b_mozilla_4 or $INSTALL\SiebelAnalyticsData\Web.
3 4
Clear Analytics Web Server Cache. In the C:\WINNT\Temp directory, delete the nQs_*.temp files. Clear the Browser Cache. From the Internet Explorer menu, navigate to Tools > Internet Options > Settings > View Files, and delete all the files in these folder.
5 6
Restore the default views.css files to the appropriate folder. Restart the Analytics Server, Analytics Web and IIS.
Process of Configuring Siebel Business Analytics with Siebel Web Extension (SWE)
Whenever you run Siebel Business Analytics and Siebel Web Extension (SWE) on separate machines, you must perform additional configuration steps in order for action links and interactive charts to work. If, for example, you plan to run the SWE and Siebel Business Analytics Web on different Web servers, you must use some kind of networking or load balancing mechanism to create a single logical domain (or virtual IP address) for the two machines. CAUTION: When Analytics Web Server and Siebel Web Server are installed on different machines and load balancing software is used to create a single virtual IP address, the action links feature works only if you log onto the Siebel application using a virtual Web browser. Action links fail on a dedicated client if the SWE and Analytics Web servers are on separate machines. Either use a virtual Web browser, or install the Analytics Web Server and Siebel Web Server on the same machine. When one virtual IP address is created for two machines, the Web browser accesses one IP address and is still routed to different physical machines, based on the port accessed. From the browser, it appears that both servers are running on the same IP address. You can use any of several physical methods to create a single logical domain, such as running SWE and Siebel Business Analytics Web on a single machine if you are not load balancing the SWE, or using a router to do the mapping, or using load balancing software. Your company must determine the best mechanism to accomplish this routing given the topology being used. Configuring Siebel Business Analytics to work with Siebel Web Extension includes the following tasks: Creating a Virtual IP Address for the SWE and Analytics Web on page 284 Testing the Virtual IP Configuration for Siebel Business Analytics and the SWE on page 284
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
28 3
Integrating Analytics Dashboards and Operational Applications Data Completing the Initialization in the Siebel Operational Application
To create a virtual IP address for Siebel Web Engine and Analytics Web 1
On the network, set up CSS to direct requests from <virtual domain> to <physical Siebel Web Server Extension machine>:
Where the acronym CSS represents the load-balancer or router used to do the virtual IP configuration. Where <virtual domain> is the virtual IP prefix that users enter to navigate to the Siebel applications (in the preceding example, this is http://siebel.company.com).
2 3
On the network, set up CSS to direct requests from <virtual domain>:84 to <physical Analytics Web machine>:84. In the Siebel application, using the Siebel Administration screen, set the NQHost parameters for Siebel Business Analytics Symbolic URLs to point to the <virtual domain>:84, instead of directly to the Siebel Business Analytics Web server physical machine. NOTE: If you are running Siebel Business Analytics 7.5.3 instead of version 7.7 or later, perform the following additional step.
4 5
In the Siebel application on the Siebel Business Analytics Web machine, locate the registry setting ...\SOFTWARE\Siebel Systems, Inc.\Siebel Analytics\Web\7.5\Charts. Add a new key, ForceFileBasedPainter, and enter TRUE into the Data string.
Testing the Virtual IP Configuration for Siebel Business Analytics and the SWE
This task is part of the Process of Configuring Siebel Business Analytics with Siebel Web Extension (SWE).
284
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Integrating Analytics Dashboards and Operational Applications Data Completing the Initialization in the Siebel Operational Application
Use a client browser to verify that Siebel Business Analytics and SWE work when accessed directly through a physical machine address, using the following procedure. For <virtualdomain>, substitute the Virtual IP address you created in Creating a Virtual IP Address for the SWE and Analytics Web on page 284.
To test the Virtual IP configuration with Siebel Business Analytics and SWE 1 2 3 4
In a client browser, type <virtual domain>:84/analytics. The Siebel Business Analytics logon appears. In a client browser, type <virtual domain>/callcenter (or other Siebel application). The SWE appears. Navigate to an Analytics screen within the Siebel application to see if Siebel Business Analytics appears. Interact with Siebel Business Analytics charts and action links.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
28 5
Integrating Analytics Dashboards and Operational Applications Data Completing the Initialization in the Siebel Operational Application
This example works when a view name does not contain any single quotation marks. However, many important Siebel views do contain quotation marks in their names. Simply pasting the view name with the quotation mark results in an error because the Siebel Web Engine cannot interpret the NQSWENav command: <a href=\"javascript:NQSWENav('Managers Account List View','Account List Applet','"@"'); \">"@" </a> To prevent this problem, use the escape character (or backslash) to reference the single quotation mark in JavaScript. For any single quotation mark, insert two back slashes before the quote, and the Siebel Web Engine is able to process the request correctly. For example: <a href=\"javascript:NQSWENav('Manager\\s Account List View','Account List Applet','"@"');\">"@" </a>
Now click any ROW_ID action link. You should be in the Employee screen in Siebel Call Center.
286
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Integrating Analytics Dashboards and Operational Applications Data Completing the Initialization in the Siebel Operational Application
Depending on the options you purchased with your Siebel operational application, you must perform additional steps in order to access the corresponding Siebel Business Analytics options. Table 71 shows the additional options for Siebel Business Analytics.
Table 71.
Siebel Business Analytics Applications Options Options Forecasting, Incentive Compensation Universal Queuing, Email Response, Agreements Partner Marketing, Partner ERM, Partner ISS
By default, the dashboards and reports contained in these optional areas are hidden. If, for example, you purchased Sales Incentive Compensation with your Siebel Sales application, you must perform the additional steps shown in the following procedure to access the Incentive Compensation Analytics.
4 5 6 7
Click on the Edit icon. Under the Group Membership section, click the delete icon (X) to delete Analytics Users from this group. Click Finished and log out of the application. Log in again to access the additional optional dashboards and reports.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
28 7
Integrating Analytics Dashboards and Operational Applications Data Completing the Initialization in the Siebel Operational Application
288
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Integrating Analytics Dashboards and Operational Applications Data Completing the Initialization in the Siebel Operational Application
In the URL field, enter the Web URL. For example: http://NQHOST/Analytics/saw.dll For the Host Name, choose the Analytics Server Name from the drop-down list. The following table shows the other parameters for reports. Parameter NQHOST Fixup Name SSO Disposition Analytics Web application name Value A virtual name in the URL that points to the Analytics Web machine Inside Applet Inline Select from the drop-down list
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
28 9
Integrating Analytics Dashboards and Operational Applications Data Completing the Initialization in the Siebel Operational Application
Create the appropriate symbolic URL Arguments. These arguments depend upon the particular Analytics report that you are trying to display. The Argument Values should be the same for any Analytics report you work with, except for the Path Argument Value. Use the procedure in Determining the Analytics Report Path Argument on page 290 to determine the path to the Analytics report.
290
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Integrating Analytics Dashboards and Operational Applications Data Completing the Initialization in the Siebel Operational Application
a b 2 a b c
Navigate to Site Map > Integration Administration > Symbolic URL Administration. In the Symbolic URL Administration view, add a new record.
Define Symbolic URL arguments. Navigate to Symbolic URL Administration. In the Symbolic URL Administration list, select the Symbolic URL you want to configure. In the Symbolic URL Arguments list, enter the arguments that need to be sent to the external host. The following table shows the symbolic URL argument definitions for dashboards . Parameter Fixup Name SSO Disposition Analytics Web application name Value Default IFrame Select from the drop-down list.
The following table shows the symbolic URL path arguments for dashboards . Name Cmd PortalPath nQUser nQPassword PostRequest Type Constant Constant Command Command Command Value PortalPages /shared/Executive/_Portal/ Executive UseSiebelLoginId UseSiebelLoginPassword PostRequest Append Y Y Y Y Y Sequence # 1 2 3 4 5
In Siebel Business Analytics, create the dashboards. NOTE: Only an Analytics Web administrator can perform this step.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
29 1
Integrating Analytics Dashboards and Operational Applications Data Completing the Initialization in the Siebel Operational Application
Pharma Mobile Analytics is a prebuilt Mobile Analytics application for Siebel Pharma Sales. When you run Siebel Pharma Mobile Analytics Client, your client application runs against a local instance of the database on your machine. You need to confirm that NQHOST is using the correct port number and DLL files to work with the Pharma Mobile Analytics Client.
3 4
Navigate to Administration Integration. Click WI Symbolic URL List, and search for NQHOST in Virtual Name field. The Host Name value should be localhost:9762.
Select the Host Administration View from the drop-down list and choose Symbolic URL Administration.
292
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Integrating Analytics Dashboards and Operational Applications Data Completing the Initialization in the Siebel Operational Application
The following table shows Mobile Client symbolic URLs to search for. For each of the URLs, the URL field is: http://NQHOST/Analytics/sawd.dll Mobile Client Symbolic URL Name ePharmaHomePageAnalytics1 ePharmaHomePageAnalytics2 ePharmaHomePageAnalytics3 ePharmaHomePageAnalytics4 SISMLSDistrictManagerDashboard1 SISMLSSalesRepDashboard1 SiebelAnswers SiebelDelivers The following table shows the symbolic URL path arguments for SiebelAnswers and SiebelDelivers. Name Cmd Type Constant Path Argument Value Answers for SiebelAnswers Delivers for SiebelDelivers nQUser nQPassword Command Command UseSiebelLoginId UseSiebelLoginPassword Y Y 2 3 Append Y Sequence # 1
Integrating the Pharma Application Home Page with the Pharma Mobile Analytics Client
This task is part of the Process of Customizing Analytics Application Home Page and Dashboards. If you have licensed both the Siebel Pharma operational application and Siebel Pharma Mobile Analytics Client, you must change part of the operational application configuration file in order to access Analytics reports on the LS Analytics Home Page and to allow Create Target List integration.
To allow integration of Pharma Analytics Home Page with Pharma Mobile Analytics 1 2 3
On the machine where you have installed the Siebel operational application, navigate to $INSTALLDIR\sea77\siebsrvr\BIN\ENU\epharma.cfg. Using a text editor, open the file epharma.cfg. In the Local section, find the parameter UseCachedExternalContent.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
29 3
Integrating Analytics Dashboards and Operational Applications Data Completing the Initialization in the Siebel Operational Application
The default value for this parameter is TRUE. NOTE: If this parameter remains set to TRUE, Analytics reports on the Home Page return an error.
Set the UseCachedExternalContent parameter to FALSE. Save and close the file.
Importing Pharma Application Target Lists to the Pharma Mobile Analytics Client
This task is part of the Process of Customizing Analytics Application Home Page and Dashboards. If you have licensed both the Siebel Pharma operational application and Siebel Pharma Mobile Analytics Client, you must change part of the operational application configuration file in order to allow you to import the contacts from the Pharma Analytics Create Target List function into the Mobile Analytics Client.
To allow importation of Target List contacts into Siebel Pharma Mobile Analytics Client 1 2 3 4
On the machine where you have installed the Siebel operational application, navigate to $INSTALLDIR\sea77\siebsrvr\BIN\ENU\epharma.cfg. Using a text editor, open the file epharma.cfg. In the Siebel Client section, find the parameter EnableFQDN. The default value for this parameter is TRUE. NOTE: If this parameter remains set to TRUE, the Create Target List functionality is disabled in the Pharma Mobile Analytics Client.
5 6
Set the EnableFQDN parameter to FALSE. Save and close the file.
294
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
This appendix gives an overview of the configuration of data-level and object-level security groups for areas within Siebel Business Analytics applications integrated with Siebel CRM (operational) applications components. The specific processes for configuring Siebel Business Analytics repositories and Siebel Business Analytics Web Catalogs are described in the Siebel Analytics Server Administration Guide and the Siebel Analytics Web Administration Guide, respectively. NOTE: This subject assumes you are familiar with Security Guide for Siebel Business Applications (on the Siebel Bookshelf), especially the topics on user authentication, basic access control, and data-level security. This appendix includes the following main topics: Types of Security in Analytics on page 295 Data-Level Security in Analytics Applications on page 300 Implementing Data-Level Security in the Analytics Application Repository on page 302 Initialization Blocks and Security-Related Information in Analytics on page 302 Filters for Analytics Security Groups on page 303 Configuring Analytics Repository Table Joins for Security on page 303 Position and Organization Initialization Variables in Analytics Applications on page 304 Responsibilities and Data-Level Visibility in Sales Analytics Applications on page 305 Responsibilities and Data-Level Visibility in Workforce Analytics Applications on page 307 Changing the Security Group from Position-Based to Organization-Based in Analytics on page 309 Metadata Object-Level Security in Analytics Applications on page 309 Siebel Partner Relationship Management Analytics Security Settings on page 311 Consumer Sector Analytics Security Settings on page 318 Communications, Media, and Energy (CME) Analytics Security Settings on page 319 Financial Services Analytics Security Settings on page 320 Pharma Sales Analytics Security Settings on page 322 Usage Accelerator Analytics Security Settings on page 324
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
29 5
Object-level security
Siebel Business Analytics applications security is based on Responsibilities and Siebel Business Analytics repository groups. A Repository group and a Web Catalog group are created for each Siebel Business Analytics-specific responsibility defined in the Siebel operational application. The group names are exactly the same as the responsibility name. In the Siebel operational application, you assign users to the appropriate Analytics responsibilities, and the membership is automatically be reflected in the repository as well as the Web Catalog. The user inherits the appropriate permissions from the responsibilities. NOTE: Users are always created in the Siebel operational application database, never in the Siebel Business Analytics repository.
296
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
The group Siebel Administrator is set up as a member of the supergroup Administrators, so members of this group have no restrictions.
Table 72.
Siebel Analytics Applications Preconfigured Responsibilities Responsibility Sales Analytics Administrator VP of Sales Analytics Sales Manager Analytics Sales Representative Analytics
Application Sales
Marketing
Interactive Selling
Service
Service Analytics VP Service Analytics Manager Service Analytics Administrator Service Analytics Service User Service Analytics Call Center User Service Analytics eMail User
Partner
Partner Service Rep Analytics User Partner Sales Rep Analytics User Partner Executive Analytics User Partner Operations Analytics User Partner Sales Manager Analytics User Partner Service Manager Analytics User Channel Accounts Manager Analytics User Channel Executive Analytics User Channel Operations Analytics User Channel Marketing Manager Analytics User
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
29 7
Table 72.
Siebel Analytics Applications Preconfigured Responsibilities Responsibility ERM Analytics VP ERM Analytics Manager ERM Analytics HelpDesk Agent ERM Analytics HelpDesk ERM Analytics User ERM Analytics HR Executive Analytics User Executive Analytics Administrator
CM Marketing Analytics User CM Marketing Analytics Administrator CM Sales Analytics User CM Sales Analytics Administrator CM Service Analytics User CM Service Analytics Administrator
Financial Services
Finance Analytics User Insurance Analytics User Financial Services Analytics User
Consumer Goods
CS Analytics VP Sales CS Analytics Key Account Manager CG Sales Analytics User CG Sales Analytics Administrator
298
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Table 72.
Siebel Analytics Applications Preconfigured Responsibilities Responsibility LS Administrator PH US Sales Analytics User PH EMEA Sales Analytics User PH Sales Analytics Administrator PH US Marketing Analytics User PH EMEA Marketing Analytics User PH Marketing Analytics Administrator PH Mobile Analytics User PH Mobile Analytics Admin PH Medical Education Analytics User PH Medical Education Analytics Admin PH US Call Activity Analytics User PH EMEA Call Activity Analytics User PH Call Activity Analytics Admin PH US Executive Analytics User PH EMEA Executive Analytics User PH Executive Analytics Admin
Automotive
AT Service Analytics User AT Service Analytics Administrator AT Sales Analytics User AT Sales Analytics Administrator AT Partner Analytics User AT Partner Analytics Administrator
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
29 9
Table 72.
Siebel Analytics Applications Preconfigured Responsibilities Responsibility Usage Accelerator Administrator Usage Accelerator Sales Executive Usage Accelerator Sales Manager Usage Accelerator Sales Rep
NOTE: The Usage Accelerator Tracking responsibility is not visible in Siebel Business Analytics. The Administrator must associate this responsibility with each user to be tracked, in the transactional database.
Usage Accelerator FINS Administrator Usage Accelerator FINS Sales Executive Usage Accelerator FINS Sales Manager Usage Accelerator FINS Sales Rep Usage Accelerator Tracking (transactional database)
300
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
The process of configuring data-level security is described in the topic Implementing Data-Level Security in the Analytics Application Repository on page 302.
Table 73.
Dimensions Secured Accounts Activities Assets Campaigns Claims (Financial Services & Life Sciences) Contacts Employee (transactional database) Revenue Fact Closed Revenue Opportunity Revenue Expected Revenue Funds (Through Accts) (Consumer Goods) Promotions (Through Accts) (Consumer Goods) Holdings (Financial Services & Life Sciences) Households Opportunity Orders Organization (transactional database) Programs Quotes Responses Review Or Objective (transactional database) Segment Service Requests W_ACT_PROD_F (Financial Services & Life Sciences) W_MED_ED_F (Financial Services & Life Sciences) W_OBJECTIVE_F (Financial Services & Life Sciences)
Primary Owner
Primary Position X
Organization X
X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
30 1
Integrated Security for Analytics Applications Implementing Data-Level Security in the Analytics Application Repository
Table 73.
Dimensions Secured W_PER_RANK_F (Financial Services & Life Sciences) W_SYND_DATA_F (Financial Services & Life Sciences) W_SYND_MKT_F (Financial Services & Life Sciences)
Primary Owner
Primary Position X X X
Organization
Set up initialization blocks that obtain specific security-related information when a user logs in for example, the user's primary position ID. See the topic Initialization Blocks and Security-Related Information in Analytics on page 302.
Set up the filters for each security group on each logical table that needs to be secured. See the topic Filters for Analytics Security Groups on page 303.
Set up the joins to the appropriate security tables in the metadata physical and logical layers. See the topic Configuring Analytics Repository Table Joins for Security on page 303.
302
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Integrated Security for Analytics Applications Filters for Analytics Security Groups
Orgs for Org-based Security This initialization block obtains the list of organizations that a given user belongs to from the Siebel transactional database. The variable populated is ORGANIZATION.
Table 73 on page 301 shows the logical tables (dimensions) and the kind of security applied to those tables. An example of how the Opportunity Dimension may be configured is: W_PARTY_LOGIN (W_OPTY_D).PARTY_ID = W_OPTY_D.VIS_PR_POS_ID W_PARTY_LOGIN is the security table that stores recursive information about a given users login and the parties (positions and organizations, employees) that report to the user through a hierarchical reporting mechanism. There is an alias setup on W_PARTY_LOGIN for each join with a dimension.
Configure the filter on the logical tables that restrict the data.
To set up a filter, right-click the group and choose Properties. In the Properties dialog box, click the Permissions box and select the Filter tab.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
30 3
Integrated Security for Analytics Applications Position and Organization Initialization Variables in Analytics Applications
To add a new filter, click on the ellipsis box and find the business model layer table that needs to be secured. Configure the WHERE clause on the table so that the data is filtered.
Creating a Row-Wise Initialized Variable Combining All User Positions and Organizations
You can create a similar variable that is a union of all the positions and organizations that the user has access to. There are two methods for creating a union variable, as shown below.
Creating a row-wise initialized union variable using the W_PARTY_LOGIN table in the data warehouse
Create an additional join between W_PARTY_LOGIN and W_[DimensionName]_PARTY instead of using the row-wise initialization. In the case of Opportunities, for example, set up the joins as shown: W_PARTY_LOGIN.LOGIN = valueof(NQ_SESSION.USER) W_OPTY_PARTY.PARTY_ID = W_PARTY_LOGIN.PARTY_ID W_OPTY_PARTY.OPTY_ID = W_OPTY_ID.ROW_ID These two joins have the same effect as the row-wise initialization variable solution, but contain an additional table join.
304
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Integrated Security for Analytics Applications Responsibilities and Data-Level Visibility in Sales Analytics Applications
Creating a row-wise initialized union variable by getting this variable directly from the Siebel transactional database for a real-time list
For each user login, the W_PARTY_LOGIN table uses a recursive list of all positions and organizations. The logical equivalent of this setup is: W_PARTY_LOGIN.PARTY_ID = valueof(NQ_SESSION.POSTN_ORG_UNION) W_OPTY_PARTY.PARTY_ID = W_PARTY_LOGIN.PARTY_ID W_OPTY_PARTY.OPTY_ID = W_OPTY_ID.ROW_ID For more information about the Siebel data model and security, see Siebel Data Warehouse Data Model Reference and Siebel Data Warehouse Data Model Reference for Industry Applications.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
30 5
Integrated Security for Analytics Applications Responsibilities and Data-Level Visibility in Sales Analytics Applications
For a description of data-level security, see Types of Security in Analytics on page 295 and Security Guide for Siebel Business Applications.
Table 74.
Siebel Sales Analytics Default Data-Level Visibility Subject Area All Forecasting Default Visibility No data-level security is imposed. In addition to the Order, Opportunity, and Forecast dimensions, primary position data-level security is imposed on all facts. This means that these subject areas are visible to the user only for data owned by the user (or the users subordinates). Primary position data-level security is imposed on: Order dimension Opportunity dimension Account dimension Opportunity Revenue, Expected Revenue, and Closed Revenue metrics Number of Orders Line Item Order Revenue (000) Line Item Shipped Revenue (000) Order Item Revenue Rollup Total Order Revenue (000) Rollup Average Order Size Total Order Revenue Total Order Revenue (000) Total Shipped Revenue Total Shipped Revenue (000) metrics
Responsibility VP of Sales Analytics Sales Manager Analytics Field Sales Representative Analytics
306
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Integrated Security for Analytics Applications Responsibilities and Data-Level Visibility in Workforce Analytics Applications
Table 74.
Siebel Sales Analytics Default Data-Level Visibility Subject Area All Default Visibility No specific data-level security.
Responsibility TeleMarketing Manager TeleMarketing Representative TeleSales Representative Direct Order Entry Agent
All
No specific data-level security. However, the primary-position security used for Sales Managers and Representatives can be used for the TeleSales Representative and Direct Order Entry Agent responsibilities as well. Note that the security model for the TeleMarketing Representative and Manager responsibilities must differ from that used for Sales Managers and Representatives. The security model is based on the CREATED_BY column in the Opportunity data model and not on the primary owner of the opportunity.
To extend these data-level visibility restrictions to other metrics and dimensions, see Table 73 on page 301 and use the metrics and dimensions in Table 74 on page 306 as examples.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
30 7
Integrated Security for Analytics Applications Responsibilities and Data-Level Visibility in Workforce Analytics Applications
Table 75 also outlines the symbolic URL names for Workforce Analytics.
Table 75.
Siebel Responsibilities for Workforce Analytics View Name SSO ERM Dashboard View SSO Symbolic URL Name SSO ERM Executive Dashboard Dashboard Name Employee Performance Viewable Pages Organization al Overview Team Status Training Performance Management My Performance Subject Areas Workforce Summary Workforce Training Workforce Performance
Employee Performance
Employee Performance
My Performance
ERM Analytics HR
308
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Integrated Security for Analytics Applications Changing the Security Group from Position-Based to Organization-Based in Analytics
Table 75.
Siebel Responsibilities for Workforce Analytics View Name SSO ERM HelpDesk Dashboard View SSO Symbolic URL Name SSO ERM HelpDesk View Dashboard Name HelpDesk Analytics Viewable Pages Overview Staff Performance SSO ERM HelpDesk View HelpDesk Analytics Agent Performance Service Request Subject Areas Service Request
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
30 9
Integrated Security for Analytics Applications Metadata Object-Level Security in Analytics Applications
Metadata object security is configured in the Analytics repository (SiebelAnalytics.rpd) using the Server Administration Tool. The User Group Everyone is denied access to each of the subject areas. Each subject area is configured to give explicit read access to selected related responsibilities. This access can be extended to table and column level. For more information on object level security, see Siebel Analytics Server Administration Guide. NOTE: In the shipped product, only permissions at the subject area level have been configured.
Table 76.
Repository Parent Groups Permissions Inherited by All Financial applications groups All Insurance applications groups All Communications applications Consumer Sector groups Life Sciences/Pharmaceuticals applications groups
310
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Integrated Security for Analytics Applications Siebel Partner Relationship Management Analytics Security Settings
Table 76.
Repository Parent Groups Permissions Inherited by All Channel applications groups All Partner application groups
If users have access to a view in the Siebel operational application, but do not have access to the corresponding dashboard, then they receive an error message indicating that they do not have access to the dashboard. If users try to access a dashboard containing reports based on a subject area to which they do not have access, they see a dashboard with no reports.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
31 1
Integrated Security for Analytics Applications Siebel Partner Relationship Management Analytics Security Settings
Siebel PRM Analytics incorporates the concept of role-based analytics. Role-based analytics provides brand owners the ability to display dashboards and pages to users based on their specific roles. For example, a sales manager would have the ability to view dashboards related to pipeline and sales effectiveness, whereas the marketing manager would have the ability to view dashboards related to campaigns. Siebel PRM Analytics also includes flexible security mechanisms to control access to subject areas and to data. The Analytics roles map to Siebel Responsibilities in the Siebel operational application. This topic describes the roles and associated dashboards and pages for both partner Manager and Partner Portal applications. It also includes subject area and data-level security settings for responsibilities.
Table 77.
Siebel Responsibilities for PRM Analytics Dashboard Channel Customers Channel Customers Channel Sales Channel Sales Channel Service Channel Service Channel Training Page Tab Name Overview Sales Products Sales Products Service Training Profile Customer Profile Customer Satisfaction Pipeline Product Program Revenue Service Channel Mix Partner Territory Partner Tier Partner Type
Channel Customers Channel Executive Channel Executive Channel Executive Channel Executive Channel Executive Channel Executive Channel Segmentation Channel Segmentation Channel Segmentation Channel Segmentation
312
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Integrated Security for Analytics Applications Siebel Partner Relationship Management Analytics Security Settings
Table 77.
Siebel Responsibilities for PRM Analytics Dashboard Channel Customers Channel Customers Customer Marketing Customer Marketing Customer Marketing Page Tab Name Overview Sales Effectiveness Responses ROI Orders Overview Quotes Products Overview Sales Service Effectiveness Overview Margins Pipeline Revenue Sales Cycle Wins Partner Territory Partner Tier Partner Type Customer Satisfaction Overview Products Resolution Time Service Requests Overview Performance
Channel Commerce Channel Commerce Channel Commerce Channel Commerce Channel Customers Channel Customers Channel Customers Channel Marketing Channel Marketing Channel Sales Channel Sales Channel Sales Channel Sales Channel Sales Channel Segmentation Channel Segmentation Channel Segmentation Channel Service Channel Service Channel Service Channel Service Channel Service Channel Training Channel Training
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
31 3
Integrated Security for Analytics Applications Siebel Partner Relationship Management Analytics Security Settings
Table 78.
Responsibilities for PRM Partner Portal Analytics Dashboard Partner Executive Partner Executive Partner Executive Partner Executive Page Tab Name Pipeline Products Sales Effectiveness Service Overview Products Overview ROI Pipeline Revenue Customer Sat Overview Service Requests Training Orders Overview Quotes Pipeline Revenue Subordinates Subordinates
Partner Commerce Partner Commerce Partner Marketing Partner Marketing Partner Sales Partner Sales Partner Service Partner Service Partner Service Partner Training
Partner Commerce Partner Commerce Partner Commerce Partner Sales Partner Sales Partner Sales Partner Training
314
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Integrated Security for Analytics Applications Siebel Partner Relationship Management Analytics Security Settings
Table 78.
Responsibilities for PRM Partner Portal Analytics Dashboard Partner Commerce Partner Commerce Partner Commerce Partner Sales Partner Sales Partner Sales Partner Training Page Tab Name Orders Overview Quotes Pipeline Revenue Subordinates Subordinates Customer Sat Overview Service Requests Subordinates Subordinates Overview Service Requests Subordinates Subordinates
Partner Service Partner Service Partner Service Partner Service Partner Training
Table 79.
Responsibilities for PRM Partner Manager Analytics Channel Executive Analytics User X X X Channel Operations Analytics User X X X Channel Account Manager Analytics User X X X X Channel Marketing Manager Analytics User X
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
31 5
Integrated Security for Analytics Applications Siebel Partner Relationship Management Analytics Security Settings
Table 79.
Responsibilities for PRM Partner Manager Analytics Channel Executive Analytics User X X X X X X X X X Channel Operations Analytics User X X X X X X X X X Channel Account Manager Analytics User X X X X X X X X X X X X X X X Channel Marketing Manager Analytics User X
Subject Area Consumers Customer Satisfaction Customers Orders Partner Training Partners Pipeline Pricing Products Real-Time Activity Real-Time Assets Service Requests
Table 80.
Subject Area Visibility for PRM Partner Portal Partner Executive Analytics User X X X X X X Partner Operations Manager Analytics User X X X X X X X X X X X X Partner Sales Manager Analytics User X Partner Sales Rep Analytics User X Partner Service Manager Analytics User X X Partner Service Rep Analytics User X X
316
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Integrated Security for Analytics Applications Siebel Partner Relationship Management Analytics Security Settings
Table 80.
Subject Area Visibility for PRM Partner Portal Partner Executive Analytics User X X X X Partner Operations Manager Analytics User X X X X X X Partner Sales Manager Analytics User X X Partner Sales Rep Analytics User X X Partner Service Manager Analytics User X X Partner Service Rep Analytics User X X
Subject Area Orders Partner Training Partners Pipeline Pricing Products Real-Time Activity Real-Time Assets Service Requests
Table 81.
Responsibility Channel Executive Analytics User Channel Operations Analytics User Channel Account Manager Analytics User Channel Marketing Manager Analytics User
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
31 7
Integrated Security for Analytics Applications Consumer Sector Analytics Security Settings
Table 81.
Siebel PRM Data-Level Security Settings DataLevel Security Yes Yes Yes Yes Yes
Responsibility Partner Executive Analytics User Partner Sales Manager Analytics User Partner Sales Rep Analytics User Partner Service Manager Analytics User Partner Service Rep Analytics User
Comments Displayed records should match organization of the user. Displayed records should match organization of the user. Displayed records should match position of the user. Displayed records should match organization of the user. Displayed records should match position of the user.
318
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Integrated Security for Analytics Applications Communications, Media, and Energy (CME) Analytics Security Settings
Table 83.
CME Responsibilities Associated with Each CME Dashboard CME Responsibility CM Marketing Analytics User CM Marketing Analytics Administrator CME Dashboard Loyalty Management Dashboard Pages Customer Lifetime Value Churn Propensity Selling Propensity Financial Risk Actual Churn Sales Portal Service Activations Service Modifications Service Disconnections Sales Portal Service Activations Service Modifications Service Disconnections Trouble Tickets Customer Satisfaction
Sales Analytics
Revenue Management
Account Management
Service Analytics
Account Management
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
31 9
Integrated Security for Analytics Applications Financial Services Analytics Security Settings
320
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Integrated Security for Analytics Applications Financial Services Analytics Security Settings
Inheritance is used to let permissions ripple through to child groups. The parent groups for Financial Services and their purpose are shown in Table 84. NOTE: A Financial Services Analytics user is provided as a child to both Finance and Insurance. Therefore this user has permissions available to both Finance and Insurance. If you have purchased both Finance Analytics and Insurance Analytics, you should use the Financial Services Analytics user responsibilities to view all relevant dashboards. Table 84 shows the additional responsibilities, and responsibility-specific security in Siebel Finance Analytics, Insurance Analytics, and Healthcare Analytics. If you are also deploying Usage Accelerator, Financial Services-specific Usage Accelerator responsibilities are shown in Table 86 on page 324.
Table 84.
Financial Services Responsibility Required to View FS Dashboards Dashboards Credit Credit Card Private Banking Consumer Banking Corporate and Commercial Banking Investment Holdings Separate Account Management Wealth Management Institutional Sales Investment Banking Finance Marketing Finance Executive
Policy Sales Policy Service Insurance Marketing Insurance Executive Insurance Claims Health Plan Sales Health Plan Service Health Plan Marketing Health Plan Executive Insurance Agents / Partners
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
32 1
Integrated Security for Analytics Applications Pharma Sales Analytics Security Settings
Table 85.
Pharma Analytics Responsibilities and Functions Use Administrator privileges to all options on Pharma Analytics. Administrator privileges to Call Activity Analytics option. Enables brick-based metrics to be used in the Web Catalog for Pharma subject areas. Note that in the 7.7 Analytics Release, all report columns use position-based hierarchies, where in earlier releases, report columns used alignment-based sales hierarchies. All brick-based alignment pages have been removed from the reports. Therefore, if you want to use brick-based position hierarchies, you must reconfigure the reports to maintain the alternate hierarchy.
Responsibility LS Administrator PH Call Activity Analytics Admin PH EMEA Call Activity Analytics User
Enables brick-based metrics to be used in the Web Catalog for Pharma subject areas. Note that in the 7.7 Analytics Release, all report columns use position-based hierarchies, where in earlier releases, report columns used alignment-based sales hierarchies. All brick-based alignment pages have been removed from the reports. Therefore, if you want to use brick-based position hierarchies, you must reconfigure the reports to maintain the alternate hierarchy.
322
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Integrated Security for Analytics Applications Pharma Sales Analytics Security Settings
Table 85.
Pharma Analytics Responsibilities and Functions Use Enables brick-based metrics to be used in the Web Catalog for Pharma subject areas. Note that in the 7.7 Analytics Release, all report columns use position-based hierarchies, where in earlier releases, report columns used alignment-based sales hierarchies. All brick-based alignment pages have been removed from the reports. Therefore, if you want to use brick-based position hierarchies, you must reconfigure the reports to maintain the alternate hierarchy.
Enables brick-based metrics to be used in the Web Catalog for Pharma subject areas. Note that in the 7.7 Analytics Release, all report columns use position-based hierarchies, where in earlier releases, report columns used alignment-based sales hierarchies. All brick-based alignment pages have been removed from the reports. Therefore, if you want to use brick-based position hierarchies, you must reconfigure the reports to maintain the alternate hierarchy.
PH Executive Analytics Admin PH Marketing Analytics Administrator PH Medical Education Analytics Admin PH Medical Education Analytics User PH Mobile Analytics Admin PH Mobile Analytics User PH Mobile Manager Analytics Admin PH Mobile Manager Analytics User PH Sales Analytics Administrator
Unrestricted access to all Pharma Analytics options with ZIP territories. Administrator privileges to Pharma ROI, Call Activity Profit & Loss Report, Pharma Promotional Effectiveness Subject Area, and Medical Education Effectiveness Subject Area. Administrator privileges to Medical Education Analytics option. Enables access to Medical Education Analytics option. Administrator privileges to the PH Mobile Manager Analytics User and Sales Rep Analytics Dashboards. Enables the Pharma Mobile Analytics Home Page. Allows access to Sales Rep Dashboard as part of the Sales Rep Analytics option. Administrator privilege to the PH Mobile Manager Analytics User and District Manager Analytics Dashboards. Enables the Pharma Mobile Analytics Home Page. Allows access to the District Manager Dashboard as part of the Sales Rep Analytics option. Administrator privileges to Rx Sales Analytics option.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
32 3
Integrated Security for Analytics Applications Usage Accelerator Analytics Security Settings
Table 85.
Pharma Analytics Responsibilities and Functions Use Enables access to Call Activity Analytics Option for ZIP territory alignments. Unrestricted access to all Pharma Mobile Analytics options with ZIPbased territories.
Table 86.
Usage Accelerator Responsibilities and Dashboards Data Level Security Primary Position Data Level Security Dashboard Name (View) Score Card Action Plan Dashboard Page Individual Scorecard Account Coverage Contact Coverage Opportunity Coverage Financial Account Coverage Financial Services only Account Completeness Contact Completeness Opportunity Updates
User Responsibility Usage Accelerator Sales Rep Usage Accelerator Financial Services Sales Rep
324
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Integrated Security for Analytics Applications Usage Accelerator Analytics Security Settings
Table 86.
Usage Accelerator Responsibilities and Dashboards Data Level Security No position-based Security Dashboard Name (View) Score Card Action Plan Dashboard Page Team Scorecard Individual Scorecard Account Coverage (Team) Contact Coverage (Team) Opportunity Coverage (Team) Financial Account Coverage (Team) Financial Services only Account Completeness (Team) Contact Completeness (Team) Opportunity Updates (Team) Account Coverage Account Coverage (Team) Contact Coverage Opportunity Coverage Financial Account Coverage Financial Services only Account Completeness Contact Completeness Opportunity Updates Active Users Application Usageexcluded for Financial Services Application UsageFinancial Services only*
Coverage
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
32 5
Integrated Security for Analytics Applications Usage Accelerator Analytics Security Settings
Table 86.
Usage Accelerator Responsibilities and Dashboards Data Level Security No position-based Security Dashboard Name (View) Scorecard Action Plan Dashboard Page Organization Scorecard Individual Scorecard Account Coverage (Org) Contact Coverage (Org) Opportunity Coverage (Org) Financial Account Coverage (Org)Financial Services only Account Completeness (Org) Contact Completeness (Org) Opportunity Updates (Org) Account Coverage Contact Coverage Opportunity Coverage Financial Account Coverage Financial Services only Account Completeness Contact Completeness Opportunity Updates Active Users Application Usage (excluded for Financial Services) Application UsageFinancial Services only Although the Application Usage dashboard names appears similar, the Application Usage Financial Services-only version of this dashboard is different from the other dashboard.
User Responsibility Usage Accelerator Sales Executive Usage Accelerator Financial Services Sales Executive
Coverage
326
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Siebel applications are shipped with certain Siebel Business Analytics metadata. These metadata repositories are included with Siebel operational applications and Siebel Industry Applications. All the rules for security, data modeling, aggregate navigation, caching, and connectivity for the Siebel Data Warehouse are stored in metadata repositories on the Siebel Business Analytics Server. This appendix describes configuration necessary for the Siebel Business Analytics metadata for Siebel operational applications, specifically those areas that a Siebel administrator may need to adjust for Analytics purposes. These administrative tasks generally cover two subareas: Dashboard content of Siebel operational applications Analytics Metadata requirements for Siebel operational applications Analytics
This appendix contains the following topics: What Are Siebel Operational Applications? on page 327 Updating Finance Analytics Logical Table Sources on page 328 Externalizing Financial Services Metadata Translation Strings on page 329 Disabling the Finance Analytics Logical Table Sources on page 330 Enabling Dashboard Forecasting Charts on page 330 Developing and Deploying Predictive Scores on page 331 Configuring Siebel Applications for Attribute Analysis on page 332 Analytics Metadata Requirements for Siebel Industry Applications on page 332 Consumer Goods Dashboards and Pages on page 333 Consumer Goods Data Requirements on page 335 Siebel CME Analytics on page 336 CME Dashboards and Pages on page 337 CME Data Requirements on page 339 Dimensions Common to All Subject Areas on page 339 Dimensions Specific to Pharma Sales Subject Areas on page 341
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
32 7
Configuring Metadata for Analytics Applications Updating Finance Analytics Logical Table Sources
Siebel Industry Applications are built around specific industries business practices: Financial Services Consumer Sector Communications, Media, and Energy (CME) Pharma Sales NOTE: You can license one or more Siebel Industry Applications for Analytics. Licensing permits you to restrict user access to particular dashboards, subject areas, and reports.
2 3
In the list of logical table sources, right-click W_ASSET_F (FINS). Select Properties. Click the General tab in the Properties window and make sure that the Active check box is checked. If it is not, check it.
Click the General tab in the Properties window. Make sure the Active check box is unchecked. If it is not, uncheck it. Click OK and save the repository.
328
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Configuring Metadata for Analytics Applications Externalizing Financial Services Metadata Translation Strings
4 5
Make sure that the connection pool Externalized Metadata Strings points to the Siebel operational application database and is working correctly. Go to the Manage Variables menu and locate the initialization block External Metadata Strings. Double-click on the initialization block to open the Edit window.
In the Initialization SQL area, change the SQL: from select MSG_NUM, MSG_TEXT from VALUEOF(TBO).S_MSG where MSG_TYPE = 'Metadata' and LANG_ID = decode( 'VALUEOF(NQ_SESSION.LOCALE)' ... [more] to select MSG_NUM, MSG_TEXT from VALUEOF(TBO).S_MSG where MSG_TYPE = 'FINS_Metadata' and LANG_ID = decode( 'VALUEOF(NQ_SESSION.LOCALE)' ... [more] Click OK to commit the changes and save the repository.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
32 9
Configuring Metadata for Analytics Applications Disabling the Finance Analytics Logical Table Sources
To update Logical Table sources for general Siebel Industry Applications Analytics 1
Launch Server Administration Tool and open the Analytics Repository (SiebelAnalytics.rpd). Go to Business Model and Mapping window (the logical layer window) and open the Core folder. Scroll down to the Fact-Asset logical table and open its Sources folder.
In the list of logical table sources, right-click W_ASSET_F (FINS). Select Properties.
3 4 5
Click the General tab in the Properties window and uncheck the Active check box. In the list of logical table sources, right-click W_ASSET_F . Select Properties. Click the General tab in the Properties window. Make sure that the Active check box is checked. If it is not, check it. Click OK and save the repository.
330
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Configuring Metadata for Analytics Applications Developing and Deploying Predictive Scores
In the No Forecasting Lite group, click Edit. Under the Group Membership section, click Add New Member and type the following group name in the Member Name box: Authenticated Users.
Siebel Sales Analytics also provides several preconfigured reports based on Expected Revenue for those customers that do not own Siebel Forecasting. The preconfigured dashboards display these charts by default.
3 4
Load the integrated scores into the Siebel Data Warehouse during the extraction, transformation, and loading (ETL) process. After the scores are loaded into the Siebel Data Warehouse, map them to the following Siebel Business Analytics metadata fields:
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
33 1
Configuring Metadata for Analytics Applications Configuring Siebel Applications for Attribute Analysis
In conjunction with other associated metadata, these fields are primarily used to populate the Loyalty Management dashboard.
Repeat Step 2 through Step 5 for all the classes whose attributes are to be analyzed.
332
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Configuring Metadata for Analytics Applications Analytics Metadata Requirements for Siebel Industry Applications
Siebel CME Analytics on page 336 Dimensions Common to All Subject Areas on page 339 Dimensions Specific to Pharma Sales Subject Areas on page 341
Table 87.
Consumer Goods Dashboards and Page Tabs Page Last Audit Function Shows the aggregated results of the last audit, defined the last time a product was audited at a specific account and merchandising location. The aggregated metrics can be drilled into to get a list of accounts or products to target future efforts. Displays key metrics captured in a retail audit over time across accounts or product categories. Combines account and product performance with the individual representative responsible. Displays both individual promotional performance with cumulative trends to provide overall perspective on meeting promotional targets. Shows post promotion evaluation from a key account perspective across several levels of detail including plan, promotion, or promoted product detail. Shows post promotion evaluation from a brand managers perspective, by evaluating corporate promotions. Displays the key analyses for a fund manager, including Remaining Amounts which provides a status of all funds relative to all other funds. Highlights status of funds and funds spent at a specific account and is targeted to assist key account managers in determining how to fund future promotions.
Accounts
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
33 3
Configuring Metadata for Analytics Applications Analytics Metadata Requirements for Siebel Industry Applications
Table 87.
Consumer Goods Dashboards and Page Tabs Page Sales Volume Planning Function Details the key metrics used in sales volume planning, including incremental, target, shipment and consumption volumes, over time and in comparison to one another. Baseline and estimated incremental volumes are stacked and compared to targets to assist in identifying future progress against targets. This analysis uses a global filter to assist end users in getting to the level of details they want in one selection. Similar in content to Sales Volume Planning, however, this analysis is organized to promote exploration of data, allowing end users to freely drill up or down the account, time, or category product hierarchies. This page should be used to help sales managers identify where sales exceeded expectations. Depicts sales trends across accounts, channels, and categories as well as compares account performance in order to rank them. Displays key sales metrics versus the year ago and charts the rate of growth. This page focuses on answering key business questions of a sales executive including where are my sales? How effective are my promotions by channel? Which account plans are top and bottom performers? How is my promoted volumes and funds spend trending as compared to last year? What are my top five accounts in each category? This page focuses on answering key product questions of a sales executive. For example, What percentage of total sales is in each category? What products are selling where by whom? This page focuses on answering key business questions of a key account manager. For example, How I am performing versus my account plan? What is my promotional forecast accuracy? What funds are available to plan additional retail activity? This page focuses on answering key product questions of a key account manager. For example, Which category is best promoted at my accounts? How are my store conditions trending? Are out of stocks preventing me from reaching my targets?
Hierarchy
Category
334
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Configuring Metadata for Analytics Applications Analytics Metadata Requirements for Siebel Industry Applications
Data Requirements for Consumer Goods Schema Function Trade Fund Management Analytics incorporates the latest Trade fund functionality including aggregation of approved adjustments, transfers, deal allocations, and payments at all statuses. In the transactional database, fund allocations and product movement (incremental volumes) can be assigned to a promotion at the promotion or the promoted product level. The ETL transfers this information at the promoted product level only. If you allocate funds at the promotion level and assign product detail such as shipment quantities at the promoted product level, the fund allocation data needs to be pushed to the promoted product level to be accurately stored in the Siebel Data Warehouse. Sales Performance Analytics is used primarily in conjunction with the category product hierarchy as defined by Siebel Sales Volume Planning. To create the category-product hierarchy, the SVP adopt flag must be selected in order to aggregate product data up the category product hierarchy. This flag can be found by navigating to Catalog Administration > SVP Category Details View > Products list. The data warehouse and all prebuilt analyses are built from the end date of a period. To make sure data is accurate, the periods in the Siebel transactional database tables must be of a single duration. If they are different, inaccurate data could be stored in the data warehouse. For example, if a week and a month end on the same date, the actual shipped quantities are combined during the building of the data warehouse.
Promotion
Performance
Retail Audit
The Last Audit Flag is set during the ETL process. The flag is set to Yes for the most recent record for a product at an account and merchandising location. All other audit records for that combination of product, account, and merchandising location are set to No. The observation date is used to sort the retail audit records to determine which is the last audit. The observation date is populated when the status of a retail audit activity is changed to Done. The field observation date does not show up in the Siebel transactional database user interface and does not have to be the same as the activity date.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
33 5
Configuring Metadata for Analytics Applications Analytics Metadata Requirements for Siebel Industry Applications
In Siebel CME Analytics, revenue metrics do not automatically account for all recurring charges, and do not consider the NUM_OCCURRENCE fields. Instead, Siebel CME Analytics revenue metrics incorporate one-time charges, one-month's worth of recurring charges, and no usage charges. To incorporate the anticipated value of all recurring charges, the W_QUOTEITEM_F.NUM_OCCURRENCE and W_ORDERITEM_F.NUM_OCCURRENCE fields may need to be incorporated into revenue calculations made during the Extraction, Transformation and Load (ETL) process for order item and line item records. Alternatively, these fields in the Siebel transactional database, representing the aggregated recurring and one-time product charges, may be used and incorporated into the ETL processes: S_ORDERITEM.PER_MTH_CHG_SUBTOT S_ORDERITEM.ONETIME_CHG_SUBTOT S_QUOTEITEM.PER_MTH_CHG_SUBTOT S_QUOTEITEM.ONETIME_CHG_SUBTOT
336
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Configuring Metadata for Analytics Applications Analytics Metadata Requirements for Siebel Industry Applications
Each CME Order line item and Quote line item contains an Action Type of Add, Update, or Delete. Because Siebel Business Analytics only looks at root product line items, only the Action Types associated with the root product are considered during analysis. Therefore, while all line items for a complex product may collectively include a combination of various Action Types, only the Action Type for the root product are considered during analysis. This is of special importance if a filter or query criteria in analysis is based on the Action Type field, which it is for most Account Management and Revenue Management dashboard reports. Similarly, each CME Order line item and Quote line item is associated with a product of a particular Price Type. Because Siebel Business Analytics considers root products only, only the Price Type associated with the root product is considered during analysis. Again, this is important if a filter or query criteria is based on Price Type. Such filter criteria apply to most Account Management and Revenue Management dashboard reports. NOTE: For more information, see release notes documentation for Siebel Communication, Media and Energy Analytics, and Siebel Interactive Selling Suite Analytics.
Table 89.
Communications, Media and Energy Dashboards and Page Tabs Page Customer Lifetime Value Churn Propensity Selling Propensity Financial Risk Actual Churn Function Segments customers based upon defined ranges of scores predicting customer lifetime value. Segments customers based on defined ranges of scores estimating churn propensity. Segments customers based on defined ranges of scores valuing the potential of up-sell and cross-sell opportunities. Segments customers based on defined ranges of scores predicting financial risk. Shows trending of actual customer churn, and actual customer acquisition, over time.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
33 7
Configuring Metadata for Analytics Applications Analytics Metadata Requirements for Siebel Industry Applications
Table 89.
Communications, Media and Energy Dashboards and Page Tabs Page Revenue Trends Function Charts trends of order revenue and order volume over time, and identifies top products based on order revenue and volume. Charts trends of service activations over time, and indicates top service activations based on order revenue and volume. Charts trends of service modifications over time, and indicates top service modifications based on order revenue and volume. Charts trends of service disconnections over time, and identifies services with the highest disconnection volume. Identifies top accounts, and related top products, based upon order revenue and order volume. Charts trends of account service activations, and indicates top accounts based on service activation performance metrics. Charts trends of account service modifications, and indicates top accounts based on service modification performance metrics. Charts trends of account service disconnections, and identifies accounts with the highest volume of disconnections. Provides trouble ticket trending charts, and performance indicators, for particular accounts, and for accounts with selected common characteristics. Provides customer satisfaction trending charts, and performance indicators, for particular accounts, and for accounts with selected common characteristics.
Service Activations Service Modifications Service Disconnections Account Management Sales Portal Service Activations Service Modifications Service Disconnections Trouble Tickets
Customer Satisfaction
338
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Configuring Metadata for Analytics Applications Analytics Metadata Requirements for Siebel Industry Applications
Table 90.
Data Requirements for Communications, Media and Energy Dashboards Function This dashboard uses customer scores generated from any third-party predictive modeling application offering the following predictive models: Customer Lifetime Value, Churn Propensity, Up-Sell Propensity, Cross-Sell Propensity, and Financial Risk Propensity. Scores must be generated for each Siebel Account, integrated into the Siebel Transaction Database, and then written to the Siebel Data Warehouse. This dashboard uses the Siebel Business Analytics Customers subject area. See the topic Developing and Deploying Predictive Scores on page 331 for more information. This dashboard uses data generated by Siebel Communications, Media and Energy order management and interactive selling functionality. No specific data requirements are required beyond the data generated from these Siebel modules. This dashboard uses the Siebel Business Analytics Orders and Products subject areas. This dashboard uses data generated by Siebel Communications, Media and Energy order management, interactive selling, and service functionality. No specific data requirements are required beyond the data generated from these Siebel modules. This dashboard uses the Siebel Business Analytics Orders, Products, Service Request and Customer Satisfaction subject areas.
Revenue Management
Account Management
Positions Dimension
A sales territory is defined in Group AdministrationPositions by a Siebel position. Creating parent positions creates the sales force hierarchy. Up to 10 levels of sales force hierarchy are supported by the application. Employees should be assigned to positions to populate employee hierarchy. Position Types need to be set up according to compensation type (Rx or sales) only at the sales territory level. A district manager does not need to have a Position Type assigned to it. Sales Allocation needs to be exposed on the list to enter script compensation percentages (Rx or Sales) associated with each territory. For example, if all sales representatives receive 100% of the Rx on a ZIP Code, no action is needed or Position Type = Sales Representative can be assigned to the position.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
33 9
Configuring Metadata for Analytics Applications Analytics Metadata Requirements for Siebel Industry Applications
Seed data on the Position Type list of values has been enhanced to include types for mirror, job share, and swat. Typically, both mirror and job share represent a position that receives less than 100% of the total scripts on a ZIP Code.
Alignments Dimension
A sales territory alignment is the relationship of ZIP Code-to-territory or brick-to-territory. The alignment relationship is created in Siebel Assignment Manager under Assignment Administration Territories, as shown in Table 91.
Table 91.
Sales Territory Alignment Criteria Contact ZIP Code Comments Use contact primary address ZIP Codes. Do not use ranges of ZIP Codes (that is, enter unique ZIP Codes as low and high values). Do not enter duplicate ZIP Codes. Do not use ranges of ZIP Codes (that is, enter unique ZIP Codes as low and high values). Do not enter duplicate ZIP Codes. Use contact primary address brick. Do not use ranges of bricks (that is, enter unique bricks as low and high values). Do not enter duplicate ZIP Codes. Do not use ranges of bricks (that is, enter unique bricks as low and high values). Do not enter duplicate ZIP Codes. Do not enter duplicate accounts. Do not enter duplicate contacts.
Contact Brick
Account Brick
Account Contact
340
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Configuring Metadata for Analytics Applications Analytics Metadata Requirements for Siebel Industry Applications
Products Dimension
The product hierarchy requires customer products (products of the company who licensed the software) to have predefined product types as shown in Table 92.
Table 92.
Customer Products Predefined Product Types Product Type Sample Detail Sub Market Market Example Aracid 400 MG Aracid COPD Asthma
NOTE: Competitive products should use the product type Competitor. Competitor product hierarchies are set up using parent product relationships exclusively and should not have product levels assigned to them.
Table 93.
Product Costs For Customer Products Field to be Populated Sample Cost Avg. Promo Cost Sample Cost
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
34 1
Configuring Metadata for Analytics Applications Analytics Metadata Requirements for Siebel Industry Applications
Table 94.
Hierarchy Categories to be Populated in Pharma Analytics Hierarchy Category Anatomical Therapeutic Class Chemical Product application User-defined codes and custom hierarchies
342
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Configuring Metadata for Analytics Applications Analytics Metadata Requirements for Siebel Industry Applications
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
34 3
Configuring Metadata for Analytics Applications Analytics Metadata Requirements for Siebel Industry Applications
344
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
This chapter contains the following topics: What's New for Siebel Pharma Analytics in Version 7.8.3 on page 345 Importing Syndicated Data into Siebel Data Warehouse on page 346 Life Sciences Data Loading Issues with Siebel Data Warehouse on page 400 Incremental Updates in the Siebel Data Warehouse LS Dimension Tables on page 401
Syndicated data is now loaded against a staging architecture. The staging table architecture uses a denormalized time dimension that improves data loading by a factor of how many periods are loaded. A new set of cross-reference files for external key matching are supplied to resolve cross referencing and loading external syndicated data where the accounts, products, territories and contacts IDs are different from the Siebel IDs.
New single grain syndicated data for the Siebel Data Warehouse schema.
New single grain star schemas for power users and operational users. Twelve new base star schemas for power user reporting. Sixteen new operational star schemas for operational reporting.
New syndicated data MAT (Moving Annual Total) metrics calculated on ETL. The calculation of rolling period calculations take advantage of the new staging architecture and populate common pharmaceutical time aggregate metrics on the Siebel Data Warehouse. The result is greatly improved reporting performance when using rolling 12-month metrics.
New ETL for syndicated data market aggregation. New process to load the market fact tables based on aggregations on the product-market hierarchy. This minimizes the requirement to purchase preaggregated data by market.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
34 5
Siebel Data Warehouse for Life Sciences Data Considerations Importing Syndicated Data into Siebel Data Warehouse
New aggregation tables for each level of sales geography for each data type. Twenty-four new sales level aggregation tables for product-based syndicated data facts. Twenty-four new sales level aggregation tables for market-based syndicated data facts. Six new call activity aggregation tables for improved reporting performance for reports requiring top-level sales level activities. The syndicated data aggregation tables de-duplicate data when the same contact is assigned to multiple territories at all levels by market, product, position level, and period for all data types. New de-duplication tables to de-duplicate data when the same contact is assigned to multiple territories for the district level for Physician Plan Level Rx data only. Improved reporting performance resulting from the new aggregation strategy.
Account and contact rank mini dimensions. Representative specialty LOV dimensions. W_POSTN_CON used only for contact primary address.
New single grain call activity fact tables. In previous releases, all call activity facts resided on the same table. For Siebel Business Analytics Applications Version 7.8.3, call activities reside in three fact tables, account calls, account-attendee calls, and contact calls. New denormalization to improve query performance.
Employee name in sales force hierarchy dimension and alignment dimension. Parent account name in Account dimension.
346
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Siebel Data Warehouse for Life Sciences Data Considerations Importing Syndicated Data into Siebel Data Warehouse
After it is delivered by the vendor, the syndicated data must be fully reloaded into the Siebel Pharma data warehouse in a timely manner and made available to users in order for them to make use of sales force analysis reporting. This section includes the following topics: Syndicated Loading Definitions on page 347 Data Types Supported in the Siebel Data Warehouse on page 348 Loading Syndicated Data into the Siebel Data Warehouse on page 349
Syndicated Loading Definitions Definition Third-party data from vendors that shows sales and prescription results for client defined markets. Micro sales geographic area defined by vendor that contains prescription and sales trends for clients product groupings or markets. Bricks do not exist in the US where the micro sales geographic area is commonly the postal code or zip code. Abbreviation of new prescriptions. A new prescription is defined as dispensed prescriptions given a new number by the pharmacy, not necessarily new therapy for the patient. Abbreviation of total prescriptions. TRx = NRx + Refills. After the first time a prescription is filled, when it is refilled, the pharmacy refers back to the previous drug ID number and notes this as a refill. Total drug wholesalers product sales values to drug retailers (pharmacies) by brick or zip code. Sales values are calculated as units multiplied by client-selected price, where the price is the warehouse acquisition cost unless the client has chosen to have a different price applied to its direct sales or government depot sales. Total drug wholesalers product sales units to drug retailers (pharmacies) by brick or zip code. Sales unit quantity is determined by multiplying package factor to obtain unit value (for example, one carton x 24 bottles = 24 units).
NRx
TRx
Indirect sales
Indirect units
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
34 7
Siebel Data Warehouse for Life Sciences Data Considerations Importing Syndicated Data into Siebel Data Warehouse
Table 96.
Data Types Supported in Siebel Data Warehouse Description Monthly NRx and TRx data for client defined markets that include competitor products data by physician. Monthly wholesaler sales and unit values data for client defined markets that include competitor products aggregated by brick. Monthly wholesaler sales and unit values for company products by pharmacy. Monthly wholesaler sales and unit values for client defined markets that include competitor products aggregated by postal code. Monthly direct factory sales data and unit values to wholesalers for company's products by wholesaler. Monthly direct factory sales data and unit values to wholesalers for company's products by brick. Monthly direct factory sales data and unit values to wholesalers for company's products by postal code. Weekly NRx and TRx data for client defined markets that include competitor products by physician. Monthly prescription data by managed care plan for client defined markets that includes competitor products. Incentives. Monthly incentive compensation data sourced from internal incentive compensation systems and loaded as a new data type in the Siebel Data Warehouse. Modified. Monthly incentive compensation data sourced from internal incentive compensation systems and loaded as a new data type in the Siebel Data Warehouse. Monthly prescription data for physicians associated with a managed care plan. Monthly prescription data for client defined markets that includes competitor products aggregated by postal code. Monthly prescription data for client defined markets that include competitor products aggregated by brick.
Data Type Prescription data by contact Indirect sales brick level Indirect sales account level Indirect sales zip level Direct sales account level Direct sales brick level Direct sales zip level Weekly prescription data Plan level prescription data Sales market
Sales market
Physician plan level Rx data Prescription data by zip code Prescription data by brick
348
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Siebel Data Warehouse for Life Sciences Data Considerations Importing Syndicated Data into Siebel Data Warehouse
Loading From a Flat File Source Using Syndicated Data Staging Tables and Cross-Referencing Tables
This option is supported in Siebel Business Analytics Applications Version 7.8.3. To load syndicated data with this option, you have to prepare external data files for syndicated data and cross-reference data as described by the requirements in the following tables: Table 97 on page 357, Table 98 on page 360, Table 99 on page 364, Table 100 on page 367, Table 101 on page 370, Table 102 on page 374, Table 108 on page 392, Table 104 on page 380, Table 105 on page 383, Table 106 on page 386, Table 107 on page 389, and Table 108 on page 392. The ETL process will load syndicated data source files as a full load each time, but cross-reference data files will be loaded incrementally. Cross-reference data files must contain only new and updated information each time to support proper incremental loading. When the cross-reference data files are prepared, the data must be already loaded into the transactional database so the proper Siebel row IDs and the corresponding external source keys are resolved and provided in the data files. The alignment assignment rule is critical with this option. The external file AlignmentType.csv is installed during the Siebel Business Analytics Applications installation in the Informatica Server\SrcFiles folder. You have to select an alignment item type from the options defined below before running the ETL. You can change the alignment item type only when you choose to run the full ETL load process. The following alignment item types available: Zipcode Account/Contact Brick
Once the syndicated data and cross-reference source files are prepared, then the data can be loaded directly into Siebel Data Warehouse staging tables. If any invalid data source type is used in the syndicated data files, then the ETL will load as it is. You have to prepare the correct data source type in the data files. Only the data that should not be nullable but is null in data files will be filtered out separately so you can review the rejected data for the next ETL run. When the syndicated data is loaded from the Siebel Data Warehouse staging tables to target base tables, such as W_SYNDD_RX_F, the external source keys are replaced with Siebel Business Analytics keys and the data is loaded in the normalized format.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
34 9
Siebel Data Warehouse for Life Sciences Data Considerations Importing Syndicated Data into Siebel Data Warehouse
Then, based on what you defined as a primary alignment type above, the syndicated data in base target tables is replicated into the proper owner position and loaded into the main target tables at the territory level, such as W_SYND_RX_T_F, which contains all base table attributes plus ranking and position information.
Flat File Data Population Rules for Populating TRx Data This section provides information about various major columns in the W_SYNDD_RX_F table related to populating TRx data. INTEGRATION_ID
Data type is varchar(30). Value can be any unique number or combination of values coming from the external file source with the appended postfix -##, such as -1, if the data is corresponding to the first month of bulk syndicated data, and -2 if the data is corresponding to the second month of bulk data, and so on. INTEGRATION_ID manipulation is done by LS_EXP_FLATFILE_GENERATE_INTEGRATION_ID transformation. It is required because the incoming INTEGRATION_ID in flat file represents 26 different bulk loads in denormalized format. Therefore, the format must be changed to normalized for the Siebel Data Warehouse target table.
DATASOURCE_NUM_ID
ETL run specific (a numeric value that indicates the source for the data). Used in standard Siebel mappings to ensure each record carries a value indicating its source. Used in source qualifiers to ensure that lookups on dimension tables when populating fact tables area referencing data that was loaded from a uniform data source. Data source number 1 is reserved for the Siebel transactional database. The external source should use a number other than 1. For syndicated data flat file loads, the external source number (other than 1) is loaded into staging tables. When the data is loaded from the staging tables to target tables and external source keys are matched to Siebel IDs, the data source number is converted as 1 in the target table. Combination of INTEGRATION_ID and DATASOURCE_NUM_ID must be a unique value (mandated by a unique index on both columns). This means that the system will not accept the same record from the same source with identical unique IDs.
DATA_LEVEL_WID
Stores a foreign key in the W_LOV_UD table for the record corresponding to that syndicated data source type for the data. Value comes from DATA_SRC_CD in the flat file. For example, in the table W_SYNDD_RX_F, the proper data source type defined in flat file must be one of the following:
RXPrf RXZip
350
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Siebel Data Warehouse for Life Sciences Data Considerations Importing Syndicated Data into Siebel Data Warehouse
The standard mapping uses the incoming DATA_SRC_CD code to do a lookup against the W_LOV_UD table to secure the ROW_WID of that data source type and inserts it into the W_SYNDD_RX_F table DATA_LEVEL_WID column.
PAYER_TYPE_WID
Stores a foreign key in the W_INS_PLAN_D table for the record corresponding to that payer type of the data such as Cash, Total. Value comes from PAYER_TYPE_ID in the flat file.
PERIOD_TYPE_WID
Stores a foreign key in the W_LOV_D table for the record corresponding to the period for the data. Value comes from PERIOD_CD in the flat file, such as Month, Week. The standard mapping uses the incoming PERIOD_CD code to do a lookup against the W_LOV_D table to secure the ROW_WID of that period type and inserts it into the W_SYNDD_RX_F table PERIOD_TYPE_WID column
GEO_WID
GEO_WID is a foreign key to the W_GEO_D dimension, which contains a geographical hierarchy based on zip code as the lowest level of detail. It is preconfigured to allow users to roll up a TRx measure to levels such as city, state or province, county, country, and continent. If the flat file source of TRx data load is zip code level, then the ZIPCODE field in the flat file must be provided. Then, the value is performed using the following logic to get loaded in the target GEO_WID:
MPLT_GEO_WID_ZIPCODE takes zip code as the incoming value, and the literal NO_DUP_FLG = 'N' ports to do a lookup against W_GEO_D for any record where the ZIPCODE column matches the incoming zip code value and the DUP_ZIPCODE column = 'N'. (Sample data in the W_GEO_D table contains multiple city records per zip code, only one of which is marked as DUP_ZIPCODE = 'N'). The mapping also ensures that even with multiple matches only the first record is retrieved, and with no matches, the data comes back with the appropriate Unspecified code.
CON_GEO_WID
CON_GEO_WID is a foreign key to the W_GEO_D dimension, which contains a geographical hierarchy based on zip code as the lowest level of detail. The following three attributes, city, country, and zip code, are the main keys to determine CON_GEO_WID, and are brought from flat file CON_CITY, CON_COUNTRY, and CON_ZIPCODE fields. If the flat file source of TRx data load is contact level, then CON_CITY, CON_COUNTRY, and CON_ZIPCODE fields in flat file must be provided. Then, the value is performed the following logic to get loaded in target CON_GEO_WID:
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
35 1
Siebel Data Warehouse for Life Sciences Data Considerations Importing Syndicated Data into Siebel Data Warehouse
LS_EXP_FLATFILE_CITY_COUNTRY_ZIP_CHKNULL and LS_MPLT_FLATFILE_GEO_WID use the combination of city, country, and zip code to retrieve the first available record from W_GEO_D even if duplicates exist and regardless of the NO_DUP_FLG.
ALIGN_WID
Depending on your selected alignment item type, the following transformation is performed:
When alignment item type is Zipcode: IIF(DATA_SRC_CD = 'RXPrf', IN_CON_GEO_WID, IIF(DATA_SRC_CD = 'RXBrk' OR DATA_SRC_CD = 'RXSMI' OR DATA_SRC_CD = 'RXSMM' OR DATA_SRC_CD = 'RXZip', IN_GEO_WID, ETL_UNSPEC_NUM))
When alignment item type is Account/Contact: IIF(DATA_SRC_CD = 'RXBrk' OR DATA_SRC_CD = 'RXPrf' OR DATA_SRC_CD = 'RXSMI' OR DATA_SRC_CD = 'RXSMM' OR DATA_SRC_CD = 'RXZip', IN_CONTACT_WID, ETL_UNSPEC_NUM)
When alignment item type is Brick: IIF(DATA_SRC_CD = 'RXPrf', IN_CON_AREA_WID, IIF(DATA_SRC_CD = 'RXBrk' OR DATA_SRC_CD = 'RXSMI' OR DATA_SRC_CD = 'RXSMM' OR DATA_SRC_CD = 'RXZip', IN_AREA_WID, ETL_UNSPEC_NUM))
The resulting value is used to populate the ALIGN_WID column in the fact table, which should also be found in W_ALIGNMT_DH table ALIGN_WID column. Based on this ALIGN_WID column, Siebel Data Warehouse replicates proper territory and populates W_SYND_RX_T_F table as well. NOTE: This section discusses the W_SYNDD_RX_F table as an example only. In Siebel Business Analytics Applications Version7.8.3, the table W_SYND_DATA_F is split into the following six new tables due to performance enhancement: W_SYNDD_DS_F, W_SYNDD_IDS_F, W_SYNDD_RX_F, W_SYNDD_PT_F, W_SYNDD_XPT_F, and W_SYNDD_W_F tables.
Loading the Siebel Data Warehouse from the Siebel Transactional Database (OLTP) S_SYND_DATA Table
NOTE: This option is only available with Siebel Business Analytics Applications Version 7.8.2 and earlier. Customers who are already using the EIM process or SQL Loader to load external syndicated data into the Siebel operational system can use data populated in S_SYND_DATA as the source to the Siebel Data Warehouse. Existing syndicated data from the Siebel transactional database, stored in the S_SYND_DATA table, is extracted, transformed, and loaded by prebuilt routines and populated into the W_SYND_DATA_F and W_SYND_MKT_F fact tables in the Siebel Data Warehouse. W_SYND_DATA_F stores Rx or sales measures by product. W_SYND_MKT_F stores Rx or sales measures by market and allows calculation of market share data.
352
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Siebel Data Warehouse for Life Sciences Data Considerations Importing Syndicated Data into Siebel Data Warehouse
The data is first copied from external data tapes (or other provided media) into the interface tables for the Siebel Industry Application (SIA), using a native database data loading utility, such as SQL* Loader, and following the rules in Table 109 on page 396. Using EIM, data is transferred from the Siebel interface tables to predefined destination columns in the base tables of the Siebel Life Sciences database. The application administrator uses SQL*Loader to populate the ID field with a unique sequential value, a process that provides either full or partial table level extraction. In order to correctly load the Siebel Data Warehouse, there is a set of population rules that are required to load S_SYND_DATA. This will guarantee minimal configuration required on the Analytics side and correct population of the Siebel Data Warehouse. Once the data is loaded into S_SYND_DATA, you can use the LS SYNDICATED FACT GROUP, in the Pharma subject area, to load the syndicated data into the Siebel Data Warehouse.
W_SYND_DATA_F Data Population Rules for Populating TRx Data This section provides information about various columns in the W_SYND_DATA_F table related to populating TRx data. This option is only available with Siebel Business Analytics Applications Version 7.8.3 and earlier. INTEGRATION_ID
Data type is varchar(30). Value can be any unique number or combination of values coming in from the external file source. If the data is not already unique, the EXPTRANS transformation will manipulate the value to make it unique. Typically, contains the row ID of the source table record in the Siebel transactional database.
DATASOURCE_NUM_ID
ETL run specific (a numeric value that indicates the source for the data). Used in standard Siebel mappings to ensure each record carries a value indicating its source. Used in source qualifiers to ensure that lookups on dimension tables when populating fact tables are referencing data that was loaded from a uniform data source. Data source number 1 is reserved for the Siebel transactional database. The external source should use a number other than 1. Combination of INTEGRATION_ID and DATASOURCE_NUM. Must be a unique value (mandated by a unique index on both columns). This means that the system will not accept the same record from the same source with identical unique IDs.
DATA_SRC_CD Standard Siebel mapping transforms an incoming character data source code value into a numeric range between 1 and 8, using the following formula: DECODE(DATA_SRC_CD
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
35 3
Siebel Data Warehouse for Life Sciences Data Considerations Importing Syndicated Data into Siebel Data Warehouse
RXPrf',1, RXEVM',0, RXSMI',3, RXSMM',4, RXXPT',5, RXPT',6, RXZip',7, RXBrk',8 The resulting numeric value is used to populate the DATA_TYPE column in the fact table, which is used in the Analytics business models to logically partition data when running different types of reports against the W_SYND_DATA table. PREFIX The following transformation is performed on DATA_SRC_CD to populate the PREFIX column: DECODE(DATA_SRC_CD, RXPrf','Prf', RXEVM','EVM', RXSMI','SMI', RXSMM','SMM', RXXPT','XPT', RXPT','PT', RXZip','Zip', RXBrk','Brk') The resulting three-character code is used to prefix the ROW_WID of the W_SYND_DATA table. Instead of 1, the first record is populated with Prf1 when loading prescriptions by professional. This is done in order to facilitate parallel load streams in Informatica so that ROW_WIDs of records for different data types do not conflict with each other. PERIOD_TYPE_WID
Stores a foreign key in the W_LOV_D table for the record corresponding to the period for the data. PERIOD_CD comes from the S_SYND_DATA as Month or Week, and so on. The standard mapping uses the code to do a lookup against the W_LOV_D table to secure the ROW_WID of that period type and inserts it into the W_SYND_DATA_F table PERIOD_TYPE_WID column.
OWNER_POSTN_WID
W_SYND_DATA maps each record to a Siebel position using OWNER_POSTN_ID. Typically, when the source of the ETL is S_SYND_DATA in the transactional database, the field is already populated, but this is not the case when the source is the syndicated data file. The W_ALIGNMT_DH table in the data warehouse contains information that maps Siebel positions to zip codes, bricks, and accounts. ALIGN_ITEM_TYPE contains literal type values for this data, such as zip code, brick or account.
354
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Siebel Data Warehouse for Life Sciences Data Considerations Importing Syndicated Data into Siebel Data Warehouse
Since the alignment process could assign a territory to multiple zip codes, the W_ALIGNMT_DH table could contain multiple records for the same zip code to position and territory combinations. In such cases, the ALIGN_TYPE_FLG column will designate whether the relationship between the territory and the zip code is primary (P), mirror (M), share (S), and so on. The Source qualifier in the custom mapping that populates W_SYND_DATA_F then retrieves the correct data warehouse position ID based on the following join criteria: SELECT SYND.IMS_NUM, SYND.CLIENT_NUM, SYND.START_DT, SYND.IMS_SPEC_CD, SYND.PROD_GRP, SYND.ME_NUM, SYND.PR_CITY, SYND.PR_COUNTRY, SYND.ZIPCODE, ALIGN.LVL1ANC_POSTN_ID as OWNER_POSTN_ID, PER.ROW_WID as MAP_CON_ROW_WID, PROD_MKT.ROW_WID as MAP_MKT_ROW_WID, PROD.ROW_WID as PROD_ROW_WID, PROD.RX_AVG_PRICE, POSTN.ROW_WID as POSTN_ROW_WID, POSTN.INTEGRATION_ID as OWNER_POSTN_ID, SYND.TRX01, SYND.TRX02, SYND.TRX03, SYND.TRX04, SYND.TRX05, SYND.TRX06, SYND.TRX07, SYND.TRX08, SYND.TRX09, SYND.TRX10, SYND.TRX11, SYND.TRX12, SYND.TRX13, ALIGN.ALIGN_WID, ALIGN.ALIGN_TYPE_FLG, PER.INTEGRATION_ID, PROD_MKT.PROD_NAME, PROD.PROD_NAME from WC_SYND_DATA_FS as SYND, W_ALIGNMT_DH as ALIGN, W_PERSON_D as PER, W_PRODUCT_D as PROD_MKT, W_PRODUCT_D as PROD, W_POSITION_D as POST
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
35 5
Siebel Data Warehouse for Life Sciences Data Considerations Importing Syndicated Data into Siebel Data Warehouse
where (SYND.ZIPCODE = ALIGN.ALIGN_ITEM and ALIGN.ALIGN_ITEM_TYPE = 'Zipcode' and ALIGN.ALIGN_TYPE_FLG = 'P') and SYND.ME_NUM = PER.CSN and SYND.PHYNTYPE = PROD_MKT.PROD_NAME and SYND.PROD_GRP = PROD.PROD_NAME and ALIGN.LVL1ANC_POSTN_ID = POSTN.INTEGRATION_ID GEO_WID
In the Siebel Data Warehouse, the GEO_WID is a foreign key to the W_GEO_D dimension, which contains a geographical hierarchy based on zip code as the lowest level of detail. It is preconfigured to allow users to roll up a TRx measure to levels such as city, state or province, county, country, and continent. In the standard Siebel mappings that populate W_SYND_DATA_F, the following three attributes are brought directly from the S_SYND_DATA table: city, country, and zip code. A complex lookup is then performed utilizing two possible logic paths:
MPLT_GEO_WID_ZIPCODE (returns IN_ZIPCODE_GEO_WID): Takes in the zip code value, and a literal NO_DUP_FLG = 'N' ports do a lookup against W_GEO_D for any record where the ZIPCODE column matches the incoming zip code value and the DUP_ZIPCODE column = 'N'. (Sample data in the W_GEO_D table contains multiple city records per zip code, only one of which is marked as DUP_ZIPCODE = 'N'). The mapping also ensures that even with multiple matches only the first record is retrieved, and with no matches, the data comes back with the appropriate Unspecified code. EXP_CITY_COUNTRY_ZIP_CHKNULL & MPLT_GEO_WID1 (returns IN_GEO_WID): Uses the combination of city, country, and zip code to retrieve the first available record from W_GEO_D even if duplicates exists and regardless of the NO_DUP_FLG.
Once the two values are brought into the EXPTRANS transformation, the following formula is used: IIF(DATA_SRC_CD = 'RXZip' OR DATA_SRC_CD = 'RXBrk' OR DATA_SRC_CD = 'SlsDirBrk' OR DATA_SRC_CD = 'SlsDirZip' OR DATA_SRC_CD = 'SlsIndBrk' OR DATA_SRC_CD = 'SlsIndZip',IN_ZIPCODE_GEO_WID,IN_GEO_WID)
Loading From a Flat File Source Using Syndicated Market Staging Tables
Siebel Business Analytics Applications Version 7.8.3 supports loading syndicated market data using flat files. You have to prepare flat files of syndicated market data source and cross-referencing data source files as described rules in the following tables: Table 97 on page 357, Table 98 on page 360, Table 99 on page 364, Table 100 on page 367, Table 101 on page 370, Table 102 on page 374, Table 108 on page 392, Table 104 on page 380, Table 105 on page 383, Table 106 on page 386, Table 107 on page 389, and Table 108 on page 392. By default this option is disabled. To use this feature, you must to turn on the option manually in the DAC client. Turning on this option allows the flat file syndicated market data to be loaded directly into the Siebel Data Warehouse staging table W_SYNDM_RX_FS, and then loaded into the target table W_SYNDM_RX_F.
356
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Siebel Data Warehouse for Life Sciences Data Considerations Importing Syndicated Data into Siebel Data Warehouse
LS Load into SyndicatedMarket Fact for Calculated Exponent Plantrak LS Load into SyndicatedMarket Fact for Calculated Indirect Sales LS Load into SyndicatedMarket Fact for Calculated Plantrak LS Load into SyndicatedMarket Fact for Calculated Rx LS Load into SyndicatedMarket Fact for Calculated Weekly Early View
NOTE: Do not inactivate LS Load into SyndicatedMarket Fact for Calculated Direct Sales.
LS Load into SyndicatedMarket Fact for Exponent Plantrak LS Load into SyndicatedMarket Fact for Indirect Sales LS Load into SyndicatedMarket Fact for Plantrak LS Load into SyndicatedMarket Fact for Rx LS Load into SyndicatedMarket Fact for Weekly Early View
Table 97.
Syndicated Data Flat File - Direct Sales Data Data Type NUMBER(10) VARCHAR2(30) Field Required NOT NULL NOT NULL Field Description External data source number ID other than 1. Enter the following Siebel data source type code: SlsDirAct External integration ID. Syndicate data date format YYYYMMDD. Exchange date for currency code. Date format YYYYMMDD.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
35 7
Siebel Data Warehouse for Life Sciences Data Considerations Importing Syndicated Data into Siebel Data Warehouse
Table 97.
Syndicated Data Flat File - Direct Sales Data Data Type VARCHAR2(30) Field Required Field Description External account ID. Note: Corresponding Siebel S_ORG_EXT.ROW_ID should be provided in cross-reference file.
ACCNT_AREA_ID
VARCHAR2(30)
External brick ID of accounts primary address for account level. Note: Corresponding Siebel S_REGION_EXT.ROW_ID (S_CON_ADDR.BRICK_ID) should be provided in cross-reference file.
ACCNT_CITY ACCNT_COUNTRY
VARCHAR2(50) VARCHAR2(30)
Account city. Initial capital format; for example, Short Hills. Account country. Initial capital format; for example, France; or abbreviate format, such as USA. Account zip code. Currency code for Amount. External payer type ID. This column is used to define payment type, such as Cash, Government, Third Party, Total, and so on. Note: Corresponding Siebel S_INS_PLAN.ROW_ID should be provided in cross-reference file.
PERIOD_CD PROD_ID
VARCHAR2(30) VARCHAR2(30)
Enter the following Siebel period code: Month External product ID. Note: Corresponding Siebel S_PROD_INT.ROW_ID should be provided in cross-reference file.
Stores sales amounts of current month data. Stores sales amounts of previous month data.
358
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Siebel Data Warehouse for Life Sciences Data Considerations Importing Syndicated Data into Siebel Data Warehouse
Table 97.
Syndicated Data Flat File - Direct Sales Data Data Type NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) Stores sales units of current month data. Stores sales units of previous month data. Field Required Field Description
Field Name S_AMT_M07 S_AMT_M08 S_AMT_M09 S_AMT_M10 S_AMT_M11 S_AMT_M12 S_AMT_M13 S_AMT_M14 S_AMT_M15 S_AMT_M16 S_AMT_M17 S_AMT_M18 S_AMT_M19 S_AMT_M20 S_AMT_M21 S_AMT_M22 S_AMT_M23 S_AMT_M24 S_AMT_M25 S_AMT_M26 S_UNIT_M01 S_UNIT_M02 S_UNIT_M03 S_UNIT_M04 S_UNIT_M05 S_UNIT_M06 S_UNIT_M07 S_UNIT_M08 S_UNIT_M09 S_UNIT_M10
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
35 9
Siebel Data Warehouse for Life Sciences Data Considerations Importing Syndicated Data into Siebel Data Warehouse
Table 97.
Syndicated Data Flat File - Direct Sales Data Data Type NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) Field Required Field Description
Field Name S_UNIT_M11 S_UNIT_M12 S_UNIT_M13 S_UNIT_M14 S_UNIT_M15 S_UNIT_M16 S_UNIT_M17 S_UNIT_M18 S_UNIT_M19 S_UNIT_M20 S_UNIT_M21 S_UNIT_M22 S_UNIT_M23 S_UNIT_M24 S_UNIT_M25 S_UNIT_M26
Table 98.
Syndicated Data Flat File - Indirect Sales Data Data Type NUMBER(10) VARCHAR2(30) Field Required NOT NULL NOT NULL Field Description External data source number ID other than 1. Enter the following Siebel data source type code: SlsIndAct (Indirect sales account level) SlsIndZip (Indirect sales zip code level) SlsIndBrk (Indirect sales brick level) External integration ID. Syndicate data date format YYYYMMDD.
INTEGRATION_ID START_DT
VARCHAR2(25) VARCHAR2(15)
360
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Siebel Data Warehouse for Life Sciences Data Considerations Importing Syndicated Data into Siebel Data Warehouse
Table 98.
Syndicated Data Flat File - Indirect Sales Data Data Type VARCHAR2(15) VARCHAR2(30) Field Required Field Description Exchange date for currency code. Date format YYYYMMDD. External account ID. Note: Corresponding Siebel S_ORG_EXT.ROW_ID should be provided in cross-reference file.
ACCNT_AREA_ID
VARCHAR2(30)
External brick ID of accounts primary address for account level. Note: Corresponding Siebel S_REGION_EXT.ROW_ID (S_CON_ADDR.BRICK_ID) should be provided in cross-reference file.
ACCNT_CITY
VARCHAR2(50)
Account city. Enter value if DATA_SRC_CD is account level. Initial capital format; for example, Short Hills.
ACCNT_COUNTRY
VARCHAR2(30)
Account country. Enter value if DATA_SRC_CD is account level. Initial capital format; for example, France; or abbreviate format, such as USA.
ACCNT_ZIPCODE AMT_CURCY_CD
VARCHAR2(30) VARCHAR2(30)
Account zip code. Enter value if DATA_SRC_CD is account level. Applies to syndicated data only. Currency code for Amount.
AREA_ID
VARCHAR2(30)
External syndicate brick ID. Enter value if DATA_SRC_CD is brick level. Note: Corresponding Siebel S_REGION.ROW_ID should be provided in cross-reference file.
PAYER_TYPE_ID
VARCHAR2(30)
External payer type ID. This column is used to define payment type, such as Cash, Government, Third Party, Total, and so on. Note: Corresponding Siebel S_INS_PLAN.ROW_ID should be provided in cross-reference file.
PERIOD_CD
VARCHAR2(30)
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
36 1
Siebel Data Warehouse for Life Sciences Data Considerations Importing Syndicated Data into Siebel Data Warehouse
Table 98.
Syndicated Data Flat File - Indirect Sales Data Data Type VARCHAR2(30) Field Required Field Description Applies to syndicated data only. External product ID. Note: Corresponding Siebel S_PROD_INT.ROW_ID should be provided in cross-reference file.
ZIPCODE S_AMT_M01 S_AMT_M02 S_AMT_M03 S_AMT_M04 S_AMT_M05 S_AMT_M06 S_AMT_M07 S_AMT_M08 S_AMT_M09 S_AMT_M10 S_AMT_M11 S_AMT_M12 S_AMT_M13 S_AMT_M14 S_AMT_M15 S_AMT_M16 S_AMT_M17 S_AMT_M18 S_AMT_M19 S_AMT_M20 S_AMT_M21 S_AMT_M22 S_AMT_M23 S_AMT_M24
VARCHAR2(30) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7)
Syndicate zip code. Enter value if DATA_SRC_CD is zip code level. Stores sales amounts of current month data. Stores sales amounts of previous month data. Stores sales amounts of 20050101 data.
362
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Siebel Data Warehouse for Life Sciences Data Considerations Importing Syndicated Data into Siebel Data Warehouse
Table 98.
Syndicated Data Flat File - Indirect Sales Data Data Type NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) Stores sales units of current month data. Stores sales units of previous month data. Stores sales units of 20050101 data. Stores sales units of current month data. Field Required Field Description
Field Name S_AMT_M25 S_AMT_M26 S_UNIT_M01 S_UNIT_M02 S_UNIT_M03 S_UNIT_M04 S_UNIT_M05 S_UNIT_M06 S_UNIT_M07 S_UNIT_M08 S_UNIT_M09 S_UNIT_M10 S_UNIT_M11 S_UNIT_M12 S_UNIT_M13 S_UNIT_M14 S_UNIT_M15 S_UNIT_M16 S_UNIT_M17 S_UNIT_M18 S_UNIT_M19 S_UNIT_M20 S_UNIT_M21 S_UNIT_M22 S_UNIT_M23 S_UNIT_M24 S_UNIT_M25 S_UNIT_M26
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
36 3
Siebel Data Warehouse for Life Sciences Data Considerations Importing Syndicated Data into Siebel Data Warehouse
Table 99.
Syndicated Data Flat File - Prescription Data Data Type NUMBER(10) VARCHAR2(30) VARCHAR2(25) VARCHAR2(15) VARCHAR2(30) Field Required NOT NULL NOT NULL NOT NULL NOT NULL External integration ID. Syndicate data date format YYYYMMDD. External syndicate brick ID. Enter value if DATA_SRC_CD is brick level. Note: Corresponding Siebel S_REGION.ROW_ID should be provided in cross-reference file. Field Description External data source number ID other than 1.
CONTACT_ID
VARCHAR2(30)
External contact ID. Note: Corresponding Siebel S_CONTACT.ROW_ID should be provided in cross-reference file.
CON_AREA_ID
VARCHAR2(30)
External syndicate brick ID of contacts primary address. Enter value if DATA_SRC_CD is brick level. Note: Corresponding Siebel S_REGION.ROW_ID should be provided in cross-reference file.
CON_CITY
VARCHAR2(50)
Contact city. Enter value if DATA_SRC_CD is account level. Initial capital format; for example, Short Hills
CON_COUNTRY
VARCHAR2(30)
Contact country. Enter value if DATA_SRC_CD is account level. Initial capital format; for example, France; or abbreviate format, such as USA.
CON_ZIPCODE
VARCHAR2(30)
364
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Siebel Data Warehouse for Life Sciences Data Considerations Importing Syndicated Data into Siebel Data Warehouse
Table 99.
Syndicated Data Flat File - Prescription Data Data Type VARCHAR2(30) Field Required Field Description External payer type ID. This column is used to define payment type, such as Cash, Government, Third Party, Total, and so on. Note: Corresponding Siebel S_INS_PLAN.ROW_ID should be provided in cross-reference file.
PERIOD_CD PROD_ID
VARCHAR2(30) VARCHAR2(30)
Enter the following Siebel period code: Month External product ID. Note: Corresponding Siebel S_PROD_INT.ROW_ID should be provided in cross-reference file.
ZIPCODE CONV_FACTOR
VARCHAR2(30) NUMBER(22,7)
Syndicate zip code. Enter value if DATA_SRC_CD is zip code level. Applies to Rx data only. Used to convert Rx volume to measurable units which will be used to dollarize the Rx volume. Stores sales amounts of current month data. Stores sales amounts of previous month data. Stores sales amounts of 20050101 data.
NRX_M01 NRX_M02 NRX_M03 NRX_M04 NRX_M05 NRX_M06 NRX_M07 NRX_M08 NRX_M09 NRX_M10 NRX_M11 NRX_M12 NRX_M13 NRX_M14 NRX_M15 NRX_M16
NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7)
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
36 5
Siebel Data Warehouse for Life Sciences Data Considerations Importing Syndicated Data into Siebel Data Warehouse
Table 99.
Syndicated Data Flat File - Prescription Data Data Type NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) Stores sales units of current month data. Stores sales units of previous month data. Stores sales units of 20050101 data. Stores sales units of current month data. Field Required Field Description
Field Name NRX_M17 NRX_M18 NRX_M19 NRX_M20 NRX_M21 NRX_M22 NRX_M23 NRX_M24 NRX_M25 NRX_M26 TRX_M01 TRX_M02 TRX_M03 TRX_M04 TRX_M05 TRX_M06 TRX_M07 TRX_M08 TRX_M09 TRX_M10 TRX_M11 TRX_M12 TRX_M13 TRX_M14 TRX_M15 TRX_M16 TRX_M17 TRX_M18 TRX_M19 TRX_M20
366
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Siebel Data Warehouse for Life Sciences Data Considerations Importing Syndicated Data into Siebel Data Warehouse
Table 99.
Syndicated Data Flat File - Prescription Data Data Type NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) Field Required Field Description
Table 100. Syndicated Data Flat File - Plan Level Rx Data Field Name DATASOURCE_NUM _ID DATA_SRC_CD Data Type NUMBER(10) VARCHAR2(30) Field Required NOT NULL NOT NULL Field Description External data source number ID other than 1. Enter the following Siebel data source type code: RXPT External integration ID. Syndicate data date format YYYYMMDD. External account and plan ID. Note: Corresponding Siebel S_ORG_EXT.ROW_ID should be provided in cross-reference file. ACCNT_AREA_ID VARCHAR2(30) External brick ID of accounts primary address. Enter value if DATA_SRC_CD is account level. Note: Corresponding Siebel S_REGION.ROW_ID should be provided in cross-reference file. ACCNT_CITY VARCHAR2(50) Account city. Enter value if DATA_SRC_CD is account level. Initial capital format; for example, Short Hills
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
36 7
Siebel Data Warehouse for Life Sciences Data Considerations Importing Syndicated Data into Siebel Data Warehouse
Table 100. Syndicated Data Flat File - Plan Level Rx Data Field Name ACCNT_COUNTRY Data Type VARCHAR2(30) Field Required Field Description Account country. Enter value if DATA_SRC_CD is account level. Initial capital format; for example, France; or abbreviate format, such as USA. ACCNT_ZIPCODE PERIOD_CD PROD_ID VARCHAR2(30) VARCHAR2(30) VARCHAR2(30) Account zip code. Enter value if DATA_SRC_CD is account level. Enter the following Siebel period code: Month Applies to syndicated data only. External product ID. Note: Corresponding Siebel S_PROD_INT.ROW_ID should be provided in cross-reference file. CONV_FACTOR NUMBER(22,7) Applies to Rx data only. Used to convert Rx volume to measurable units which will be used to dollarize the Rx volume. Stores sales amounts of current month data. Stores sales amounts of previous month data. Stores sales amounts of 20050101 data.
NRX_M01 NRX_M02 NRX_M03 NRX_M04 NRX_M05 NRX_M06 NRX_M07 NRX_M08 NRX_M09 NRX_M10 NRX_M11 NRX_M12 NRX_M13 NRX_M14 NRX_M15 NRX_M16 NRX_M17
NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7)
368
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Siebel Data Warehouse for Life Sciences Data Considerations Importing Syndicated Data into Siebel Data Warehouse
Table 100. Syndicated Data Flat File - Plan Level Rx Data Field Name NRX_M18 NRX_M19 NRX_M20 NRX_M21 NRX_M22 NRX_M23 NRX_M24 NRX_M25 NRX_M26 TRX_M01 TRX_M02 TRX_M03 TRX_M04 TRX_M05 TRX_M06 TRX_M07 TRX_M08 TRX_M09 TRX_M10 TRX_M11 TRX_M12 TRX_M13 TRX_M14 TRX_M15 TRX_M16 TRX_M17 TRX_M18 TRX_M19 TRX_M20 TRX_M21 Data Type NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) Stores sales units of current month data. Stores sales units of previous month data. Stores sales units of 20050101 data. Stores sales units of current month data. Field Required Field Description
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
36 9
Siebel Data Warehouse for Life Sciences Data Considerations Importing Syndicated Data into Siebel Data Warehouse
Table 100. Syndicated Data Flat File - Plan Level Rx Data Field Name TRX_M22 TRX_M23 TRX_M24 TRX_M25 TRX_M26 Data Type NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) Field Required Field Description
Table 101. Syndicated Data Flat File - Physician Plan Level Rx Data Field Name DATASOURCE_NUM _ID DATA_SRC_CD Data Type NUMBER(10) VARCHAR2(30) Field Required NOT NULL NOT NULL Field Description External data source number ID other than 1. Enter the following Siebel data source type code: RXXPT External integration ID. Syndicate data date format YYYYMMDD. External account ID. Note: Corresponding Siebel S_ORG_EXT.ROW_ID should be provided in cross-reference file. ACCNT_AREA_ID VARCHAR2(30) External brick ID of accounts primary address. Enter value if DATA_SRC_CD is brick level. Note: Corresponding Siebel S_REGION.ROW_ID should be provided in cross-reference file. ACCNT_CITY VARCHAR2(50) Account city. Enter a value if DATA_SRC_CD is account level. Initial capital format; for example, Short Hills
370
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Siebel Data Warehouse for Life Sciences Data Considerations Importing Syndicated Data into Siebel Data Warehouse
Table 101. Syndicated Data Flat File - Physician Plan Level Rx Data Field Name ACCNT_COUNTRY Data Type VARCHAR2(30) Field Required Field Description Account country. Enter value if DATA_SRC_CD is account level. Initial capital format; for example, France; or abbreviate format, such as USA. ACCNT_ZIPCODE CONTACT_ID VARCHAR2(30) VARCHAR2(30) Account zip code. Enter value if DATA_SRC_CD is account level. External contact ID. Note: Corresponding Siebel S_CONTACT.ROW_ID should be provided in cross-reference file. CON_AREA_ID VARCHAR2(30) External brick ID of contacts primary address. Enter value if DATA_SRC_CD is contact level. Note: Corresponding Siebel S_REGION.ROW_ID should be provided in cross-reference file. CON_CITY VARCHAR2(50) Contact city. Enter value if DATA_SRC_CD is contact level. Initial capital format; for example, Short Hills CON_COUNTRY VARCHAR2(30) Contact country. Enter value if DATA_SRC_CD is contact level. Initial capital format; for example, France; or abbreviate format, such as USA. CON_ZIPCODE PERIOD_CD PROD_ID VARCHAR2(30) VARCHAR2(30) VARCHAR2(30) Contact zip code. Enter value if DATA_SRC_CD is contact level. Enter the following Siebel period code: Month Applies to syndicated data only. External product ID. Note: Corresponding Siebel S_PROD_INT.ROW_ID should be provided in cross-reference file. CONV_FACTOR NUMBER(22,7) Applies to Rx data only. Used to convert Rx volume to measurable units which will be used to dollarize the Rx volume.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
37 1
Siebel Data Warehouse for Life Sciences Data Considerations Importing Syndicated Data into Siebel Data Warehouse
Table 101. Syndicated Data Flat File - Physician Plan Level Rx Data Field Name NRX_M01 NRX_M02 NRX_M03 NRX_M04 NRX_M05 NRX_M06 NRX_M07 NRX_M08 NRX_M09 NRX_M10 NRX_M11 NRX_M12 NRX_M13 NRX_M14 NRX_M15 NRX_M16 NRX_M17 NRX_M18 NRX_M19 NRX_M20 NRX_M21 NRX_M22 NRX_M23 NRX_M24 NRX_M25 NRX_M26 TRX_M01 TRX_M02 TRX_M03 TRX_M04 Data Type NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) Stores sales units of current month data. Stores sales units of previous month data. Stores sales units of 20050101 data. Stores sales units of current month data. Field Required Field Description Stores sales amounts of current month data. Stores sales amounts of previous month data. Stores sales amounts of 20050101 data.
372
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Siebel Data Warehouse for Life Sciences Data Considerations Importing Syndicated Data into Siebel Data Warehouse
Table 101. Syndicated Data Flat File - Physician Plan Level Rx Data Field Name TRX_M05 TRX_M06 TRX_M07 TRX_M08 TRX_M09 TRX_M10 TRX_M11 TRX_M12 TRX_M13 TRX_M14 TRX_M15 TRX_M16 TRX_M17 TRX_M18 TRX_M19 TRX_M20 TRX_M21 TRX_M22 TRX_M23 TRX_M24 TRX_M25 TRX_M26 Data Type NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) Field Required Field Description
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
37 3
Siebel Data Warehouse for Life Sciences Data Considerations Importing Syndicated Data into Siebel Data Warehouse
Table 102. Syndicated Data Flat File - Weekly Early View Data Field Name DATASOURCE_NUM _ID DATA_SRC_CD Data Type NUMBER(10) VARCHAR2(30) Field Required NOT NULL NOT NULL Field Description External data source number ID other than 1. Enter the following Siebel data source type code: RXEVM External integration ID. Syndicate data date format YYYYMMDD. External contact ID. Note: Corresponding Siebel S_CONTACT.ROW_ID should be provided in cross-reference file. CON_AREA_ID VARCHAR2(30) External brick ID of contacts primary address. Enter value if DATA_SRC_CD is brick level. Note: Corresponding Siebel S_REGION.ROW_ID should be provided in cross-reference file. CON_CITY VARCHAR2(50) Contact city. Enter a value if DATA_SRC_CD is account level. Initial capital format; for example, Short Hills CON_COUNTRY VARCHAR2(30) Contact country. Enter value if DATA_SRC_CD is account level. Initial capital format; for example, France; or abbreviate format, such as USA. CON_ZIPCODE MARKET_ID VARCHAR2(30) VARCHAR2(30) Contact zip code. Enter value if DATA_SRC_CD is account level. Applies to syndicated market only. External market ID for product. Note: Corresponding Siebel S_PROD_INT.ROW_ID should be provided in cross-reference file.
374
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Siebel Data Warehouse for Life Sciences Data Considerations Importing Syndicated Data into Siebel Data Warehouse
Table 102. Syndicated Data Flat File - Weekly Early View Data Field Name PAYER_TYPE_ID Data Type VARCHAR2(30) Field Required Field Description External payer type ID. This column is used to define payment type, such as Cash, Government, Third Party, Total, and so on. Note: Corresponding Siebel S_INS_PLAN.ROW_ID should be provided in cross-reference file. PERIOD_CD PROD_ID VARCHAR2(30) VARCHAR2(30) Enter the following Siebel period code: Week Applies to syndicated data only. External product ID. Note: Corresponding Siebel S_PROD_INT.ROW_ID should be provided in cross-reference file. CONV_FACTOR NUMBER(22,7) Applies to Rx data only. Used to convert Rx volume to measurable units which will be used to dollarize the Rx volume. Stores sales amounts of current month data. Stores sales amounts of previous month data. Stores sales amounts of 20050101 data.
NRX_W01 NRX_W02 NRX_W03 NRX_W04 NRX_W05 NRX_W06 NRX_W07 NRX_WM08 NRX_W09 NRX_W10 NRX_W11 NRX_W12 NRX_W13 NRX_W14 TRX_W01 TRX_W02 TRX_W03
NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7)
Stores sales units of current month data. Stores sales units of previous month data. Stores sales units of 20050101 data.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
37 5
Siebel Data Warehouse for Life Sciences Data Considerations Importing Syndicated Data into Siebel Data Warehouse
Table 102. Syndicated Data Flat File - Weekly Early View Data Field Name TRX_W04 TRX_W05 TRX_WM06 TRX_W07 TRX_W08 TRX_W09 TRX_W10 TRX_W11 TRX_W12 TRX_W13 Data Type NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) Field Required Field Description Stores sales units of current month data.
Table 103. Syndicated Market Flat File - Indirect Sales Data Field Name DATASOURCE_NUM _ID DATA_SRC_CD Data Type NUMBER(10) VARCHAR2(30) Field Required NOT NULL NOT NULL Field Description External data source number ID other than 1. Enter the following Siebel data source type code: SlsIndAct (Indirect sales account level) SlsIndZip (Indirect sales zip code level) SlsIndBrk (Indirect sales brick level) External integration ID. Syndicate data date format YYYYMMDD. Exchange date for currency code. Date format YYYYMMDD. External account ID. Note: Corresponding Siebel S_ORG_EXT.ROW_ID should be provided in cross-reference file.
376
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Siebel Data Warehouse for Life Sciences Data Considerations Importing Syndicated Data into Siebel Data Warehouse
Table 103. Syndicated Market Flat File - Indirect Sales Data Field Name ACCNT_AREA_ID Data Type VARCHAR2(30) Field Required Field Description External brick ID of accounts primary address for account level. Note: Corresponding Siebel S_REGION_EXT.ROW_ID (S_CON_ADDR.BRICK_ID) should be provided in cross-reference file. ACCNT_CITY VARCHAR2(50) Account city. Enter value if DATA_SRC_CD is account level. Initial capital format; for example, Short Hills. ACCNT_COUNTRY VARCHAR2(30) Account country. Enter value if DATA_SRC_CD is account level. Initial capital format; for example, France; or abbreviate format, such as USA. ACCNT_ZIPCODE AREA_ID VARCHAR2(30) VARCHAR2(30) Account zip code. Enter value if DATA_SRC_CD is account level. External syndicate brick ID. Enter value if DATA_SRC_CD is brick level. Note: Corresponding Siebel S_REGION.ROW_ID should be provided in cross-reference file. MARKET_ID VARCHAR2(30) External market ID for the product. Note: Corresponding Siebel S_PROD_INT.ROW_ID should be provided in cross-reference file. MKT_AMT_CURCY_ CD PAYER_TYPE_ID VARCHAR2(30) VARCHAR2(30) Currency code for Amount. External payer type ID. This column is used to define payment type, such as Cash, Government, Third Party, Total, and so on. Note: Corresponding Siebel S_INS_PLAN.ROW_ID should be provided in cross-reference file. PERIOD_CD VARCHAR2(30) Enter the following Siebel period code: Month
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
37 7
Siebel Data Warehouse for Life Sciences Data Considerations Importing Syndicated Data into Siebel Data Warehouse
Table 103. Syndicated Market Flat File - Indirect Sales Data Field Name PROD_ID Data Type VARCHAR2(30) Field Required Field Description Applies to syndicated data only. External product ID. Note: Corresponding Siebel S_PROD_INT.ROW_ID should be provided in cross-reference file. ZIPCODE MKT_S_AMT_M01 MKT_S_AMT_M02 MKT_S_AMT_M03 MKT_S_AMT_M04 MKT_S_AMT_M05 MKT_S_AMT_M06 MKT_S_AMT_M07 MKT_S_AMT_M08 MKT_S_AMT_M09 MKT_S_AMT_M10 MKT_S_AMT_M11 MKT_S_AMT_M12 MKT_S_AMT_M13 MKT_S_AMT_M14 MKT_S_AMT_M15 MKT_S_AMT_M16 MKT_S_AMT_M17 MKT_S_AMT_M18 MKT_S_AMT_M19 MKT_S_AMT_M20 MKT_S_AMT_M21 MKT_S_AMT_M22 MKT_S_AMT_M23 MKT_S_AMT_M24 VARCHAR2(30) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) Syndicate zip code. Enter value if DATA_SRC_CD is zip code level. Stores sales amounts of current month data. Stores sales amounts of previous month data. Stores sales amounts of 20050101 data.
378
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Siebel Data Warehouse for Life Sciences Data Considerations Importing Syndicated Data into Siebel Data Warehouse
Table 103. Syndicated Market Flat File - Indirect Sales Data Field Name MKT_S_AMT_M25 MKT_S_AMT_M26 MKT_S_UNIT_M01 MKT_S_UNIT_M02 MKT_S_UNIT_M03 MKT_S_UNIT_M04 MKT_S_UNIT_M05 MKT_S_UNIT_M06 MKT_S_UNIT_M07 MKT_S_UNIT_M08 MKT_S_UNIT_M09 MKT_S_UNIT_M10 MKT_S_UNIT_M11 MKT_S_UNIT_M12 MKT_S_UNIT_M13 MKT_S_UNIT_M14 MKT_S_UNIT_M15 MKT_S_UNIT_M16 MKT_S_UNIT_M17 MKT_S_UNIT_M18 MKT_S_UNIT_M19 MKT_S_UNIT_M20 MKT_S_UNIT_M21 MKT_S_UNIT_M22 MKT_S_UNIT_M23 MKT_S_UNIT_M24 MKT_S_UNIT_M25 MKT_S_UNIT_M26 Data Type NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) Stores sales units of current month data. Stores sales units of previous month data. Stores sales units of 20050101 data. Stores sales units of current month data. Field Required Field Description
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
37 9
Siebel Data Warehouse for Life Sciences Data Considerations Importing Syndicated Data into Siebel Data Warehouse
Table 104. Syndicated Market Flat File - Prescription Data Field Name DATASOURCE_NUM _ID DATA_SRC_CD INTEGRATION_ID START_DT AREA_ID Data Type NUMBER(10) VARCHAR2(30) VARCHAR2(25) VARCHAR2(15) VARCHAR2(30) Field Required NOT NULL NOT NULL NOT NULL NOT NULL External integration ID. Syndicate data date format YYYYMMDD. External syndicate brick ID. Enter value if DATA_SRC_CD is brick level. Note: Corresponding Siebel S_REGION.ROW_ID should be provided in cross-reference file. CONTACT_ID VARCHAR2(30) External contact ID. Note: Corresponding Siebel S_CONTACT.ROW_ID should be provided in cross-reference file. CON_AREA_ID VARCHAR2(30) External syndicate brick ID of contacts primary address. Enter value if DATA_SRC_CD is brick level. Note: Corresponding Siebel S_REGION.ROW_ID should be provided in cross-reference file. CON_CITY VARCHAR2(50) Contact city. Enter value if DATA_SRC_CD is account level. Initial capital format; for example, Short Hills CON_COUNTRY VARCHAR2(30) Contact country. Enter value if DATA_SRC_CD is account level. Initial capital format; for example, France; or abbreviate format, such as USA. CON_ZIPCODE VARCHAR2(30) Contact zip code. Enter value if DATA_SRC_CD is account level. Field Description External data source number ID other than 1.
380
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Siebel Data Warehouse for Life Sciences Data Considerations Importing Syndicated Data into Siebel Data Warehouse
Table 104. Syndicated Market Flat File - Prescription Data Field Name MARKET_ID Data Type VARCHAR2(30) Field Required Field Description External market ID for the product. Note: Corresponding Siebel S_PROD_INT.ROW_ID should be provided in cross-reference file. PAYER_TYPE_ID VARCHAR2(30) External payer type ID. This column is used to define payment type, such as Cash, Government, Third Party, Total, and so on. Note: Corresponding Siebel S_INS_PLAN.ROW_ID should be provided in cross-reference file. PERIOD_CD ZIPCODE CONV_FACTOR VARCHAR2(30) VARCHAR2(30) NUMBER(22,7) Enter the following Siebel period code: Month Syndicate zip code. Enter value if DATA_SRC_CD is zip code level. Applies to Rx data only. Used to convert Rx volume to measurable units which will be used to dollarize the Rx volume. Stores sales amounts of current month data. Stores sales amounts of previous month data. Stores sales amounts of 20050101 data.
MKT_NRX_M01 MKT_NRX_M02 MKT_NRX_M03 MKT_NRX_M04 MKT_NRX_M05 MKT_NRX_M06 MKT_NRX_M07 MKT_NRX_M08 MKT_NRX_M09 MKT_NRX_M10 MKT_NRX_M11 MKT_NRX_M12 MKT_NRX_M13 MKT_NRX_M14 MKT_NRX_M15 MKT_NRX_M16
NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7)
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
38 1
Siebel Data Warehouse for Life Sciences Data Considerations Importing Syndicated Data into Siebel Data Warehouse
Table 104. Syndicated Market Flat File - Prescription Data Field Name MKT_NRX_M17 MKT_NRX_M18 MKT_NRX_M19 MKT_NRX_M20 MKT_NRX_M21 MKT_NRX_M22 MKT_NRX_M23 MKT_NRX_M24 MKT_NRX_M25 MKT_NRX_M26 MKT_TRX_M01 MKT_TRX_M02 MKT_TRX_M03 MKT_TRX_M04 MKT_TRX_M05 MKT_TRX_M06 MKT_TRX_M07 MKT_TRX_M08 MKT_TRX_M09 MKT_TRX_M10 MKT_TRX_M11 MKT_TRX_M12 MKT_TRX_M13 MKT_TRX_M14 MKT_TRX_M15 MKT_TRX_M16 MKT_TRX_M17 MKT_TRX_M18 MKT_TRX_M19 MKT_TRX_M20 Data Type NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) Stores sales units of current month data. Stores sales units of previous month data. Stores sales units of 20050101 data. Stores sales units of current month data. Field Required Field Description
382
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Siebel Data Warehouse for Life Sciences Data Considerations Importing Syndicated Data into Siebel Data Warehouse
Table 104. Syndicated Market Flat File - Prescription Data Field Name MKT_TRX_M21 MKT_TRX_M22 MKT_TRX_M23 MKT_TRX_M24 MKT_TRX_M25 MKT_TRX_M26 Data Type NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) Field Required Field Description
Table 105. Syndicated Market Flat File - Plan Level Rx Data Field Name DATASOURCE_NUM _ID DATA_SRC_CD Data Type NUMBER(10) VARCHAR2(30) Field Required NOT NULL NOT NULL Field Description External data source number ID other than 1. Enter the following Siebel data source type code: RXPT External integration ID. Syndicate data date format YYYYMMDD. External account and plan ID. Note: Corresponding Siebel S_ORG_EXT.ROW_ID should be provided in cross-reference file. ACCNT_AREA_ID VARCHAR2(30) External brick ID of accounts primary address. Enter value if DATA_SRC_CD is account level. Note: Corresponding Siebel S_REGION.ROW_ID should be provided in cross-reference file. ACCNT_CITY VARCHAR2(50) Account city. Enter value if DATA_SRC_CD is account level. Initial capital format; for example, Short Hills
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
38 3
Siebel Data Warehouse for Life Sciences Data Considerations Importing Syndicated Data into Siebel Data Warehouse
Table 105. Syndicated Market Flat File - Plan Level Rx Data Field Name ACCNT_COUNTRY Data Type VARCHAR2(30) Field Required Field Description Account country. Enter value if DATA_SRC_CD is account level. Initial capital format; for example, France; or abbreviate format, such as USA. ACCNT_ZIPCODE MARKET_ID VARCHAR2(30) VARCHAR2(30) Account zip code. Enter value if DATA_SRC_CD is account level. External market ID for the product. Note: Corresponding Siebel S_PROD_INT.ROW_ID should be provided in cross-reference file. PERIOD_CD CONV_FACTOR VARCHAR2(30) NUMBER(22,7) Enter the following Siebel period code: Month Applies to Rx data only. Used to convert Rx volume to measurable units which will be used to dollarize the Rx volume. Stores sales amounts of current month data. Stores sales amounts of previous month data. Stores sales amounts of 20050101 data.
MKT_NRX_M01 MKT_NRX_M02 MKT_NRX_M03 MKT_NRX_M04 MKT_NRX_M05 MKT_NRX_M06 MKT_NRX_M07 MKT_NRX_M08 MKT_NRX_M09 MKT_NRX_M10 MKT_NRX_M11 MKT_NRX_M12 MKT_NRX_M13 MKT_NRX_M14 MKT_NRX_M15 MKT_NRX_M16 MKT_NRX_M17 MKT_NRX_M18
NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7)
384
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Siebel Data Warehouse for Life Sciences Data Considerations Importing Syndicated Data into Siebel Data Warehouse
Table 105. Syndicated Market Flat File - Plan Level Rx Data Field Name MKT_NRX_M19 MKT_NRX_M20 MKT_NRX_M21 MKT_NRX_M22 MKT_NRX_M23 MKT_NRX_M24 MKT_NRX_M25 MKT_NRX_M26 MKT_TRX_M01 MKT_TRX_M02 MKT_TRX_M03 MKT_TRX_M04 MKT_TRX_M05 MKT_TRX_M06 MKT_TRX_M07 MKT_TRX_M08 MKT_TRX_M09 MKT_TRX_M10 MKT_TRX_M11 MKT_TRX_M12 MKT_TRX_M13 MKT_TRX_M14 MKT_TRX_M15 MKT_TRX_M16 MKT_TRX_M17 MKT_TRX_M18 MKT_TRX_M19 MKT_TRX_M20 MKT_TRX_M21 MKT_TRX_M22 Data Type NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) Stores sales units of current month data. Stores sales units of previous month data. Stores sales units of 20050101 data. Stores sales units of current month data. Field Required Field Description
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
38 5
Siebel Data Warehouse for Life Sciences Data Considerations Importing Syndicated Data into Siebel Data Warehouse
Table 105. Syndicated Market Flat File - Plan Level Rx Data Field Name MKT_TRX_M23 MKT_TRX_M24 MKT_TRX_M25 MKT_TRX_M26 Data Type NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) Field Required Field Description
Table 106. Syndicated Market Flat File - Physician Plan Level Rx Data Field Name DATASOURCE_NUM _ID DATA_SRC_CD Data Type NUMBER(10) VARCHAR2(30) Field Required NOT NULL NOT NULL Field Description External data source number ID other than 1. Enter the following Siebel data source type code: RXXPT External integration ID. Syndicate data date format YYYYMMDD. External account ID. Note: Corresponding Siebel S_ORG_EXT.ROW_ID should be provided in cross-reference file. ACCNT_AREA_ID VARCHAR2(30) External brick ID of accounts primary address. Enter value if DATA_SRC_CD is brick level. Note: Corresponding Siebel S_REGION.ROW_ID should be provided in cross-reference file. ACCNT_CITY VARCHAR2(50) Account city. Enter a value if DATA_SRC_CD is account level. Initial capital format; for example, Short Hills
386
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Siebel Data Warehouse for Life Sciences Data Considerations Importing Syndicated Data into Siebel Data Warehouse
Table 106. Syndicated Market Flat File - Physician Plan Level Rx Data Field Name ACCNT_COUNTRY Data Type VARCHAR2(30) Field Required Field Description Account country. Enter value if DATA_SRC_CD is account level. Initial capital format; for example, France; or abbreviate format, such as USA. ACCNT_ZIPCODE CONTACT_ID VARCHAR2(30) VARCHAR2(30) Account zip code. Enter value if DATA_SRC_CD is account level. External contact ID. Note: Corresponding Siebel S_CONTACT.ROW_ID should be provided in cross-reference file. CON_AREA_ID VARCHAR2(30) External brick ID of contacts primary address. Enter value if DATA_SRC_CD is contact level. Note: Corresponding Siebel S_REGION.ROW_ID should be provided in cross-reference file. CON_CITY VARCHAR2(50) Contact city. Enter value if DATA_SRC_CD is contact level. Initial capital format; for example, Short Hills CON_COUNTRY VARCHAR2(30) Contact country. Enter value if DATA_SRC_CD is contact level. Initial capital format; for example, France; or abbreviate format, such as USA. CON_ZIPCODE MARKET_ID VARCHAR2(30) VARCHAR2(30) Contact zip code. Enter value if DATA_SRC_CD is contact level. External market ID for product. Note: Corresponding Siebel S_PROD_INT.ROW_ID should be provided in cross-reference file. PERIOD_CD CONV_FACTOR VARCHAR2(30) NUMBER(22,7) Enter the following Siebel period code: Month Applies to Rx data only. Used to convert Rx volume to measurable units which will be used to dollarize the Rx volume. Stores sales amounts of current month data. Stores sales amounts of previous month data.
MKT_NRX_M01 MKT_NRX_M02
NUMBER(22,7) NUMBER(22,7)
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
38 7
Siebel Data Warehouse for Life Sciences Data Considerations Importing Syndicated Data into Siebel Data Warehouse
Table 106. Syndicated Market Flat File - Physician Plan Level Rx Data Field Name MKT_NRX_M03 MKT_NRX_M04 MKT_NRX_M05 MKT_NRX_M06 MKT_NRX_M07 MKT_NRX_M08 MKT_NRX_M09 MKT_NRX_M10 MKT_NRX_M11 MKT_NRX_M12 MKT_NRX_M13 MKT_NRX_M14 MKT_NRX_M15 MKT_NRX_M16 MKT_NRX_M17 MKT_NRX_M18 MKT_NRX_M19 MKT_NRX_M20 MKT_NRX_M21 MKT_NRX_M22 MKT_NRX_M23 MKT_NRX_M24 MKT_NRX_M25 MKT_NRX_M26 MKT_TRX_M01 MKT_TRX_M02 MKT_TRX_M03 MKT_TRX_M04 MKT_TRX_M05 MKT_TRX_M06 Data Type NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) Stores sales units of current month data. Stores sales units of previous month data. Stores sales units of 20050101 data. Stores sales units of current month data. Field Required Field Description Stores sales amounts of 20050101 data.
388
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Siebel Data Warehouse for Life Sciences Data Considerations Importing Syndicated Data into Siebel Data Warehouse
Table 106. Syndicated Market Flat File - Physician Plan Level Rx Data Field Name MKT_TRX_M07 MKT_TRX_M08 MKT_TRX_M09 MKT_TRX_M10 MKT_TRX_M11 MKT_TRX_M12 MKT_TRX_M13 MKT_TRX_M14 MKT_TRX_M15 MKT_TRX_M16 MKT_TRX_M17 MKT_TRX_M18 MKT_TRX_M19 MKT_TRX_M20 MKT_TRX_M21 MKT_TRX_M22 MKT_TRX_M23 MKT_TRX_M24 MKT_TRX_M25 MKT_TRX_M26 Data Type NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) Field Required Field Description
Table 107. Syndicated Market Flat File - Weekly Early View Data Field Name DATASOURCE_NUM _ID DATA_SRC_CD Data Type NUMBER(10) VARCHAR2(30) Field Required NOT NULL NOT NULL Field Description External data source number ID other than 1. Enter the following Siebel data source type code: RXEVM
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
38 9
Siebel Data Warehouse for Life Sciences Data Considerations Importing Syndicated Data into Siebel Data Warehouse
Table 107. Syndicated Market Flat File - Weekly Early View Data Field Name INTEGRATION_ID START_DT CONTACT_ID Data Type VARCHAR2(25) VARCHAR2(15) VARCHAR2(30) Field Required NOT NULL NOT NULL Field Description External integration ID. Syndicate data date format YYYYMMDD. External contact ID. Note: Corresponding Siebel S_CONTACT.ROW_ID should be provided in cross-reference file. CON_AREA_ID VARCHAR2(30) External brick ID of contacts primary address. Enter value if DATA_SRC_CD is brick level. Note: Corresponding Siebel S_REGION.ROW_ID should be provided in cross-reference file. CON_CITY VARCHAR2(50) Contact city. Enter a value if DATA_SRC_CD is account level. Initial capital format; for example, Short Hills CON_COUNTRY VARCHAR2(30) Contact country. Enter value if DATA_SRC_CD is account level. Initial capital format; for example, France; or abbreviate format, such as USA. CON_ZIPCODE MARKET_ID VARCHAR2(30) VARCHAR2(30) Contact zip code. Enter value if DATA_SRC_CD is account level. External market ID for product. Note: Corresponding Siebel S_PROD_INT.ROW_ID should be provided in cross-reference file. PAYER_TYPE_ID VARCHAR2(30) External payer type ID. This column is used to define payment type, such as Cash, Government, Third Party, Total, and so on. Note: Corresponding Siebel S_INS_PLAN.ROW_ID should be provided in cross-reference file. PERIOD_CD CONV_FACTOR VARCHAR2(30) NUMBER(22,7) Enter the following Siebel period code: Week Applies to Rx data only. Used to convert Rx volume to measurable units which will be used to dollarize the Rx volume.
390
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Siebel Data Warehouse for Life Sciences Data Considerations Importing Syndicated Data into Siebel Data Warehouse
Table 107. Syndicated Market Flat File - Weekly Early View Data Field Name MKT_NRX_W01 MKT_NRX_W02 MKT_NRX_W03 MKT_NRX_W04 MKT_NRX_W05 MKT_NRX_W06 MKT_NRX_W07 MKT_NRX_WM08 MKT_NRX_W09 MKT_NRX_W10 MKT_NRX_W11 MKT_NRX_W12 MKT_NRX_W13 MKT_NRX_W14 MKT_TRX_W01 MKT_TRX_W02 MKT_TRX_W03 MKT_TRX_W04 MKT_TRX_W05 MKT_TRX_WM06 MKT_TRX_W07 MKT_TRX_W08 MKT_TRX_W09 MKT_TRX_W10 MKT_TRX_W11 MKT_TRX_W12 MKT_TRX_W13 Data Type NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) NUMBER(22,7) Stores sales units of current month data. Stores sales units of previous month data. Stores sales units of 20050101 data. Stores sales units of current month data. Field Required Field Description Stores sales amounts of current month data. Stores sales amounts of previous month data. Stores sales amounts of 20050101 data.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
39 1
Siebel Data Warehouse for Life Sciences Data Considerations Importing Syndicated Data into Siebel Data Warehouse
Table 108. Flat File Cross-Reference Data Population Rules Field Name Area (Brick) Data EXT_DATASRC_NU M_ID EXT_INTEGRATION _ID NUMBER(10) VARCHAR2(30) NOT NULL NOT NULL External data source number ID other than 1. External area (brick) ID. Note: This same ID should be used in ACCNT_AREA_ID, AREA_ID, AND CON_AREA_ID syndicated data and syndicated market flat files. VARCHAR2(50) Area name. Note: The same value should already be loaded in Siebel S_REGION.NAME. EXT_PROVINCE VARCHAR2(50) Area province. Note: The same value should already be loaded in Siebel S_REGION.PROVINCE. EXT_STATE VARCHAR2(50) Area state. Note: The same value should already be loaded in Siebel S_REGION.STATE. Use the format all capitals and abbreviated, such as NJ. EXT_COUNTRY VARCHAR2(30) Area country. Note: The same value should already be loaded in Siebel S_REGION.COUNTRY. Use the initial capital format; for example, France. INTEGRATION_ID VARCHAR2(30) NOT NULL Siebel area (brick) ID. Note: This value should come from Siebel S_REGION.ROW_ID. Account and Plan Data EXT_DATASRC_NU M_ID NUMBER(10) NOT NULL External data source number ID other than 1. Note: The same value should be used in the DATASOURCE_NUM_ID field of the syndicated data and syndicated market flat files. Data Type Field Required Field Description
EXT_AREA_NAME
392
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Siebel Data Warehouse for Life Sciences Data Considerations Importing Syndicated Data into Siebel Data Warehouse
Table 108. Flat File Cross-Reference Data Population Rules Field Name EXT_INTEGRATION _ID Data Type VARCHAR2(30) Field Required NOT NULL Field Description External account and plan ID. Note: The same ID should be used in ACCNT_AREA_ID, AREA_ID, AND CON_AREA_ID syndicated data and syndicated market flat files. VARCHAR2(10 0) Account and plan name. Note: The same value should already be loaded in Siebel S_ORG_EXT.NAME. Account outlet number. NOT NULL Siebel account ID. Note: This value should come from Siebel S_REGION.ROW_ID. Payer Type Data EXT_DATASRC_NU M_ID NUMBER(10) NOT NULL External data source number ID other than 1. Note: The same value should be used in the DATASOURCE_NUM_ID field of the syndicated data and syndicated market flat files. VARCHAR2(30) NOT NULL External payer ID. Note: The same value should be used in the PAYER_TYPE_ID field of the syndicated data and syndicated market flat files. VARCHAR2(30) Plan type, such as Payer, Plan, and so on. Note: The same value should already be loaded in Siebel S_INS_PLAN.PLAN_TYPE.
EXT_ACCNT_NAME
EXT_ACCNT_NUM INTEGRATION_ID
VARCHAR2(30) VARCHAR2(30)
EXT_INTEGRATION _ID
EXT_PLAN_TYPE
EXT_PAYER_NAME
VARCHAR2(10 0)
Payer type, such as Cash, Government, Third Party, Total, and so on. Note: The same value should already be loaded in Siebel S_INS_PLAN.NAME.
INTEGRATION_ID
VARCHAR2(30)
NOT NULL
Siebel payer ID. Note: This value should come from Siebel S_REGION.ROW_ID.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
39 3
Siebel Data Warehouse for Life Sciences Data Considerations Importing Syndicated Data into Siebel Data Warehouse
Table 108. Flat File Cross-Reference Data Population Rules Field Name Contact Data EXT_DATASRC_NU M_ID NUMBER(10) NOT NULL External data source number ID other than 1. Note: The same value should be used in the DATASOURCE_NUM_ID field of the syndicated data and syndicated market flat files. VARCHAR2(30) NOT NULL External contact ID. Note: The same value should be used in the CONTACT_ID field of the syndicated data and syndicated market flat files. VARCHAR2(10 2) Contact name. Note: The same value should already be loaded in Siebel S_CONTACT.LAST_NAME and S_CONTACT.FST_NAME. Contact ME number. Note: The same value should already be loaded in Siebel S_CONTACT.CSN. INTEGRATION_ID VARCHAR2(30) NOT NULL Siebel contact ID. Note: This value should come from Siebel S_CONTACT.ROW_ID. Product and Market Data EXT_DATASRC_NU M_ID NUMBER(10) NOT NULL External data source number ID other than 1. Note: The same value should be used in the DATASOURCE_NUM_ID field of the syndicated data and syndicated market flat files. VARCHAR2(30) NOT NULL External product and market ID. Note: The same value should be used in the PAYER_TYPE_ID field of the syndicated data and syndicated market flat files. VARCHAR2(30) Product and market type. Note: The same value should already be loaded in Siebel S_PROD_INT. Data Type Field Required Field Description
EXT_INTEGRATION _ID
EXT_CON_FULL_NA ME
EXT_ME_NUM
VARCHAR2(50)
EXT_INTEGRATION _ID
EXT_PROD_TYPE
394
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Siebel Data Warehouse for Life Sciences Data Considerations Importing Syndicated Data into Siebel Data Warehouse
Table 108. Flat File Cross-Reference Data Population Rules Field Name EXT_PROD_NAME Data Type VARCHAR2(50) Field Required Field Description Product and market name. Note: The same value should already be loaded in Siebel PROD_INT.NAME. INTEGRATION_ID VARCHAR2(30) NOT NULL Siebel product ID. Note: This value should come from Siebel S_PROD_INT.ROW_ID.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
39 5
Siebel Data Warehouse for Life Sciences Data Considerations Importing Syndicated Data into Siebel Data Warehouse
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4 396
Table 109. S_SYND_DATA Data Population Rules Require d Codes Data Types Required fields (x) and data population rules for correct rollup in Siebel Analytics Product Level PRDINT_ID (always try to populate data at the lowest level - form strength)
RXPrf
Prescription data by Contact Indirect Sales Brick Level Indirect Sales Account Level
Total
NRx
TRx
SlsIndBrk
Total
SlsIndAct
Total
Position ID POSITION_ID
Account ID OU_EXT_ID
Attribute 1 (Attrib_01)
Attribute 1 (Attrib_02)
Attribute 1 (Attrib_03)
Attribute 1 (Attrib_04)
Period ID PERIOD_ID
Territory ID TERR_ID
Contact ID CON_ID
Brick ID AREA_ID
Period ID PERIOD_ID Position ID POSITION_ID Postal Code ZIPCODE Account ID OU_EXT_ID Contact ID CON_ID
Brick ID AREA_ID Total Total Payor Level PLAN_ID Foreign Key to S_INS_PLAN Form Strength Product Level PRDINT_ID (always try to populate data at the lowest level - form strength)
Attribute 1 (Attrib_01) Product Sales Units 13 Product Sales Units 12 Product Sales Units Product Sales Units
Required fields (x) and data population rules for correct rollup in Siebel Analytics
Attribute 1 (Attrib_04) 11 23 Siebel Pharma Analytics Business Model Data Source Codes
Siebel Data Warehouse for Life Sciences Data Considerations Importing Syndicated Data into Siebel Data Warehouse
3 97
Table 109. S_SYND_DATA Data Population Rules
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Require d Codes SlsDirZip Indirect Sales Zip Level Direct Sales Zip Level x x x x x Total Form Strength x Product Sales $ x Form Strength Form Strength x Total x x x x x x x x Direct Sales Brick Level Direct Sales Account Level SlsDirAct SlsDirBrk SlsIndZip Data Types
Table 109. S_SYND_DATA Data Population Rules Require d Codes Data Types
Siebel Data Warehouse for Life Sciences Data Considerations Importing Syndicated Data into Siebel Data Warehouse
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4 398
Required fields (x) and data population rules for correct rollup in Siebel Analytics Product Level PRDINT_ID (always try to populate data at the lowest level - form strength)
RXEVM
Weekly RX Data by Contact Plan Level Rx Data Sales Market Incentives Sales Market Modified Plan Level Physician Rx Data
Total
Form Strength Form Strength Form Strength Form Strength Form Strength
Product NRx Product NRx Product NRx Product NRx Product NRx
Product TRx Product TRx Product TRx Product TRx Product TRx
Market NRx Market NRx Market NRx Market NRx Market NRx
Market TRx Market TRx Market TRx Market TRx Market TRx
RXPT RXSMI
x x
x x x
Plan Total
x x
RXSMM
Total
RXXPT
Plan
Position ID POSITION_ID
Account ID OU_EXT_ID
Attribute 1 (Attrib_01)
Attribute 1 (Attrib_02)
Attribute 1 (Attrib_03)
Attribute 1 (Attrib_04)
Period ID PERIOD_ID
Territory ID TERR_ID
Contact ID CON_ID
Brick ID AREA_ID
Period ID PERIOD_ID Position ID POSITION_ID Postal Code ZIPCODE Account ID OU_EXT_ID Contact ID CON_ID
Brick ID AREA_ID Total Payor Level PLAN_ID Foreign Key to S_INS_PLAN Form Strength Product Level PRDINT_ID (always try to populate data at the lowest level - form strength)
Market Level MARKET_ID Product NRx Product TRx Market NRx Market TRx 8 Product NRx Product TRx Market NRx Market TRx 7
Attribute 1 (Attrib_01)
Attribute 1 (Attrib_02)
Required fields (x) and data population rules for correct rollup in Siebel Analytics
Attribute 1 (Attrib_03)
Attribute 1 (Attrib_04) Siebel Pharma Analytics Business Model Data Source Codes
Siebel Data Warehouse for Life Sciences Data Considerations Importing Syndicated Data into Siebel Data Warehouse
3 99
Table 109. S_SYND_DATA Data Population Rules
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
RXZip RXBrk Prescription data by Brick x x x x Total Form Strength x x x x Prescription data by Zipcode Require d Codes Data Types
Siebel Data Warehouse for Life Sciences Data Considerations Life Sciences Data Loading Issues with Siebel Data Warehouse
For incremental insert. Prepare flat file source data that has new data with the new INTEGRATION_ID. Load the data directly into the staging table and modify the session not to truncate the fact tables. Then use the existing ETL to load data into fact tables. For incremental update. Create new mappings that do a lookup against the fact tables and run the update. Make sure that INTEGRATION_ID used in the flat file source and in the target tables are not identical. Because the incoming syndicated data in the flat file going to the target tables is in the normalized format, the INTEGRATION_ID must be manipulated properly. However, the constant rule is applied when the INTEGRATION_ID is manipulated during the ETL load. The syndicated data during the first bulk load has the original in-coming INTEGRATION_ID || -1; the 26th bulk load has the original in-coming INTEGRATION_ID || -26.
400
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Siebel Data Warehouse for Life Sciences Data Considerations Incremental Updates in the Siebel Data Warehouse LS Dimension Tables
In Siebel Business Analytics Applications Version 7.8.3, MAT aggregate measures are handled by the ETL process, not by metadata. All other aggregate measures are handled by metadata.
W_ALIGNMT_DH Base Dimensional Hierarchy Table. Attribute. Zip code, Brick, or Account/Contact Hierarchy depends on what alignment item type is selected. Description. Contains the current version of alignment only.
W_ALIGNVER_DH Slowly Changing Dimension Type. 2 Attribute. Historical Zip code, Brick, or Account/Contact Hierarchy depends on what alignment item type is selected. Description. Tracks historical alignments.
Depending on what alignment item type is selected in AlignmentType.csv, only the selected alignment rule is extracted and loaded into the Siebel Data Warehouse. You can change the alignment item type only when you run full refresh ETL. When the alignment rule is loaded into Oracles Siebel Data Warehouse, the current alignment rule is stored in the W_ALIGNMT_DH base table and the existing historical alignment rules are stored in W_ALIGNVER_DH table.
If ETL Alignment Version is set to N, ETL makes changes to existing alignment if there is a change on an assignment rule. If ETL Alignment Version is set to Y, it creates a new alignment version. Any existing alignment moves to the W_ALIGNVER_DH table as history. The W_ALIGNVER_DH table is used only when the ETL Alignment Version is set to Y The dimension has these characteristics:
The first alignment after Full load is 1. A new version is created when a new assignment rule (new position or position relationship) or an assignment criteria is modified (change in postal code, brick, contact, or account) if ETL Alignment Version is set to Y. Assignment criteria:
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
40 1
Siebel Data Warehouse for Life Sciences Data Considerations Incremental Updates in the Siebel Data Warehouse LS Dimension Tables
Contact ZIP Code or Account ZIP Code cannot use ZIP Code ranges. Each ZIP Code assigned to a territory needs to be on a separate row, so the same value needs to be entered for both ZIP Code Low and ZIP Code High. For example, if ZIP Code 09654 is assigned to a territory, the value for both ZIP Code High and ZIP Code Low should be 09654. Also, the same ZIP Code should not be assigned twice to the same territory and a ZIP Code should be unique to a territory when using assignment criteria for Contact ZIP Code or Account ZIP Code. Contact Brick or Account Brick require unique bricks assigned to a territory.
Every new version increases the counter by one and is a sequential number. Any pre-existing history version alignment data moves to W_ALIGNVER_DH historical alignment table whenever a new version is created. That is, the W_ALIGNMT_DH table always maintains the latest version while the W_ALIGNVER_DH table maintains the rest of the historical version if the ETL Alignment Version is set to Y. So, when the historical alignment dimension table gets too large, your administrator can create a SQL query to delete all attributes for version numbers from the W_ALIGNVER_DH table. Effective date of the alignment is assignment activation date.
W_ORG_D Slowly Changing Dimension Type. 3 Attributes. ACCNT_TYPE_CD, ACCNT_TYPE_CD1, ACCNT_TYPE_CD2, ACCNT_TYPE_CD3 Description. Tracks three past account types. If the account type changes a fourth time, the first change is deleted and only the past three changes are maintained. Effective date is ETL run date to each group of attributes. Attributes. NAME, NAME1, NAME2, NAME3 Description. Tracks three past account names. If the account name changes a fourth time, the first change is deleted and only the past three changes are maintained. Effective date is ETL run date. Attributes. NUMB_OF_BEDS, NUMB_OF_BEDS1, NUMB_OF_BEDS2, NUMB_OF_BEDS3 Description. For an account type of hospital and clinic, tracks three past quantities. If the number of beds changes a fourth time, the first change is deleted and only the past three changes are maintained. Effective date is ETL run date. Attributes. PAR_INTEGRATION_ID, PAR_ITGR_ID1, PAR_ITGR_ID2, PAR_ITGR_ID3 Description. Tracks three past parent accounts. If the parent account changes a fourth time, the first change is deleted and only the past three changes are maintained. Effective date is ETL run date.
402
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Siebel Data Warehouse for Life Sciences Data Considerations Incremental Updates in the Siebel Data Warehouse LS Dimension Tables
W_POSTN_CON_D Slowly Changing Dimension Type. 3 Attributes. STATUS, STATUS1, STATUS2, STATUS3 Description. Tracks three past contact statuses. If the contact status changes a fourth time, the first change is deleted and only the past three changes are maintained. Effective date is ETL run date.
W_POSITION_D Slowly Changing Dimension Type. 3 Attributes. EMP_FST_NAME, EMP_MID_NAME, EMP_LAST_NAME, EMP_FST_NAME_H1, EMP_MID_NAME_H1, EMP_LAST_NAME_H1, EMP_FST_NAME_H2, EMP_MID_NAME_H2, EMP_LAST_NAME_H2, EMP_FST_NAME_H3, EMP_MID_NAME_H3, EMP_LAST_NAME_H3 Description. Tracks three past employee names assigned to a position. If the employee name changes a fourth time, the first change is deleted and only the past three changes are maintained. Effective date is ETL run date.
W_ACCNT_RNK_D/W_ACCNT_RNK_SCD Slowly Changing Dimension Type. 3 and 2 respectively Attributes. RANKING, RANKING1, RANKING2, RANKING3 Description. Keep three previous rankings to allow restatement in W_ACCNT_RNK_D table. In addition, the historical account ranking is all maintained in W_ACCNT_RNK_SCD. Effective date is ETL run date. Attributes. RATING, RATING1, RATING2, RATING3 Description. Keep three previous ratings to allow restatement in W_ACCNT_RNK_D table. In addition, the historical account ratings are all maintained in W_ACCNT_RNK_SCD. Effective date is ETL run date.
W_CON_RNK_D/W_CON_RNK_SCD Slowly Changing Dimension Type. 3 and 2 respectively Attributes. RANKING, RANKING1, RANKING2, RANKING3 Description. Keep three previous rankings to allow restatement in W_CON_RNK_D table. In addition, the historical contact rankings are all maintained in W_CON_RNK_SCD. Effective date is ETL run date. Attributes. RATING, RATING1, RATING2, RATING3 Description. Keep three previous ratings to allow restatement in W_CON_RNK_D table. In addition, the historical contact ratings are all maintained in W_CON_RNK_SCD. Effective date is ETL run date.
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
40 3
Siebel Data Warehouse for Life Sciences Data Considerations Incremental Updates in the Siebel Data Warehouse LS Dimension Tables
W_PRODUCT_D Slowly Changing Dimension Type. 3 Attributes. VENDOR_LOC, VENDOR_LOC1, VENDOR_LOC2, VENDOR_LOC3 Description. Tracks three past vendor locations. If the vendor location changes a fourth time, the first change is deleted and only the past three changes are maintained. Effective date is ETL run date.
404
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Index
A
action links about 285 quotation marks, about 285 testing 286 alignments dimension, configuring ANSI NULL option, setting 43 Attribute Analysis, configuring for
340 332
currency, diagnosing translation issues 232 customizing data warehouse, ETL process concepts Siebel Data Warehouse 201 templates 209
203
D
DAC Design view 173 DAC config.bat configuring 69 DAC metadata repository configuring 72 DAC query functionality 153 DAC server server monitor icon 143 dashboards CME dashboards and pages 337 consumer sector dashboards and pages 333 custom labels, editing in 270 customizing, about 288 forecasting charts, enabling 330 views, adding 290 data flow Online Analytical Processing (OLAP) database, about and diagram 23 data import syndicated data loading, overview 346 data loading See also Data Loading Matrix Siebel Analytics for Life Sciences, issues when loading 400 troubleshooting, Informatica and data loading issues 236 Data Warehouse See Siebel Data Warehouse, Siebel Relationship Management Warehouse data warehouse architecture 22 database connections 79 overview 21 Data Warehouse Application Console user interface 136 Data Warehouse Application Console (DAC) about 24
B
bridges architecture 256 overview 255 setting up transactional database 256 browsers settings, configuring 288 bulkload mode, error while creating a custom session 240
C
change capture filter using 162 circular hierarchy exceptions, about and example 229 CME analytics applications dashboards and pages 337 data requirements 339 order management analytics, about 336 predictive scores, developing and deploying 331 complex products defined 336 configuring DAC client 69 DAC config.bat 69 DAC metadata repository 72 email recipients in DAC client 80 Siebel Data Warehouse database 82 SSE role 82 consumer sector See Siebel Consumer Sector Analytics applications Cost List exceptions See also exception reports about and example 228 Cost lists, using to display 232 products without a cost list 229
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
40 5
Index E
configuring on UNIX 128 Current Run tab 194 Database Connections tab 191 Design view 173 distributing metadata 152 editable lists 144 Email Recipients tab 193 ETL preferences 100 Execute view 194 executing ETLs 155 Execution Plans tab 173 handling ETL failures 160 Indices tab 181 Informatica Servers tab 191 logging in 145 main toolbar 136 menu bar 140 navigation tree 144 preview functionality 150 process life cycle 29 right-click menu 137 Run History tab 197 Setup view 190 Subject Areas tab 176 System Properties tab 191 Table Groups tab 177 Tables tab 179 Task Definitions tab 184 Data Warehouse Application Console (DAC) client configuring 69 Data Warehouse Application Console (DAC) system properties setting up 73 database connection ODBC 77 database connections transactional, creating 79 database connections, creating DB2 installations, creating database connections for 77 Oracle installation, creating database connections for 78 data-level security about 300 implementing 302 DB Library Options setting, modifying 44 DB2 database connections, creating for 77 Siebel Data Warehouse requirements 36 Siebel Data Warehouse, cannot connect to 235 Delete triggers creating 106
dimensions alignments dimension, configuring 340 pharmaceuticals, configuring dimensions specific to 341 positions dimension, configuring 339 product costs, configuring 341 products dimension, configuring 341
E
eBusiness Applications See Siebel Operational Applications email notification, Outlook error when sending post session email 240 Enterprise Manager, error displayed after installing ODBC driver 235 environment variables setting on UNIX 125 setting up on Windows 86 errors See troubleshooting ETL History view, using to view the history of the ETL processes and statuses 232 exception reports See also Cost List exceptions; system preferences additional exceptions, list of 232 circular hierarchy exceptions, about and example 229 cleansing the data, process and diagram 230 ETL History view, using to view the history of the ETL processes and statuses 232 exception report components, list of 227 exception, fixing 231 exchange rate exceptions, about 229 Exchange Rate view, using to diagnose currency translation issues 232 executing the report, cleansing steps 230 invalid hierarchy exceptions, about 229 List of Values exceptions 227 List of Values view, using to compare values with Siebel Data Warehouse 231 exchange rate exceptions, about 229 Exchange Rate view, using to diagnose currency issues 232 execution plans pruning 147 tailoring 145
F
filters for security groups, about 303
406
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Index H
Finance Analytics application logical table sources, disabling 330 logical table sources, updating 328 metadata translation strings, externalizing 329 security settings 320 Full_Extract_Siebel_DW, error returned by Informatica 237 Full_Load_Siebel_DW error when running 237 Full_Load_Siebel_DW_Facts, error message when executing 238
H
Healthcare Analytics security settings 320 hierarchical relationships, invalid hierarchy exceptions, about 229 home page content, customizing 289 customizing, about 288 path argument, determining 290
I
importing Siebel Industry Applications seed data 280 Incentive Compensation Analytics, turning on 287 Informatica creating custom workflows 205 installing patches on UNIX 124 license files, updating on UNIX 124 Informatica client software Enable Data Code Pages Validation, checking if conditions met 69 Informatica Metadata Reporter (IMR) error when running, probable cause 240 Informatica patches installation 68 Informatica PowerCenter installation wizard 66 Informatica repository configuring 89 configuring in DAC 95 configuring in Workflow Manager 98 creating 89 dropping 92 pointing to 94 restoring 89 verifying configuration 99 Informatica Repository Server installing on UNIX 115 registering 93 starting 90
Informatica Server installing on other than default location 98 installing on UNIX 117 registering 80 setting up 84 starting 100 starting on UNIX 130 stopping on UNIX 130 Informatica Server and repository, configuring Unicode mode, configuring under Windows 86 Windows, setting up Informatica service under 100 Informatica Service, unable to start on Windows 100 initialization blocks checking execution order 274 position and organization initialization variables 304 security information, and 302 installation data warehouse installation and configuration process 32 database connectivity 70 Informatica patches 68 Informatica PowerCenter 66 Informatica Server, installing on other than default directory 98 Java SDK 69 Java SDK and drivers 69 JDBC drivers 70 Siebel Analytics Applications installation process task list 64 Usage Accelerator 261 wizard, Siebel Analytics Applications 65 Insurance Analytics security settings 320 IP address virtual IP address, creating 284 virtual IP address, testing 284
J
Java SDK installation JDBC drivers installation 69 70
L
language packs installing 278 licensing product licensing
17
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
40 7
Index M
List of Values exceptions, about and example 227 view, using to compare values with the Siebel Data Warehouse 231 localization packs installing 278 LOVs, adding 275 LS dimension tables, supported incremental updates (table) 401
predictive scores, developing and deploying 331 product costs dimension, configuring 341 products dimension, configuring 341 Microsoft Outlook closes when finishing ETL process, probable cause 240 error when sending post session email 240
M
metadata object level security repository groups 309 Web Catalog groups 310, 311 Web Catalog security 310, 311 metadata strings externalizing 273 metadata, Siebel Analytical applications Attribute Analysis, configuring for 332 dashboard forecasting charts, enabling 330 metadata, Siebel Industry applications alignments dimension, configuring 340 Analytics applications, about metadata requirements 332 CME dashboards and pages 337 CME data requirements 339 consumer sector dashboards and pages 333 consumer sector data requirements 335 dimensions, configuring specific to pharmaceuticals 341 Finance Analytics applications, disabling logical table sources 330 Finance Analytics applications, externalizing metadata translation strings 329 Finance Analytics applications, updating logical table sources 328 Pharma customer demographics, configuring subject area 343 Pharma medical education effectiveness, configuring subject area 342 Pharma objectives achievement, configuring subject area 343 Pharma product categories, configuring subject area 342 Pharma promotional effectiveness, configuring subject area 342 Pharma Sales Analytics, about metadata requirements 339 Pharma sales effectiveness, configuring subject area 341 positions dimension, configuring 339
O
ODBC creating database connections 77 OLAP See Online Analytical Processing database Online Analytical Processing database about 34 Data Warehouse, data flow into 23 Online Transaction Processing database Online Analytical Processing database, differences from 34 OPB_OBJECT_LOCKS Informatica session deadlocked, probable cause 239 Oracle database connections, creating for 78 mappings hang, probable cause 236 Siebel Data Warehouse requirements 38 order management analytics, about 336 organization-based security initialization variables 304 position-based security, changing from 309 Outlook closes when finishing ETL process, probable cause 240 error when sending post session email 240
P
parameter files copying 87 parent-child relationship, circular hierarchy exceptions 229 performance components configured to optimize performance 46 Pharma customer demographics, configuring subject area 343 medical education effectiveness, configuring subject area 342 objectives achievement, configuring subject area 343 product categories, configuring subject area 342
408
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Index Q
promotional effectiveness, configuring subject area 342 sales effectiveness, configuring subject area 341 Pharma Sales Analytics alignments dimension, configuring 340 dimensions, configuring specific to pharmaceuticals 341 metadata requirements, about 339 Pharma customer demographics, configuring subject area 343 Pharma medical education effectiveness, configuring subject area 342 Pharma objectives achievement, configuring subject area 343 Pharma product categories, configuring subject area 342 Pharma promotional effectiveness, configuring subject area 342 Pharma Sales effectiveness, configuring subject area 341 positions dimension, configuring 339 product costs dimension, configuring 341 products dimension, configuring 341 security settings 322 position-based security initialization variables 304 organization-based security, changing to 309 positions dimension, configuring 339 predictive analytics metadata predictive scores, developing and deploying 331 product costs dimension, configuring 341 product licensing 17 products dimension, configuring 341
user responsibilities, checking 296 user responsibilities, registering new responsibility 296
S
S_MSG table, adding custom translations 274 Sales Analytics dashboard forecasting charts, enabling 330 schema definitions transactional database, updating 104 SDE_RecordLoadStart session fails, probable cause 239 SDEINC_RecordExtractStart session fails, probable cause 239 security CME security settings 319 consumer sector security settings 318 data-level security, about 300 data-level security, implementing 302 default security settings 296 filters for security groups, about 303 initialization blocks and security 302 metadata object level security (repository groups), about 309 metadata object level security (Web Catalog groups), about 310 operational applications security 305, 307, 311 position and organization initialization variables 304 repository table joins, configuring 303 responsibilities and access in Siebel Analytics 296 responsibilities, integrated security for 295 security group, changing to organizationbased 309 security levels, about 295 Siebel ERM Analytics security settings 307 Siebel Finance Analytics security settings 320 Siebel Pharma Sales Analytics security settings 322 Siebel PRM Analytics security settings 311 Siebel Sales Analytics security settings 305 Siebel Usage Accelerator Analytics security settings 324 user responsibilities, checking 296 user responsibilities, registering new responsibility 296 Web Catalog security 310, 311
Q
Query Analyzer, can not open after installing ODBC driver 235
R
RDBMS error message, probable cause 238 Refresh_Extract_Siebel_DW error returned by Informatica 237 reports custom labels, editing 270 responsibilities access in Siebel Analytics 296 integrated security, about 295 Siebel ERM Analytics, and data-level visibility 307
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
40 9
Index S
seed data importing 270 Siebel Industry Applications seed data, importing 280 server components, installation requirements See also server component software Siebel Data Warehouse, about 34 setting up DAC system properties 73 Siebel Analytics Applications bridges, overview 255 installation and configuration flow 63 installation and configuration process task list 64 installation process 110 installation wizard 65 installing, UNIX 114 overview 61 UNIX, deploying 109 Siebel Analytics applications, configuring action links with quotation marks, about 285 action links, about 285 action links, testing 286 browser settings, configuring 288 dashboards, adding views 290 home page and dashboards, about customizing 288 home page content, customizing 289 home page, determining path argument 290 Incentive Compensation Analytics, turning on 287 optional Siebel Analytics applications, accessing 286 process 279 Siebel operational applications, about integrating within 286 Siebel operational applications, completing initialization 281 Siebel Web Extension, configuring to work with 283 virtual IP address, creating 284 virtual IP address, testing 284 Siebel Analytics Charts custom labels, editing in dashboards 270 initialization blocks, checking execution order 274 local seed data, importing 270 localization packs, installing 278 LOV, adding 275 metadata strings, externalizing 273 S_MSG table, adding custom
translations 274 Siebel Analytics seed data, updating for nonEnglish locales 270 Siebel Financial Service metadata import files, about 271 string translations, adding for metadata 276 translation tables, process of maintaining 269 Web catalog strings, about translating 277 Siebel Analytics for Life Sciences data loading issues 400 LS dimension tables, supported incremental updates (table) 401 Siebel Analytics Presentation layer process of maintaining translation tables 269 Siebel Analytics repository externalizing metadata strings 273 repository groups, security 309 table joins, configuring 303 Siebel Analytics seed data updating for non-English locales 270 Siebel CME Analytics applications dashboards and pages 337 data requirements 339 predictive scores, developing and deploying 331 security settings 319 Siebel Communications, Media, and Energy Analytics See Siebel CME Analytics applications Siebel Consumer Sector Analytics applications consumer sector dashboards and pages 333 consumer sector data requirements 335 security settings 318 Siebel Data Warehouse architecture 22 architecture components 23 customizing 201 database parameters and requirements 34 database, configuring 82 DB2 requirements 36 deployment configuration 32 operating system, driver, connectivity requirements 33 Oracle requirements 38 overview 21 SQL server-specific requirements 43 tables, creating 82 templates for customizations 209 Teradata requirements 48
410
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Index S
Siebel ERM Analytics responsibilities and data-level visibility 307 Siebel Finance Analytics applications logical table sources, disabling 330 logical table sources, updating 328 metadata translation strings, externalizing 329 security settings 320 Siebel Financial Service metadata import files, about 271 Siebel Healthcare Analytics security settings 320 Siebel Industry Applications alignments dimension, configuring 340 Analytics applications, about metadata requirements 332 CME dashboards and pages 337 CME data requirements 339 CME security settings 319 consumer sector dashboards and pages 333 consumer sector data requirements 335 consumer sector security settings 318 dimensions, configuring specific to pharmaceuticals 341 Finance Analytics applications, disabling logical table sources 330 Finance Analytics applications, externalizing metadata translation strings 329 Finance Analytics applications, updating logical table sources 328 Pharma customer demographics, configuring subject area 343 Pharma medical education effectiveness, configuring subject area 342 Pharma objectives achievement, configuring subject area 343 Pharma product categories, configuring subject area 342 Pharma promotional effectiveness, configuring subject area 342 Pharma Sales Analytics, about metadata requirements 339 Pharma sales effectiveness, configuring subject area 341 positions dimension, configuring 339 predictive scores, developing and deploying 331 product costs dimension, configuring 341 products dimension, configuring 341 seed data, importing 280 Siebel Financial Services security settings 320
Siebel Pharma Sales security settings 322 Siebel Usage Accelerator Analytics security settings 324 Siebel Insurance Analytics security settings 320 Siebel Operational Applications dashboards, adding views 290 home page content, customizing 289 home page path argument, determining 290 initialization, completing 281 security 305, 307, 311 Siebel Analytics, about integrating within 286 Siebel ERM Analytics security settings 307 Siebel PRM Analytics security settings 311 Siebel Sales Analytics security settings 305 Siebel Operational Applications, integration with data types 279 Siebel Industry Applications seed data, importing 280 Siebel Pharma Sales Analytics applications alignments dimension, configuring 340 dimensions, configuring specific to pharmaceuticals 341 metadata requirements, about 339 Pharma customer demographics, configuring subject area 343 Pharma medical education effectiveness, configuring subject area 342 Pharma objectives achievement, configuring subject area 343 Pharma product categories, configuring subject area 342 Pharma promotional effectiveness, configuring subject area 342 Pharma Sales effectiveness, configuring subject area 341 positions dimension, configuring 339 product costs dimension, configuring 341 products dimension, configuring 341 security settings 322 Siebel PRM Analytics data-level visibility 317 portal-based analytics dashboard mapping 314 role-based analytics dashboard mapping 311 security group, changing to organizationbased 309 subject area mapping 315 subject area visibility 316
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
41 1
Index T
Siebel Sales Analytics dashboard forecasting charts, enabling 330 responsibilities and data-level visibility 305 Siebel Transaction Database connection error 235 Cost lists, displaying 232 Siebel Transactional database importing locale seed data 270 Siebel transactional database Siebel Data Warehouse, differences from 34 Siebel Usage Accelerator Analytics security settings 324 Siebel Web Extension configuring to work with 283 virtual IP address, creating 284 virtual IP address, testing 284 SIF files importing 104 verifying SIF patch 105 simple products defined 336 SQL SQL files as execution type 189 SQL Server DB Library Options setting, modifying Siebel Data Warehouse requirements SSE role creating 82 stored procedures creating 107 string translations adding for metadata 276 subject areas pruning 147 SWE See Siebel Web Extension syndicated data importing, overview 346 system preferences See also exception reports
installation checklist for UNIX 132 installing patches on UNIX 124 loader control files, copying 88 setting up Hosts file on UNIX 126 translation tables process of maintaining 269 troubleshooting Data Warehouse Application Console (DAC) 247 Informatica and data loading issues 236 Siebel Data Warehouse installation 235 Unicode 242 UNIX installation 244
U
Unicode custom labels, editing in dashboards 270 deploying Informatica and Siebel Data Warehouse in 48 initialization blocks, checking execution order 274 local seed data, importing 270 localization pack, installing 278 LOV, adding 275 metadata strings, externalizing 273 S_MSG table, adding custom translations 274 Siebel Analytics seed data, updating for nonEnglish locales 270 Siebel Financial Service metadata import files, about 271 string translations, adding for metadata 276 translation tables, process of maintaining 269 Web catalog strings, about translating 277 Unicode mode Windows, configuring under 86 UNIX deploying Siebel Analytics Applications 109 updating license files 124 URL dashboards, configuring for 290 home page, configuring for 289 Usage Accelerator installing 261 Usage Accelerator Analytics security settings 324 user responsibilities checking 296 new responsibility, registering 296
44 43
T
table groups pruning 147 Teradata activating join indexes 81 code page file property, setting 98 configuration checklist, Windows 108 creating and dropping tables 83 data warehouse requirements 48 Hosts file, setting up 99
412
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
Index V
V
views, adding to dashboards virtual IP address creating 284 testing 284 290
W
Web Catalog groups metadata object security 310 Siebel Analytics applications, security in 310, 311 Web Catalog strings
about translating 277 Windows Informatica Server, setting up under 100 Unicode mode, configuring under Windows 86 workflows error message when executing on the Informatica Server Manager, probable cause 237 Server Manager error message, probable cause 236
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4
41 3
Index W
414
Siebel Business Analytics Applications Installation and Administration Guide Version 7.8.4