TM1 TurboIntergator Guide
TM1 TurboIntergator Guide
Version 10.2.0
TurboIntegrator Guide
Note
Before using this information and the product it supports, read the information in Notices on page 97.
Product Information
This document applies to IBM Cognos TM1 Version 10.2.0 and may also apply to subsequent releases.
Licensed Materials - Property of IBM
Copyright IBM Corporation 2007, 2013.
US Government Users Restricted Rights Use, duplication or disclosure restricted by GSA ADP Schedule Contract
with IBM Corp.
Contents
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii
Chapter 1. TurboIntegrator Basics . . . . . . . . . . . . . . . . . . . . . . . . 1
Data Sources Available with TurboIntegrator. . . . . . . . . . .
String Length Limit in TurboIntegrator . . . . . . . . . . . .
Importing Options . . . . . . . . . . . . . . . . . . .
TurboIntegrator Functions . . . . . . . . . . . . . . . . .
Processes and Chores . . . . . . . . . . . . . . . . . .
Order of Operations within a TurboIntegrator Process . . . . . . .
Notes on TurboIntegrator Processes. . . . . . . . . . . . . .
Simultaneous Connections to the Same TM1 Server . . . . . . . .
Aliases in TurboIntegrator Functions . . . . . . . . . . . . .
Using Personal Workspaces and Sandboxes with TurboIntegrator Processes
Manually Running a TurboIntegrator Process with a Personal Workspace
Using TurboIntegrator Functions with Sandboxes . . . . . . . .
.
.
.
.
.
.
.
.
.
.
or
.
. . .
. . .
. . .
. . .
. . .
. . .
. . .
. . .
. . .
. . .
Sandbox
. . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
1
1
1
2
2
2
3
4
4
4
4
5
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. 7
. 7
. 9
. 11
. 13
. 13
. 13
. 14
. 14
. 15
. 15
. 15
. 15
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
17
17
18
18
. . . . . . . . . . . . . . . . . 19
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
19
19
19
20
20
20
21
. .
. .
. .
. .
. .
. .
Data
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
Source When Using
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
. . . . . . .
CAM Authentication
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
23
23
23
23
23
23
24
iii
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
25
25
26
27
27
28
28
29
30
30
Chapter 6. Importing Data Using the IBM Cognos TM1 Package Connector . . . . . . 31
Establishing a Connection to the Cognos BI Server . . . . . . . .
Connecting to Published Packages - Package and Dimension option .
Importing a Single Dimension . . . . . . . . . . . . . .
Connecting to Published Packages - Custom Query option . . . . .
Saving and Executing the TurboIntegrator Process . . . . . . . .
Seeing the Results . . . . . . . . . . . . . . . . . . .
Guidelines for Working with SAP BW Data. . . . . . . . . . .
Working with SAP BW Data Using a Package in Framework Manager.
Specifying a Segmenting Prompt for an SAP BW Query . . . . .
Performing parallel queries with a segmenter prompt . . . . . . .
Invalid key errors when executing measure query . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
31
32
36
36
38
38
38
38
44
45
45
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
47
47
48
48
48
49
50
50
54
56
57
58
58
60
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
64
64
64
64
64
65
65
65
iv
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
67
67
68
68
75
79
79
86
87
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
89
91
94
95
Notices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
Contents
vi
Introduction
This document is intended for use with IBM Cognos TM1.
This manual describes how to use IBM Cognos TM1 TurboIntegrator to import
data and metadata from a variety of Business Analytics sources.
Business Analytics provides software solutions for the continuous management and
monitoring of Financial, Operational, Customer and Organizational performance
across the enterprise.
Finding information
To find IBM Cognos product documentation on the web, including all translated
documentation, access one of the IBM Cognos Information Centers
(http://pic.dhe.ibm.com/infocenter/cogic/v1r0m0/index.jsp). Release Notes are
published directly to Information Centers, and include links to the latest technotes
and APARs.
Samples disclaimer
The Samples Outdoors Company, GO Sales, any variation of the Great Outdoors
name, and Planning Sample depict fictitious business operations with sample data
used to develop sample applications for IBM and IBM customers. These fictitious
records include sample data for sales transactions, product distribution, finance,
and human resources. Any resemblance to actual names, addresses, contact
numbers, or transaction values is coincidental. Other sample files may contain
fictional data manually or machine generated, factual data compiled from
academic or public sources, or data used with permission of the copyright holder,
for use as sample data to develop sample applications. Product names referenced
may be the trademarks of their respective owners. Unauthorized duplication is
prohibited.
Accessibility features
Accessibility features help users who have a physical disability, such as restricted
mobility or limited vision, to use information technology products.
This product does not currently support accessibility features that help users with
a physical disability, such as restricted mobility or limited vision, to use this
product.
Forward-looking statements
This documentation describes the current functionality of the product. References
to items that are not currently available may be included. No implication of any
future availability should be inferred. Any such references are not a commitment,
promise, or legal obligation to deliver any material, code, or functionality. The
development, release, and timing of features or functionality remain at the sole
discretion of IBM.
vii
viii
Relational database tables that are accessible through an ODBC data source.
Other cubes and views.
Microsoft Analysis Services.
SAP via RFC.
IBM Cognos packages
See the other sections in this manual for details about each of these source types.
Importing Options
When you import data using TurboIntegrator, you have the following options:
v Create a cube and populate it with data imported from the source.
v Re-create a cube. This destroys a currently-existing cube and recreates it,
allowing you to change both data and metadata during the import.
v Update an existing cube, maintaining the cube's structure. This enables you to
import data into an existing cube structure.
v Create a dimension from data imported from a source.
Copyright IBM Corp. 2007, 2013
TurboIntegrator Functions
TurboIntegrator includes a series of functions that let you manipulate cubes, views,
dimensions, elements, and other TM1 objects while importing data.
In addition to these TurboIntegrator functions, you can also incorporate all
standard TM1 rules functions in a TurboIntegrator process, with the exception of
the STET function.
TurboIntegrator functions are described in "TM1 TurboIntegrator Functions" in the
IBM Cognos TM1 Reference Guide.
1. The Prolog procedure is executed before the data source for the TurboIntegrator
process is opened.
2. If the data source for the process is None, TurboIntegrator immediately
executes the Epilog procedure after the Prolog finishes processing.
Note: When the data source for a process is None, the Metadata and Data
procedures are ignored. In this case, all scripts for the process must be created
in either the Prolog or Epilog procedures.
3. If the data source is anything other than None, TurboIntegrator opens the data
source for the process.
4. All lines in the Metadata procedure are sequentially executed against the first
record in the data source. All lines are then sequentially executed against the
second record in the data source, and so on until all records are processed.
5. All lines in the Data procedure are sequentially executed against the first record
in the data source. All lines are then sequentially executed against the second
record in the data source, and so on until all records are processed.
6. TurboIntegrator closes the data source after the Data procedure is completed.
7. The Epilog procedure is executed.
8. TM1 closes the TurboIntegrator process.
You must, however, create a logical sequence of functions to ensure that a process
accomplishes your goal. For example, if you want to build a process that adds new
elements to a dimension and updates data values for the new elements, you must
be sure that the process adds the new elements and compiles the dimension before
attempting to update data values for the new elements. In most circumstances, you
would add the new elements in the Metadata procedure using the
DimensionElementInsert function, then update values in the Data procedure using
the CellPutN function.
Using the above example, if you attempt to build a process in which both new
elements are added and corresponding data values are updated in the Data
procedure, the process will fail. The failure occurs because, as noted above, altered
dimensions are compiled only at the conclusion of a procedure. Until the
dimension is compiled, the new elements do not exist. TurboIntegrator cannot
update data values for elements that do not exist, so the process fails.
Note: Chores, and the processes they contain, cannot run against a Personal
Workspace or sandbox. When a process runs as part of chore, it can only run
against base data.
Procedure
1. In Server Explorer, open a view in the Cube Viewer.
2. Click the sandbox in the list of available sandboxes to select the sandbox you
want to use with the process.
3. In the Tree pane, right-click the process and click Use Active Sandbox to
enable the option.
4. Right-click the process and click Run.
Results
The process runs using the current active sandbox.
GetUseActiveSandboxProperty
SetUseActiveSandboxProperty
ServerActiveSandboxGet
ServerActiveSandboxSet
These functions are similar to the Use Active Sandbox property available in the
Server Explorer interface.
For more information, see the section about TurboIntegrator sandbox functions in
the IBM Cognos TM1 Reference Guide.
Procedure
1. Right-click Processes in the left pane of the Server Explorer and choose
Processes, Create New Process.
2. Click Text on the Data Source tab.
The TurboIntegrator window opens.
3. Click Browse.
The Select Input File dialog box opens.
4. Navigate to NewEngland.cma, select it, and click Open.
NewEngland.cma is available in either the PData or SData sample data
directory. If you accepted the default installation directory for TM1 , the full
path to the file is
C:\Program Files\Cognos\TM1\Custom\TM1Data\SData\NewEngland.cma
or
C:\Program Files\Cognos\TM1\Custom\TM1Data\PData\NewEngland.cma.
You may receive a message indicating that you should use Universal Naming
Convention (UNC) to specify the file location. If you are going to consistently
run your process against an ASCII file, you should use UNC and ensure the
following:
v If running a Microsoft Windows TM1 server, the ASCII file should reside on
a shared Windows directory so that the server can access it.
v If running a TM1 server on a UNIX operating system, your file should reside
on a shared network directory, one which both the TM1 Windows client and
the TM1 UNIX server can see.
Note: If running aTM1 server on a UNIX operating system, the input source
filename cannot contain any upper-case characters or spaces.
5. Click OK on the warning box.
6. Complete the TurboIntegrator dialog box as follows:
NewEngland.cma is a delimited source that uses commas as its delimiter;
double quote as a quote character; no title records; a period as a decimal
separator; and a comma as a thousands separator.
To define this source enter the following settings:
v At Delimiter Type, select Delimited.
v Select Comma as the Delimiter.
v Enter " at Quote Char.
v Leave the Number of Title Records field blank.
v Enter . at Decimal Separator.
v Enter , at Thousands Separator.
7. Click Preview.
TurboIntegrator shows you a sample of your source data at the bottom of the
window.
Procedure
1. Click the 1 column heading.
A break line displays in the column heading and extends through the three
records.
2. Click the break line and drag it to a position that separates the first column
from the second column.
A new column heading (2) displays.
3. Click column heading 2 and drag the new break line to a position that
separates the second column from the third column.
4. Set break lines for all remaining columns in the text source.
5. Click OK to return to the TurboIntegrator window.
Column 2
Column 3
Column 4
Column 5
Column 6
Supermart
Feb
2000000
Supermart
Feb
1400000
Supermart
Feb
2200000
Hartford
Supermart
Feb
1240000
New Haven
Supermart
Feb
2700000
Greenwich
Supermart
Feb
1700000
The first 3 columns form a hierarchy for a Location dimension that you will build
from the source text file:
v The New England consolidation is at the top of the hierarchy.
v The states Massachusetts and Connecticut are one level below New England.
v The third column, containing city names such as Boston and Hartford, supplies
simple elements at the lowest level of the hierarchy.
v The remaining columns are not used for the creation of the Location dimension.
Here is the Variables tab on the TurboIntegrator window for this data structure:
Table 2. Variables tab
Variable Name
Variable Type
Sample Value
V1
String
New England
V1
String
New England
Massachusetts
String
Massachusetts
Boston
String
Boston
SuperMart
String
SuperMart
Feb
String
Feb
V6
Numeric
2000000
To edit a variable name, click the name in the Variable Name column and type a
new name. For this exercise, the names of the first three variables were edited like
this:
Sample Value
Variable Name
New England
Region
Massachusetts
State
Boston
City
A variable name must begin with a letter, and can contain only these characters:
Character
Description
Upper-case Letters
A through Z
Lower-Case Letters
a through z
Digits
0 through 9
Period
Underscore
Dollar Sign
The Variable Type field identifies the contents of the column. For instance, the first
column of this data contains the string "New England". TurboIntegrator correctly
identifies the variable type as String.
Note: The Variable Type fields are usually set accurately for ASCII data, but not for
data extracted from an ODBC data source.
The Contents field can be defined with one of these settings:
Option
Description
Ignore
Element
Consolidation
Data
10
Option
Description
Attribute
Other
The column contains data that does not fall into any of the
previous four categories. Typically, this setting is used for
columns containing data that will be processed through custom
variables and formulas.
The text data in this example contains elements and consolidations for a Location
dimension:
v It does not contain any attributes.
v It does contain data values, but those values are irrelevant to the creation of the
Location dimension, as are the elements from other dimensions.
To define the variables for the Location dimension:
Procedure
1. Click the Variables tab on the TurboIntegrator window.
2. Set the Contents field for variables Region, State, and City as specified here:
Variable
Content
Region
Consolidation
State
Consolidation
City
Element
Mapping Variables
After you identify the variables in your data source, you must map those variables
to elements and consolidations.
To begin mapping variables, click the Maps tab on the TurboIntegrator window.
The Maps tab contains several additional tabs. The Cube tab is always available.
All other tabs become available based upon the column contents you set on the
Variables tab. For example, if you identify a column as containing elements, the
Dimension tab becomes available. If you identify a column as containing
consolidations, the Consolidations tab becomes available, and so on.
Procedure
1. Click the Cube tab.
2. Select No Action in the Cube Action box.
11
Mapping Dimensions
If you identify any columns in your data source as containing elements, you must
map those elements to the dimension you are creating:
Procedure
1. Click the Dimensions tab.
2. Type Location in the Dimension field.
If multiple elements map to the same dimension, type the dimension name for
each element.
When you type a new dimension name in the Dimension column, the Action
column defaults to Create.
If you type the name of an existing dimension, you have the option of
recreating or updating the dimension. If you choose the Recreate action, the
elements in the existing dimension are deleted and replaced by the data in the
data source. If you choose the Update action, the dimension is updated with
any new elements contained in the data source.
3. Select a type for each element from the appropriate Element Type menu. The
element type indicates the type of data identified by the element variable. In
TM1 , this setting is almost always Numeric.
4. Select an Element Order option. The element order determines how elements
are added to the dimension during processing.
The data in this example contains a single numeric element that maps to a new
Location dimension. The completed Dimensions tab displays as follows.
Example
Since you specified No Action on the Cube Mapping tab Disable Cube Mapping
on page 11, this Data tab becomes unavailable.
Mapping Consolidations
If you identify any columns in your data source as containing consolidations, you
must map consolidation paths for the dimension you are creating:
Procedure
1. Click the Consolidations tab.
The tab displays the variables that are defined as consolidations, Region and
State.
You can define the consolidation hierarchy of the dimension by specifying the
child variable of each consolidation variable.
2. The immediate child of the Region consolidation variable is State. Click the
right angle bracket button in the Child Variable field for the Region
consolidation, select State, and click OK.
3. The immediate child of the State consolidation variable is City. Click the right
angle bracket button in the Child variable field for the State consolidation,
select City, and click OK.
4. For each consolidation, click the Component Order button. The Component
Element Ordering dialog box opens.
5. Click Automatic, Name, and Ascending.
12
Note: When you are setting up multiple consolidations within the same
dimension, all the consolidations must be set to the same Component Element
Ordering settings. If you set two consolidations in the same dimension to
different Component Element Ordering settings, TurboIntegrator produces a
Sorting Information Mismatch error when you try to save and execute the
process.
Procedure
1. Click File, Save from the TurboIntegrator menu bar.
The Save Process As dialog box opens.
2. Enter a name for the process and click Save.
If TM1 encounters an error during compilation and saving, an error message
indicates the nature of the error. The TurboIntegrator window remains active,
so you can immediately correct any errors.
TM1 saves the process as a server object under Processes in the Server Explorer.
The process is now available for execution or modification.
To execute the process and create the dimension, click File, Execute from the
TurboIntegrator menu bar. You can also execute a process directly from the
Server Explorer by selecting the process and clicking Process, Execute Process.
If the process executes successfully, TM1 issues a confirmation message.
If TM1 is unable to execute the process, a dialog box details the errors
encountered during execution.
When NewEngland.cma is processed, a new Location dimension is created.
13
Procedure
1. In the left pane of the Server Explorer, right-click the Processes icon and select
Create New Process.
2. Click the Data Source tab on the TurboIntegrator window.
3. Choose Text as the Data Source Type.
4. Click the Browse button next to the Data Source Name field and select the
import_cube.csv file in your TI_data directory. If you accepted the default
installation directory, the full path to the TI_data directory is
C:\Program Files\Cognos\TM1\Custom\TM1Data\TI_Data
5. Set the Delimiter Type to Delimited, and choose Comma as the Delimiter.
Ignore the Quote Char and Number of Title Records fields for this example.
6. Make sure the Decimal Separator is period (.) and the Thousand Separator is
comma (,).
7. Click Preview to view the first few records of the data source.
Each record in import_cube.csv contains 6 fields. The first five fields contain
information that will be imported into TM1 as element names. The sixth
column contains cube data.
Variable Name
Variable Type
Sample Value
Contents
V1
String
Actual
Ignore
Massachusetts
String
Argentina
Ignore
V3
String
Ignore
Units
String
Units
Ignore
Jan
String
Jan
Ignore
V6
Numeric
313.00
Ignore
Procedure
1. Click the Variables tab. TurboIntegrator sets default values for each variable.
2. For each variable, select a type from the associated Variable Type menu.
In this example, no changes to the Variable Type fields are required. TM1
correctly identifies the type for each variable.
3. For each variable, select a content type from the associated Contents menu.
In this example, all variables with the exception of V6 should be identified as
Element. V6 should be identified as Data.
14
Procedure
1.
2.
3.
4.
Procedure
1. Click the Dimensions tab.
2. Set values in the Dimensions tab according to the following table.
Element Variable
Sample value
Dimension
Order in Cube
Actual
Actual
actvsbud2
Argentina
Argentina
region2
V3
model2
Units
Units
measures
Jan
Jan
month2
3. For all element variables, set the Action to Create, and the Element Type to
Numeric .
15
Procedure
1. Click the Execute button.
To save and execute the process:
TM1 prompts you to name and save the process.
2. Save the process as create_newcube.
After a few seconds, you should see confirmation that the process executed
successfully.
3. Open the Server Explorer. You should see that the cube import_cube has been
created and populated, and that all required dimensions have been created.
16
Procedure
1. Open the Server Explorer.
2. Right-click the Processes icon
beneath the server on which you want to
create the process and choose Create New Process.
3.
4.
5.
6.
17
Note: If the query references a table name that contains spaces, you must
enclose the name in double quotes.
7. Click Preview.
If the query was valid, and the connection was properly defined, the first ten
records of the target database table appear in the TurboIntegrator window.
See "Identifying Variables in the Data Source" for the steps used to define
ODBC variables.
See " Mapping Variables" for instructions on how to define ODBC map
instructions.
See "Saving and Executing the TurboIntegrator Process" for details on saving
and executing a TurboIntegrator process.
Procedure
1. In the Server Explorer, right-click Processes and choose Create New Process.
The TurboIntegrator window opens.
2. In the Data Source Type box, click ODBO and select MDX Query.
3. Enter required connection parameters in ther Connection tab of the
TurboIntegrator window. The connection parameters are vendor-specific.
4. Click Connect. If you connect successfully, the Connect button becomes greyed
out and you are able to proceed to the MDX Query tab.
5. Click the MDX Query tab.
6. Type your MDX query into this tab. You can also cut a working MDX query
from another application and paste it into this tab.
7. Click the Variables tab. For each column generated by the MDX statement, one
variable is generated by TurboIntegrator.
Columns containing row headers are typically mapped as dimension elements.
Columns containing data elements are mapped as data.
8. See "Mapping Variables" to map the variables into TM1 structures. Once you
have connected to the ODBO data source and defined the MDX statement, the
process for completing the TurboIntegrator process is identical to that of an
ODBC data import.
18
Procedure
1. Right-click Processes in the Server Explorer and choose Create New Process.
2. Click TM1 and select Cube View in the Data Source Type box. TurboIntegrator
displays the Data Source Name field.
3. Click Browse to select from a list of available views. The Browse Server Cube
Views dialog box opens.
4. Select the cube that holds the data you want to import.
5. If a view that you want to use as a data source already exists, select that view.
If such a view does not exist, click Create View to open the View Extract
window and create the view. After creating the view, select it in the Browse
Server Cube Views dialog box.
6. Click OK.
The selected view now displays as the data source for your TurboIntegrator
process.
Continue with the steps described in "Importing a Text File" to complete the
import of your TM1 view.
19
The procedure for extracting data using the TM1 Subset is similar to other
TurboIntegrator process. See Define Dimension Subset as Data Source to get
started.
Procedure
1. Right-click Processes in the Server Explorer and choose Create New Process.
2. Click TM1 and select Dimension Subset in the Data Source Type box.
TurboIntegrator displays the single field required to define a cube view source.
3. Click Browse to select from a list of available subsets.
The Browse Server Subsets dialog box opens.
4. Select the dimension that contains the elements you want to import.
5. Select the subset that you want to use as a data source and click OK.
6. Click Preview.
The elements of the selected dimension subset appear in the preview panel.
Procedure
1. Click New Variable.
The variable V2 displays in the Variables tab.
2. Click Formula.
The Process Variable Formula dialog box opens.
3. Modify the formula as follows:
V2=All Europe;
4. Click OK.
5. Change the Variable Type for V2 to String.
6. Change the Contents setting for V2 to Consolidation.
In the next section, the elements imported from the subset data source are
added to the All Europe consolidation.
20
Setting
Cube Action
No Action
Data Action
Store Values
Setting
Element Variable
Europe
Dimension
Region
Action
Create
Element Type
Numeric
21
22
ODBO Location
The location field is the name of the location where an administrator assigns a
particular instance of the ODBO provider service.
The exact interpretation of this field is vendor-specific.
ODBO Datasource
This is the name your administrator assigns to a set of catalogs at a particular
location. In Microsoft Analysis Services, this is the name of a registered server.
ODBC Catalog
This is the name assigned by your administrator to a particular collection of
databases (Cubes, Dimensions and other objects). For Microsoft Analysis Services,
this is the name of the database.
23
Field
Example Setting
Location
MyServer
Sdata
Admin
Apple
You can use the parameters described above, or you can log in to TM1 using the
parameters in the following table. These parameters are also used to connect to
Microsoft Analysis Services from TurboIntegrator.
Field
Example Setting
Datasource
MyServer
Sdata
Admin
Apple
24
<CAM namespace ID> must be the internal CAM namespace ID, not the descriptive
name of the namespace.
If you are running a 64-bit version of the server, you must specify the CAM
namespace ID through a connection string, using the same format noted above. For
example the following connection string specifies a CAM namespace ID named
NTLM_NAMESPACE:
Provider=TM1OLAP.1;Location=localhost;Data
Source=empty;UserID=tm1user;Password="abc123";
Provider String="CAMNamespace=NTLM_NAMESPACE";InitialCatalog=empty
You cannot use the TurboIntegrator user interface to specify the CAM namespace
when running a 64-bit server; you must use a connection string.
Procedure
1. Run Architect, and log in using a valid user name and password.
2. Right-click Processes and choose Create New Process.
The TurboIntegrator dialog box opens.
3. Click the ODBO option and then select Cube.
The dialog box displays the options that allow you create to an ODBO
connection string.
4. Enter connection parameters into the dialog box as follows:
Field
Value
ODBO Provider
ODBO Location
ODBO Datasource
25
Field
Value
ODBO Catalog
ODBO UserID
ODBO Password
Additional Connection
Parameters
5. Click Connect. If you connect successfully, the Connect button becomes greyed
out, and you are able to proceed to the Load ODBO Cube tab.
Procedure
1. Click the Load ODBO Cube tab.
2. Choose a cube action. The choices are described in the following table:
Option
Description
Create Cube
Copies data and metadata from the ODBO data source, and
create a new cube in TM1 . Use this option only when none of
the cubes and dimensions you are importing exist on the
server.
Recreate Cube
Update Cube
No Action
26
5. In the Data Action panel, choose Store Values. This option writes cell values in
the ODBO cube to the cube. The Accumulate Values option allows you to
aggregate values as they are being imported.
Description
Create
No Action
to
27
TM1 requires that all elements in a dimension have unique names. TM1 also
requires that all aliases for the elements have unique names. In order to ensure
that the element names are unique, TM1 names each consolidation and element in
an imported dimension with the names of all its parents in square brackets,
delimited by periods.
After being imported into TM1 , the subset aliases are populated with the element
names from Analysis Services.
The procedure to import MAS data is similar to other import processes.
Procedure
1. Run Architect, and log in using a valid user name and password.
2. Right-click Processes and choose Create New Process.
The TurboIntegrator dialog box opens.
3. Click the ODBO option and then select Dimension.
4. Enter connection parameters into the dialog box as follows:
28
Field
Value
ODBO Provider
ODBO Location
Field
Value
ODBO Datasource
ODBO Catalog
ODBO UserID
ODBO Password
Additional Connection
Parameters
5. Click Connect. The Connect button should grey out, indicating that you
connected successfully.
Procedure
1. Click the Load ODBO Dimension tab.
2. Choose the TM1 Dimension Action. Choose one of the following options:
Option
Description
Create Dimension
Recreate Dimension
Update Dimension
No Action
The default value for the screen. This process has no effect
on the dimension.
29
3. Click the ODBO Cube Containing Dimension list and choose the cube that
contains the dimension that you want to import from Analysis Services.
4. Click the Cube Dimensions list and choose the dimension you want to import.
5. If you are updating or recreating a dimension, click the TM1 Dimension to
Load list and select a dimension from the list.
If you are creating a new dimension, type in the name of your new dimension
in the TM1 Dimension to Load field.
30
Procedure
1. Run TM1 .
2. In the left pane of the TM1 Server Explorer, right-click the Processes group and
select Create New Process.
The TurboIntegrator window opens.
3. Select the IBM Cognos Package option in the Data Source Type dialog box.
4. Package is selected by default.
Remember:
Package and Dimension
The Package and Dimension option provides a simplified way to
import data from dimensionally modeled sources, (for example, SAP
Business Warehouse or Dimensionally modeled relational sources) and
is not easily customized.
You can instead select Dimension if you only want to import
hierarchies from a single dimension in a package.
Copyright IBM Corp. 2007, 2013
31
Custom Query
The Custom Query option works with DMR or non-DMR sources and
provides more flexibility in selecting the items to query and provides
more open access to the standard TurboIntegrator programming
capabilities.
See Connecting to Published Packages for more details.
5. Enter the connection details:
If your IBM Cognos BI server permits anonymous logon, you can click "Log
on." Otherwise, enter your logon credentials here:
v Authentication Namespace
The pull-down list shows all available authentication namespaces.
v
Sign-ons
Allows you to manage sign-on information associated with the
TurboIntegrator process. The button is enabled once you have successfully
logged into the BI Server.
A sign-on called "BI Server Logon" is automatically created for you the first
time you authenticate to the BI Server. If you update the credentials in the
Connection tab after the initial login, those changes do not update this
sign-on. You must use the Manage Sign-ons dialog box to make changes to
the sign-on. You can Add, Modify, and Remove sign-ons. Also, if you enter
credentials on the Connection tab, then click on logon and modify the
sign-on in the sign-on window, the credentials on the Connection tab are not
updated.
Removing a sign-on can make the TurboIntegrator process unable to run
when anonymous logon is turned off.
As you work with dimensions and measures, data source sign-ons may be
created. These can also be managed through the Sign-ons window.
v Log on/Log off
Click Log on to log in to the BI server. Once you are logged in, Log off
becomes available to let you log out of the BI server.
Procedure
1. Click the Browse button to select from available packages. Only packages
containing dimensions are available for selection.
When you select a package from the Browse Metadata window, the Select
Package field is automatically filled in for you. The Edit button becomes
available after a package is selected.
32
2. Select the TM1 cube to load to option. If you are creating a cube, enter the
cube name. If you are recreating or updating an existing cube, select it from
the list.
3. Specify the import actions to take.
Complete the Cube Action and Data Actions options as needed for this
import, just as you would for any other type of datasource. See Mapping
Variables for details on these options.
For SAP BW-based packages, you may have to select Accumulate Values if the
result set may contain more than one row for the selected key values you are
importing.Verify your results.
4. To define the dimensions in the package, click the Dimension tab.
5. Define the Hierarchy and Attribute structure using the dialog boxes offered
when you click Select Hierarchies or Select Attributes.
Keep in mind the following details about Hierarchies and Attributes:
Default Hierarchy
If you specify the TM1 Dimension without pre-selecting any hierarchies,
TM1 will automatically select the first one as the Default Hierarchy. You can
change the selection by unchecking or checking the check boxes.
v Selecting before mapping
You can also select hierarchies and all sub items such as filters before
mapping to a dimension. When you fill in the dimension on the
pre-selected hierarchies dimension, all the selections are applied
automatically. If you unselect any mapped dimension by clearing the
dimension name in the field, all the pre-selected hierarchies under the
corresponding dimensions are automatically cleared.
v
33
When specifying the attribute mapping, all the attributes whose external name
or role signature matches with the mapped attributes are selected during
importing. More than one attribute may be mapped.
6.
Select Attributes
Map a dimension attribute to a TM1 attribute by doing one of the following:
v To map an attribute to a new attribute, enter a name for the new attribute
in the corresponding TM1 Attribute field, then select an Attribute Type. The
new attribute will be created when you execute the TurboIntegrator process.
v To map an attribute to an existing attribute, click the corresponding TM1
Attribute field, select an attribute, then select an Attribute Type.
Attribute Type
Description
Text
Numeric
Alias
34
13.
Dimension Settings
Use the Dimension settings tab to define the Top Consolidation for any
specified dimensions.
14.
Prompt Editing
You can click the Prompts button to open a Cognos Prompt editing window
to set and change the prompt values. SAP BW variables appear as prompts in
IBM Cognos packages. If mandatory prompts exist in the package, prompt
values must be provided before the query is run by TurboIntegrator process.
Otherwise the process will fail. If you are extracting data from SAP BW,
Description
CGPromptSize()
Example
count=CGPromptSize();
while(i<count);
prmptname=CGPromptGetNextMember(i);
CGAddPromptValues(prmptname,
1999-01-01,2009-01-01);
i=i+1;
end;
15. When there are mapped dimensions, hierarchies and measures, you can test
the query by clicking Test Queries.
Test Queries triggers a query execution before the TurboIntegrator process run.
It can be used to pre-test if the queries run successfully and to supply missing
prompt values or sign-on information.
16. Click the Show Namespace checkbox to include the namespace in the
Dimension listing.
17. Complete the Advanced and Schedule tabs if needed. See Editing Advanced
Procedures and Chores for details. The Package Connector also generates the
TurboIntegrator process for each dimension. This gives you the flexibility to
add your own TurboIntegrator process scripting statements if needed.
18. Save and execute the TurboIntegrator process. See Saving and Executing the
TurboIntegrator Process.
Multiple hierarchies
The IBM Cognos TM1 Package Connector includes only one hierarchy per
dimension when issuing a measure query.
If you select more than one hierarchy for a dimension and include measures in
your TurboIntegrator process, the TM1 Package Connector will issue multiple
measure queries, substituting each hierarchy in turn. This behavior is appropriate
where the leaf-level members of each hierarchy are distinct from each other.
Chapter 6. Importing Data Using the IBM Cognos TM1 Package Connector
35
If the leaf level members are the same in the hierarchies, you should create a
TurboIntegrator process selecting only one hierarchy per dimension along with the
desired measures. Create a separate process to merge multiple hierarchy structures
into the same dimension.
Procedure
1. Locate the package.
Click the Browse button to select from available packages.
2. Identify the Dimension to load from:.
The pull-down lists the dimensions available in the selected package.
3. Identify the TM1 Dimension to load into:
The pull-down lists the dimensions available if you are updating an existing
dimension.
4. Select a TM1 Dimension Action just as you would for any other datasource.
See Mapping Dimensions for details.
5. Identify the Top Consolidation:
If you want to create a top-level consolidation for the dimension, enter the
name of the top-level consolidation here.
The resulting dimension will include a consolidation with the name you
entered. For example, if you enter Total in Top Consolidation, the dimension
includes a top level consolidation named Total with all imported elements as
children of the consolidation.
6. See Specifying a Segmenting Prompt for an SAP BW Query on page 44 for
details on specifying prompts.
7. When there are mapped dimensions, hierarchies and measures, you can test the
query by clicking Test Queries.
Test Queries triggers a query execution before the TurboIntegrator process run.
It can be used to pre-test if the queries run successfully and to supply missing
prompt values or sign-on information.
36
Procedure
1. Click the Browse button to select from available packages.
When you select a package from the Browse Metadata window, the Select
Package field is automatically filled in. The Edit and Edit Query buttons
become available after a package is selected.
The Edit button shows information about the data source and allows you to
create a custom sign-on if the content store sign-on requires a password.
2. Click on the Edit Query button. The fields available in the source package are
shown.
3. Select the each field required for extraction and select Add.
4. Choose the Query Options:
Preview
Shows a columnar lists. MDX displays the code used for the
transformation.
Match links a query item from the source package or report to a column in the
query. It is only needed if the source has been modified and a query
item has been moved or renamed. The Match option allows you to
match the columns and query items back up again after moving or
renaming an item.
Auto Summarize
Selected by default. The query generates SQL to aggregate duplicate
rows. For queries based on relational packages, enabling the Auto
Summarize feature also helps reduce the number of rows that Cognos
TM1 Package Connector retrieves from the source data, further
improving cube build performance. If the source data is being used at
the same granularity as the underlying table this should remain
unchecked. If the source data is not consolidated then this should be
checked. Ensure that the query has appropriate identifier and fact
usage attributes set for this setting to be effective. These settings need
to be set in the source; either Cognos Framework Manager or the
report. Review the SQL to ensure appropriate grouping and summary
functions are being applied. Do not use Auto Summarize to compute
an average, but normally using Auto Summarize is desirable.
Supress Null values
By default this option is set to use the governor setting in the defined
package. To override this setting, select either Yes (Suppress Null
values) or No (do not suppress).
Parallel query count when segmenting (1-64)
This option is only applicable if extracting data from SAP BW and you
have selected a variable for segmenting the data. When this option is
set and data is being segmented, n number of queries are sent to the
source system at a time, which may improve extraction time.
5. Select the Validate button to verify that a valid query can be generated from
the information selected.
6. Click OK to enable the Prompts and Preview button.
Prompts
Click Prompts if any prompt values need to be set and to select a
prompt for segmenting data (SAP BW only).
Chapter 6. Importing Data Using the IBM Cognos TM1 Package Connector
37
Preview
Click Preview to see the MDX that will be generated and to preview
the data if desired.
7. Click on the variables tab. From this point forward, the procedure is the same
as for any other TurboIntegrator process. See Identifying Variables in the Data
Source on page 9.
Tip: When working with SAP BW data, the segmenting prompt for data is only
available if you have selected only data and key values from the source system.
If you want to pull additional metadata, define these items in a separate query
in order to be able to segment the data when doing an extraction.
Procedure
1. Click the Execute button.
TM1 prompts you to name and save the process.
2. Save the process.
You should then see confirmation that the process executed successfully.
3. Open the Server Explorer. You should see that the cube you specified has been
created and populated, and that all required dimensions have been created.
The query item defined as the key for the level in the hierarchy is used as the
element name.
38
You can leverage SAP BW data in the IBM CognosTM1 Package Connector using
an SAP-based package created in Framework Manager and published to Content
Manager. This is the recommended method to leverage your SAP BW data.
You can use the TM1 Package Connector to import both dimensional and fact data
from an SAP BW query source. The following instructions describe how to rebuild
an SAP BW cube as an IBM Cognos TM1 cube. To do so, the SAP BW query
package must be in a specific format.
There are three stages to importing a SAP BW query to access both dimensions
and facts using IBM Cognos:
v Creating a BW Query in SAP Business Explorer Query Designer
v Creating a Package in Framework Manager.
v Creating a TurboIntegrator process that uses the TM1 Package Connector.
This extract process is limited to SAP BW data sources only.
The data source must be a specifically constructed query defined in the SAP BW
data source.
For general information about creating packages, see "Create or Modify a Package"
in the IBM Cognos Framework Manager User Guide.
Procedure
1. In Query Designer, click New Query.
2. In the New Query dialog box, select the information provider that contains the
cube that you want to import.
to view the technical name of the InfoObject.
3. Click the Tools icon
4. Drag a characteristic that you wish to import from the InfoObject catalog on
the left column to one of the fields on the right-hand side of the page. For
example, Columns or Rows.
The characteristics you select will define the metadata in the cube. The
characteristics must adhere to the following restrictions:
v You must have at least a single optional variable to segment data extraction
requests. This may result in substantially higher throughput than regular
requests.
v Select a characteristic that is representative of the data source. The
characteristics can be either key figures, which will become measures in the
cube, or dimensions, which will become the cube dimensions.
v Do not assign any of the characteristics a display hierarchy, either explicitly
or by a variable.
v All key figures in the SAP BW query must be numeric.
v Do not select the Currency/Unit characteristic.
v Ensure that all selected key figures use the same currency.
Chapter 6. Importing Data Using the IBM Cognos TM1 Package Connector
39
v Only include characteristics in the SAP BW query that you wish to extract
using the TM1 Package Connector. Including unnecessary characteristics
increases data volume, thereby adversely affecting performance.
v Characteristics must be copied to the Columns or Rows fields of the query
definition. If copied to the Free Characteristics or the Filter fields, the
characteristics show as dimensions when importing from the package but the
stream extract processing used when segmented data extraction occurs is not
able to fetch the values.
v If you have filters defined, they must reference only dimensions that have
been included elsewhere in the query definition.
v If you include a free characteristic, no values will appear for that
characteristic in the key figures extract. A filter on a free characteristic acts as
a filter on the returned SAP BW data. You can use this as a filter to define a
subset of an InfoCube.
v Use a picklist prompt, rather than a type-in prompt for the query. A picklist
prompt provides values for segmenting the data.
5. To define the metadata that will populate the cube, you must change the
properties of each characteristic that you have selected for inclusion. Right-click
a characteristic, and select Properties.
6. In the Properties of Characteristic dialog box, change the Display As value to
Key, and the Suppress Results Rows value to Always. Note that any
restriction or filter applied here will be carried forward.
7. Repeat steps 5 and 6 for each characteristic that you selected in step 4.
Note: You should only select the characteristics that you require. To avoid
excessive memory consumption, and decreased system performance or failure,
carefully consider what characteristics you want to include in the query. We
recommend that you consult an SAP BW administrator to ensure that the data
volumes are not exceeded.
, and in the Extended tab select the
8. Click the Queries Properties icon
Allow External Access to this Query check box. This exposes the query to
Framework Manager.
9. Click Save, and provide the new query with a Description and a Technical
Name. We recommend that you use the SAP BW naming convention in the
Technical Name field. That is, begin the entry with the letter 'Z' followed by an
intuitive name or your standard naming convention. It is important to write
down this technical name, as you will need it to find the query in Framework
Manager.
Results
You are now ready to Create a Variable. For more information on using the SAP
Query Designer, see your SAP BW documentation.
Create a Variable:
You may now create an optional prompt parameter for the query so the TM1
Package Connector can issue smaller queries to SAP, and thereby retrieve the entire
data set in smaller chunks.
40
Chapter 6. Importing Data Using the IBM Cognos TM1 Package Connector
41
(for example, not many rows per value resulting in an excessive number of
queries), nor do you want a variable that is too coarse-grained (for example,
more than one million rows per value).
2. In the Selection for ... dialog box, click the Variables tab, right-click anywhere
inside the Description window and select New Variable.
Note: If one of the characteristics that you have chosen already has a variable,
you can avoid creating a new variable and skip to step 7 of this procedure.
3. In the New Variable Wizard General Information page, type a Variable Name
and Description, and select a dimension as the characteristic. Click Next.
4. In the Details page, select Single Value, Multiple Single Values, or Interval in
the Variable Represents field, Optional in the Variable entry is field, and
select the Ready for Input check box. Click Next.
5. In the Default Values page, ensure that the Default Value field is empty.
6. Click Next until you are returned to Selection for ... dialog box. The new
variable appears in the Description window.
7. Select the variable and click the right arrow to move the selected variable over
to the Selection window, and save the query. You are now ready to import the
query in Framework Manager.
42
In the configuration directory under the location where Framework Manager was
installed, there is a configuration file for controlling SAP BW access. It is named
"sapbw_config.xml". The installer does not directly install this file. Instead it
installs a file named "sapbw_config.xml-sample". If "sapbw_config.xml" does not
exist, create it by either copying "sapbw_config.xml-sample" or renaming
"sapbw_config.xml-sample".
In "sapbw_config.xml", there are the following lines:
<provider name="SAPBWODP">
<!-- Must be activated for getting staging datatypes -->
<parameter name="UseStgDTypes" value="true"/>
<!-- Controls the use of a faster version of GetMembers.
Default is "true".-->
<parameter name="UseFastGetMembers" value="true"/>
</provider>
Ensure that "UseStgDTypes" has value = "true". By default, the value is "false".
This must be done before FrameWork Manager is started and before you import
the metadata from SAP BW to create the model.
What this change does is allow the metadata import to recognize that a Dimension
in the SAP BW Cube is a "Time" Dimension. That is a Dimension where the
members of the lowest Levels in the Dimension have key values that are dates.
Procedure
1. In Framework Manager, click Create a new project.
2. Complete the fields in the New Project dialog box. Click OK.
3. Complete the steps in the Metadata Wizard. When prompted to select a data
source, if you need to create a new data source, click New...
4. In the Select Objects page, locate the query that you defined in SAP BW query
Designer in the previous stage. Scroll the list for the technical name that you
provided when you created the variable. The folder structure is as follows:
Hierarchies > Level definitions > Query Item definitions.
5. Select the main query items that directly relate to the level. That is, those
labeled (Key), (Name), and so on.
6. Complete the remaining screens in the Metadata Wizard, accepting the default
values, and click Next. This will generate dimensions and import the metadata.
7. At the final wizard screen, verify the results, and click Finish.
Creating a Package
When creating the package for publishing to Content Manager, hide the primary
hierarchy in those dimensions where you imported two hierarchies. The primary
hierarchy is necessary, and must be in the package for querying to work correctly.
You can hide the hierarchy if you don't want it visible.
Procedure
1. Click the Packages folder, and from the Actions menu, click Create, Package.
2. In the Provide Name page, type the name for the package and, if you want, a
description and screen tip. Click Next.
3. Select the query that you imported in the previous section.
4. In the Define objects page, when hiding or excluding child objects from the
package, you must select each of them individually. Excluding parent objects
Chapter 6. Importing Data Using the IBM Cognos TM1 Package Connector
43
also exclude all of its children. Note that excluding (or unselecting) many
objects from larger cubes will require a significant amount of time.
Note: Framework Manager supports ctrl+shift and alt+shift functionality. Use
these keystrokes to select multiple objects that you wish to include or hide in
the cube. For example, if you wish to only include two items in a large branch,
select the entire branch, then use ctrl+shift to de-select the items you wish to
include, and hide the remaining selected items.
For more information about including, excluding and hiding objects, see
"Create or Modify a Package" in the Framework Manager User Guide.
5. Choose whether to use the default access permissions for the package:
v To accept the default access permissions, click Finish.
v To set the access permissions, click Next.
6. When you are prompted to open the Publish Package Wizard, click Yes.
7. Select the default values, and click Publish. This will publish the package to
the content store, and will allow you to access the package in TM1 .
8. At the final screen verify the results, and click Finish.
Results
You are now ready to create a model in TM1 . For more information on creating a
package, see "Create or Modify a Package" in the Framework Manager User Guide.
Procedure
1. After selecting hierarchies and measures, click Prompts.
2. In the Prompt for segmenting data list, select the prompt for segmenting the
fact data. Only valid prompts are listed.
3. Ensure that the segmenting prompt does not have a default value specified.
Tip: To clear the values for a prompt, click the prompt in the Current prompt
values list, and click Clear Value.
44
4. Ensure that any mandatory prompts listed in the Current prompt values list
have a value specified.
5. Click OK.
Procedure
1. Locate the installation folder for TM1 Package connector, navigate to the
Configuration folder and open the cogtr.xml file in a text editor (preferably in
an XML-aware editor).
2. Add the following entry to the "Transformer" section of the file:
<Preference Name="SegmenterParallelQueryCount" Value="16"/>
3. Set the value to the number of parallel queries you want the TM1 Package
Connector to issue. By default it issues them one at a time.
4. Save the file.
TM1 Package Connector will now execute measure queries in parallel based on
the value you specify. For example, you define an InfoQuery optional variable
on month and there are 48 months in the characteristic. You specify this
variable as the segmenter prompt for the measure dimension. The TM1 Package
Connector will execute up to 16 queries in parallel (one for each month), which
may greatly increase the rate of fact data extraction.
Consult with your SAP administrator to ensure that your data extraction
queries do not negatively affect the SAP BW environment for other users.
Chapter 6. Importing Data Using the IBM Cognos TM1 Package Connector
45
46
47
connection is severed (the network fails or the client logs out, crashes or
disconnects), the server will automatically exit Bulk Load mode.
Similarly, if a TI process/chore is running in Bulk Load mode and the process
exits, whether successfully or with errors, the server will automatically exit Bulk
Load mode.
When the server returns to normal multi-user mode, any chores that were
deactivated get reactivated and return to their normal schedule. If the chores were
scheduled to run, but were prevented by Bulk Load mode, they will not get
executed immediately, but will execute according to the schedule. You may have to
adjust the launch time of your scheduled chores to prevent them from getting
locked out during the times you enable Bulk Load mode.
TM1ServerDisableBulkLoadMode
Editing Procedures
After you specify a data source, identify all variables, and define all mapping
instructions, TurboIntegrator generates four procedures that are based on the
options you selected in the TurboIntegrator tabs. These procedures are identified as
sub-tabs of the Advanced tab.
The procedures are:
48
Tab
Description
Prolog
Metadata
Data
Epilog
You can edit these procedures to include TurboIntegrator functions and TM1 rules
functions that extend the capabilities of TurboIntegrator. For example, you can edit
the Data procedure to include statements that instruct the process to skip records
containing zero values, or to write imported records to an external file.
For a complete list of all available TurboIntegrator and TM1 rules functions, see the
IBM Cognos TM1 Reference Guide.
When editing procedures, keep in mind that each procedure is intended to execute
certain types of actions at specific times in a process. Accordingly, you should
create actions or statements that are appropriate for a given procedure.
Note: When the data source for a process is NONE, the Data and Metadata
procedures are ignored when the process is executed. Any functions or statements
on the Data or Metadata sub-tabs are not executed, but TM1 does not issue an
error or warn you that part of the process was not executed.
To edit a procedure:
Procedure
1. Click the Advanced tab.
2. Click the sub-tab for the procedure you want to edit.
3. Enter your statements in the text box either before this line:
#****GENERATED STATEMENTS START****
49
Using TM1RunTI
TM1RunTI is a command line interface tool that can initiate an IBM Cognos TM1
TurboIntegrator (TI) process from within any application capable of issuing
operating system commands.
This utility is of special interest in application situations where TurboIntegrator
processes need to be grouped in order to ensure that the processes that can run in
parallel do run in parallel. It is also helpful so that those processes which cannot
be run in parallel are serialized in the right order. Note that TM1RunTI does not
finish (return) before the TurboIntegrator is finished which can be used to serialize
calls if the calling process is waiting for TM1Runti to finish.
The TM1RunTI executable file (tm1runti.exe) can be found in the bin directory of a
TM1 server install.
If you accepted the default installation location for tm1runti.exe is in C:\Program
Files\IBM\cognos\tm1\bin.
TM1RunTI syntax
The TM1RunTI syntax is described here.
tm1runti -?
or tm1runti -help
or tm1runt1 [<cmd_parm>...] [<ti_parm>...]
where <cmd_parm> is one of:
-i <filespec>
-process <string>
-connect <string>
<connect_parm>...
where <ti_parm> is:
<parm_name> = <parm_value>
where <connect_parm> is one of:
-adminhost <string>
-server <string>
-user <string>
<password_parm>
-AdminSvrSSLCertAuthority <filespec>
-AdminSvrSSLCertID <id>
-AdminSvrSSLCertRevList <filespec>
-AdminSvrSSLExportKeyId <id>
-ExportAdminSvrSSLCert <T>
-CAMNamespace <string>
where <password_parm> is one of:
-pwd <string>
-passwordfile <filespec> -passwordkeyfile <filespec>
50
Parameters
Parameters can be either in a configuration file or passed on the command line.
Command line parameters take precedence over parameters that are in the
configuration file. This makes it possible to have persistent default parameters for
relatively static parameters (such as adminhost and server) and to supply just the
few parameters needed to either override the defaults or to provide values that are
not easily defaulted, such as the user name or the TurboIntegrator process name.
The parameters have a different format when passed on the command line. While
all parameters are passed in a "-parameter_name value" fashion, everything that is
passed as "parameter_name=value" is treated as a TurboIntegrator process
parameter.
There are four types of parameters:
v Command parameters
Used to specify the config file to use, which group of connection parameters to
use, or which TurboIntegrator process to run.
v Connection parameters
Used to specify the servername, username and other information needed to
connect to the Cognos TM1 server.
v Password parameters
Can either be a username and plaintext password or can be a filename
containing an encrypted password and associated keyfile used for decryption.
v TurboIntegrator parameters
Passed to the named TurboIntegrator.
Parameters specified on the command line must begin with dash (-) or slash (/).
The parameter value is separated from the parameter name by a space, and the
value can be specified as is or in quotes (if there are embedded spaces).
For example:
tm1runti server MyTM1Server username John pwd "my secret"
ti_parm1=yes ti_parm2="my value"
TM1RunTI Parameters
Description
Parameter
Value/Required/Default
connect
Process
Help
51
Description
Parameter
Value/Required/Default
Connect Parameters
Connect parameters are common among Cognos TM1 tools, and can be defined in
their own section to enhance reuse and avoid the effort and risks associated with
maintaining multiple copies.
52
Parameter
Value/Required/
Default
Description
adminhost
String/No/None
sever
String/No/None
user
String/No/None
AdminSvrSSLCertAuthority
String/No/none
AdminSvrSSLCertID
String/No/none:
API Default is :
tm1adminserver
AdminSvrSSLCertRevList
String/No/None
ExportAdminSvrSSLCert
Boolean/No/F
Parameter
Value/Required/
Default
AdminSvrSSLExportKeyId
String/No/None
Description
The identity key used to export
the certificate authority certificate,
which originally issued the
Cognos TM1 Admin Server's
certificate, from the certificate
store.
This parameter is required only if
you choose to use the certificate
store by setting
ExportAdminSvrSSLCert=T. Refer to
IBM Cognos TM1 Installation and
Configuration Guide for appropriate
TM1Server configuration.
String/No/none
CAMNamespace
TurboIntegrator Parameters
These parameters are defined by the TurboIntegrator process and must be of the
correct type (number or string).
Description
Parameter
Value/Required/Default
<ti_parm>
Password Parameters
Passwords are either provided in cleartext (not recommended) using the pwd
parameter, or using an encrypted file provided by the passwordfile parameter.
Parameter
Value/Required/Default
Description
pwd
String/No/None
passwordfile
String/No/None
passwordkeyfile
String/No/None
53
Connect sections
To facilitate easy maintenance for different server environments such as
development, test and production, connection parameters for each environment
can be specified in separate sections. Each section is named using the prefix
"Connect -" followed by a user defined name. For example:
[Connect Production]
[Connect Test]
[Connect Development]
Process sections
Multiple process sections are permitted. Each section is named to match a process
in the server.
Each TurboIntegrator process section is used to define the parameters of the
TurboIntegrator process and their default values.
54
If there are multiple process sections with the same name, only the first one is
used.
Processing logic
Configuration parameters and command line parameters are processed in the
following fashion:
1. If specified by -i, the configuration file is opened and any connect option
specified in [TM1RunTI] is processed first.
2. Any other parameters in [TM1RunTI] are then processed and may override
those specified by the connect parameter.
3. The command line parameter -connect is processed next, if present. It loads
values from the associated [Connect - <connection_name>] section of the config
file, overriding any values loaded by the preceding steps.
4. The remaining command line parameters are processed.
For example, if you save the configuration file in the preceding example with the
name tm1tools.config and then you execute the following:
tm1runti i ".\tm1tools.config" passwordkeyfile c:\keystore\prodkey.dat connect prodsystem
Since the -i parameter was provided, the tool would do the following:
1. Open the config file and load the [tm1runti] section
2. Upon seeing the connect parameter in [tm1runti], load the parameter values
from [Connect - testsystem]
3. Process the command line parameters:
a. Upon seeing the connect parameter, load the parameters from [Connect
prodsystem]
b. Replace the value for passwordkeyfile.
55
Error retrieving password: The program was unable to get the password
from the password file. One of the other error messages listed may appear
in stderr before this one, indicating more precisely the nature of the
problem.
v NULL key returned from reading <filename> key path.
v NULL password returned from reading <filename> password file.
v Error obtaining file status of <filename>.
v Error opening <filename>.
v Unable to allocate data for key.
v Error reading <filename> key file.
56
TI process: <TI_name> no read access: Specified user does not have read
access to the TurboIntegrator process.
10
11
99
Errors are also returned from the TM1API. They are displayed as (TM1 API Error)
<xxx> where <xxx> is the value defined in the TM1API.
57
Password Security
The use of passwords on the command line for this utility is not recommended for
production deployments. Instead of using passwords on the command line, the
password should be passed to the program using the passwordfile parameter to
specify a file that contains the encrypted password. A keyfile is also needed, to
decrypt the password, and this is provided through the passwordkeyfile parameter.
These files can be stored in a location accessible to the username running the tool,
but under operating system protection so that other users cannot access them.
A combination of password and key can be generated by using TM1Crypt tool
which comes with the standard Cognos TM1 installation. See the IBM Cognos TM1
Installation and Configuration Guide for details.
Platform Portability
The tool is available as a 32-bit and 64-bit Microsoft Window utility, as well as an
AIX utility. The executable name is all lowercase for platform portability and for
consistency with tm1top and other Cognos TM1 server tools.
synchronized()
IBM Cognos TM1 TurboIntegrator (TI) function called synchronized() can be used
in a TurboIntegrator script to force serial execution of a designated set of
TurboIntegrator processes. The synchronized() function uses the following syntax.
synchronized(string)
58
Parameters
synchronized() takes a single required parameter that is a user-defined name for a
lock object. This lock object name can be used in multiple TurboIntegrator
processes in order to serialize their execution as a group.
lockName
Value=String
Required?=Yes
Default-none
The user-defined name of a lock object on which to synchronize. Names
are case-insensitive and embedded spaces are ignored. Names may not
exceed 1023 characters in length.
Semantics
A TurboIntegrator process may make any number of calls to synchronized(), with
any number of lock objects. Serializing is effective from the time synchronized() is
called, until the containing transaction completes.
For example, if synchronized() is called from a subprocess (Ps) of master process
(Pm) or master chore (Cm), the Lock Object is "released" when Pm or Cm
completes. The exception is that a SaveDataAll (SDA) prematurely "ends" a
transaction mid-process execution; this applies to Lock Objects as well.
The synchronized() call may be placed anywhere within a TurboIntegrator script,
but serialization applies to the entire TurboIntegrator process when it is
encountered.
Consider a TurboIntegrator process with a synchronized() call somewhere in the
"middle" of its script, and an operation O1 preceding that call. Two instances of
this TurboIntegrator process may start at the same time. It is possible for one
instance to run to completion, including its call to synchronized(), before the
second instance reaches its synchronized() call. In this case, the two processes
appear to the user to have run concurrently. If, instead, the second process does
reach its synchronized() call before the first completes, it will undo any work it
had done (O1) and wait for the first to complete. In this case, the two processes
appear to the user to have serialized.
To avoid such confusion, and to optimize the use of synchronized(), it is
recommended (but not enforced) that synchronized() calls be the first statements of
a TurboIntegrator process.
Example
Consider that TurboIntegrator process P needs to update two cubes, Cube_1 and
Cube_2.
Other TurboIntegrator processes may also need to update Cube_1 or Cube_2.
To cause all TurboIntegrator processes that will update Cube_1 or Cube_2, to run
one at a time, P could call synchronized() in the following way:
sCube_1=Cube_1;
sCube_2=Cube_2;
sE1=Elm1;
Chapter 7. Editing Advanced Procedures
59
sE2=Elm2;
sE4=Units;
sE5=Price;
Synchronized( sCube_1 );
Synchronized( sCube_2 );
CellPutn( 111, sCube_1, sE1, sE2 );
CellPutn( 9.99, sCube_2, sE4, sE5 );
# ...
Other TurboIntegrator processes that will update Cube_1 or Cube_2 must also call
synchronized( sCube_1 ) and/or synchronized( sCube_2 ) in a similar way.
In this example, the two lock objects' names were chosen to be the same as the
cubes' names. But a lock object's name does not have to be the same as other
Cognos TM1 objects (cubes, dimensions, subsets, etc.).
Order of execution
A group of TurboIntegrator processes containing synchronized() calls to the same
lock object are prevented from concurrently executing. However, their actual order
of execution is unaffected. As long as they do not execute concurrently, the order
in which they execute is determined by many other factors, including application
design and operating system level scheduling. If order of execution is important,
for example, if one TurboIntegrator process is dependent on updates made by
another process, then it is up to the application designer to use other methods to
ensure the desired order of execution.
60
61
62
Procedure
1. Click the Schedule tab in the TurboIntegrator window.
2. Select the Schedule this Process as a Chore Named option.
3. Enter a name for the process in the adjacent field. By default TurboIntegrator
assigns the name of the process to the chore.
4. Click a date on the calendar to specify a start date for the initial execution of
the chore.
5. Enter a Time to specify the start time for the initial execution of the chore.
6. Set the fields in the Chore Execution Frequency box to define the interval at
which the chore is executed.
7. Choose File, Save to save the process with the scheduling information.
When you schedule a process from within TurboIntegrator, the chore is
automatically activated and will be executed at the specified start time.
You can also create a chore for a process (or a collection of processes) directly
from the Server Explorer.
8. In the Server Explorer, select the Chores icon beneath the server on which you
want to create the chore.
9. Choose Chores, Create New Chore.
The Chore Setup Wizard opens.
10. In the Available list, select the process for which you want to create a chore.
11. Click the right arrow icon.
12. Click Next.
13. Click a date on the calendar to specify a start date for the initial execution of
the chore.
Copyright IBM Corp. 2007, 2013
63
14. Enter a time to specify the start time for the initial execution of the chore.
15. Set the fields in the Chore Execution Frequency box to define the interval at
which the chore is executed.
16. Fill the Chore Schedule is Active box.
17. Click Finish.
The Save Chore As dialog box opens.
18. Enter a name for the chore and click Save.
Editing a Chore
To open a chore for editing in the Chore Setup Wizard:
Procedure
1. Select the chore in the left pane of the Server Explorer.
2. Choose Chore, Edit Chore.
Activating a Chore
To activate a chore that is currently deactivated:
Procedure
1. Select the chore in the left pane of the Server Explorer.
2. Toggle the Chore, Activate option on.
Deactivating a Chore
To suspend the regularly scheduled execution of a chore:
Procedure
1. Select the chore in the left pane of the Server Explorer.
2. Toggle the Chore, Activate option off.
Deleting a Chore
To delete a chore:
64
Procedure
1. Select the chore in the left pane of the Server Explorer.
2. Choose Chore, Delete.
Note: You cannot delete an active chore. You must deactivate a chore before
you can successfully delete it.
Procedure
1. Select the chore in the left pane of the Server Explorer.
2. Choose Chore, Execute.
Chore Property
When setting up a chore, Chores can be identified as:
v Single Commit Mode
All processes are committed as a single transaction. This is legacy and default
behavior.
v Multiple Commit Mode
Any processes that need to be committed do so as they are processed.
This property can be modified only when a Chore is inactive.
65
Since Startup chores are run before logins are allowed, the user can not monitor
the Startup chores with TM1Top and therefore there is no way to cancel a Startup
chore with the exception of killing the server process.
66
Procedure
1. Click TM1 in the left pane of the Server Explorer and select File, Options.
The Options dialog box opens.
2. Click the Browse button for the Local Server Data Directory to navigate to the
TurboIntegrator sample data directory.
The sample data directory is named TI_data, and it is located in your
<install_dir>\Custom\TM1Data\ directory. If you installed to the default
installation directory the full path to this sample data directory is C:\Program
Files\Cognos\TM1\Custom\TM1Data\TI_Data.
3. Click OK on the Options dialog box to set the data directory and restart the
local server.
TurboIntegrator Overview
TM1 TurboIntegrator lets you create processes that automate data importation,
metadata management, and other tasks.
A process is an object that consists of:
v A description of a data source
v A set of variables corresponding to each column in the data source
v A set of maps that define relationships between variables and data structures in
the TM1 database.
v A prolog procedure, consisting of a series of actions to be executed before the
data source is processed.
67
Procedure
1. Defining a data source
2. Setting variables
3. Mapping data
4. Editing advanced scripting
5. Scheduling the completed process
You must complete each tab of the TurboIntegrator window in sequential order
to create a process. TurboIntegrator does not let you proceed to a new tab until
you supply all required information in the current tab.
68
Each record in this source file has six fields, three of which will be used to create
the Example dimension. The first two fields will become consolidated elements.
The third field will become a numeric element. The remainder of the fields will be
ignored.
In the Dimension Editor, the Example dimension will have the following structure:
New England
v Massachusetts
Boston
Springfield
Worcester
The numeric values from Boston, Springfield, and Worcester will consolidate into
Massachusetts totals, which will consolidate into New England totals.
Procedure
1. In the left pane of the Server Explorer, select Processes beneath the local server.
2. Choose Process, Create New Process.
3.
4.
5.
6.
7.
8.
Identifying Variables:
After loading the source data into TurboIntegrator, you must identify the contents
of each field in the source. TM1 assigns a variable to each field in the source.
Procedure
1. Click the Variables tab to reveal the following information, which displays a
row for each variable in the data source.
69
Variable Name
Variable Type
Sample Value
Contents
V1
String
New England
Ignore
Massachusetts
String
Massachusetts
Ignore
Boston
String
Boston
Ignore
Supermart
String
Supermart
Ignore
Feb
String
Feb
Ignore
V6
Numeric
2000000
Ignore
2.
3.
4.
5.
The first column of the grid assigns a Variable Name to each data source field.
To assign your own variables, click the appropriate cell and enter a new
variable name.
The second column assigns a Variable Type for each variable. This identifies the
type of data in the source field. You can change the type by selecting one from
the drop-down list.
The third column, Sample Value, lists the contents of the first record of the data
source. In the above image, New England is the contents of the first field in the
first record of example.cma.
The Contents column determines the data type (Element, Consolidation, Data,
Attribute, Other, or Ignore) each variable identifies. In the example, the first
three variables identify consolidations and elements of a regional hierarchy.
In the Contents column for variable V1, select Consolidation from the
drop-down list.
Do the same for theMassachusetts variable.
For the Boston variable, select Element.
Select Ignore for all other variables, as they will not be used to create the
dimension.
Variable Name
Variable Type
Sample Value
Contents
V1
String
New England
Consolidation
Massachusetts
String
Massachusetts
Consolidation
Boston
String
Boston
Element
Supermart
String
Supermart
Ignore
Feb
String
Feb
Ignore
V6
Numeric
2000000
Ignore
Mapping Variables:
After identifying variables in the data source, you must map them to TM1 objects.
70
Procedure
1. Click the Maps tab, then the Cube sub-tab.
2. You are not creating a cube, so select No Action in the Cube Action box.
3. The Data Action is irrelevant, as you are not creating or updating a cube. You
can disregard this box.
4. The Cube Logging option is not relevant, as you are not processing data
values. Leave this option unselected.
5. Click the Dimensions sub-tab.
This grid has a row for each variable that you identified as an Element
content type. You must specify an element type and identify the dimension to
which the element belongs.
6. You are creating a new dimension, so type Example in the Dimension column
for the Boston variable.
7. Select Create from the Action drop-down list.
8. Select Numeric from the Element Type drop-down list.
The Boston variable is now mapped as a numeric element of a new dimension
named Example.
You can now map the variables identified as consolidations.
9. Click the Consolidations sub-tab.
TM1 correctly identifies both consolidation variables as members of the new
Example dimension. All you have to do is identify the child variable for each
consolidation.
10. For the V1Consolidation Variable, select Massachusetts as the Child Variable.
11. For the Massachusetts Consolidation Variable, select Boston as the Child
Variable.
12. Do not edit the Weight of either consolidation variable.
When you are done, the Consolidations sub-tab should appear as follows.
Consolidated
Variable
Dimension
Child
Variable
Weight
Sample
Value
Component
Order
V1
Example
Mass.
1.000000
Mass.
Example
Boston
1.000000
Massachusetts By Input
All mapping is complete. If you want, you can click the Advanced tab and
then click through the various sub-tabs to view the scripts generated by
TurboIntegrator that create the new Example dimension and insert
consolidations and elements. We will take a closer look at TurboIntegrator
scripts later in this tutorial.
Saving and Executing the Process:
To save and execute the process:
Procedure
.
1. Click the Run button
TM1 prompts you to save the process.
2. Save the process as create_Example_dimension.
It is a good idea to save processes with descriptive names.
Appendix A. TurboIntegrator Tutorial
71
After a few seconds, you should see a message box displaying a confirmation
that the process executed successfully.
3. Close the TurboIntegrator window.
4. Open the Server Explorer.
5. Right-click the new Example dimension and select Edit Dimension Structure.
The Example dimension opens in the Dimension Editor.
to sort the dimension members by hierarchy level.
6. Click
The Example dimension was successfully created. New England is a
consolidated element containing Massachusetts (consolidated element), which
in turn contains Boston, Springfield, and Worcester (numeric elements).
72
NewDB.mdb has one table, ACCOUNT, which has 27 fields. You will write an
SQL query to select information from six of them. All ODBC queries must use
the SQL dialect of the underlying DBMS. The syntax of an MS Access query
will be different from that of an Informix query, an SQL Server query, and so
on.
To guarantee the correct syntax, you can first create the query using the
querying facility of the underlying DBMS, then copy the query and paste it into
the TurboIntegrator Query field.
6. In the Query field, type the following statement exactly as it opens:
SELECT [ACCOUNT_ID], [PARENT_ID], [NAME], [TYPE], [SALESREP],
[SALESTEAM] FROM ACCOUNT;
7. Click Preview to view the first ten records returned by the query.
Using a parameter in the SQL:
You can create a parameter to use in the Datasource field, then call that parameter
as part of a query.
For example in the following SQL statement,
SELECT * FROM customer WHERE last_name = Smith
you can replace the value of Smith with the parameter 'pLastName' so the SQL
statement becomes:
SELECT * FROM customer WHERE last_name = ?pLastName?
To create the parameter, use the Advanced Tab in the TurboIntegrator process
dialog box to replace the default PO parameter with the parameter you want to
use, for example: pLastName.
Identifying Variables:
After querying the source data, you must identify the contents of each field in the
query results.
Procedure
1. Click the Variables tab.
Note that the Variable Name column has been filled with the correct column
names from the database.
2. Change the selections in the Contents column to these selections.
Appendix A. TurboIntegrator Tutorial
73
Variable Name
Contents
ACCOUNT_ID
Ignore
PARENT_ID
Ignore
NAME
Element
TYPE
Consolidation
SALESREP
Consolidation
SALESTEAM
Consolidation
Child Variable
TYPE
SALESREP
SALESREP
NAME
SALESTEAM
TYPE
74
Procedure
1. In the left pane of the Server Explorer, right-click the Processes icon and select
Create New Process.
The TurboIntegrator window opens.
2. Click the Data Source tab on the TurboIntegrator window.
3. Set the Data Source Type as Text; the Delimiter Type as Delimited; and the
Delimiter as Comma.
Ignore the Quote Char and Number of Title Records fields.
4. Make sure the Decimal Separator is period (.) and the Thousand Separator is
comma (,).
5. Click the Browse button next to the Data Source Name field and select the file
newcube.csv in your TI_data directory.
6. Click Preview to view the first ten records of the data source.
Each record in newcube.csv contains 20 fields. You can scroll across the display
grid to view all fields.
Identifying Variables
After loading the source data into TurboIntegrator, you must identify the contents
of each field in the source.
Procedure
1. Click the Variables tab.
Some variables will use the Vn naming convention while others will use names
corresponding to the first record in the source file.
2. To simplify the editing process, rename all variables using the Vn convention.
The first variable should be named V1, the second variable V2, and so on.
When you are done, the Variables tab should appear as follows:
75
3. For each variable, select a type from the associated Variable Type drop-down
list.
For variables V1, V2, V3, V14, and V19, the type is Numeric. For all other
variables, the type is String.
4. For each variable, select a content type from the associated Contents
drop-down list. Refer to the following table to identify the content type for
each variable.
76
Variable Name
Contents
Variable Name
Contents
V1
Data
V11
Consolidation
V2
Data
V12
Consolidation
V3
Data
V13
Consolidation
V4
Element
V14
Element
V5
Consolidation
V15
Consolidation
V6
Consolidation
V16
Consolidation
V7
Consolidation
V17
Element
V8
Consolidation
V18
Element
V9
Consolidation
V19
Element
Variable Name
Contents
Variable Name
Contents
V10
Element
V20
Element
Mapping Variables
You have identified variables for data, elements, and consolidations. Now you
have to map the variables and provide instructions for creating a new cube.
Mapping the Cube:
To provide cube mapping instructions:
Procedure
1. Click the Maps tab.
2. Click the Cube sub-tab.
3. Select Create for the Cube Action.
4. Type NewCube in the Cube Name field.
5. Select Store Values for the Data Action.
6. Do not turn on the Enable Cube Logging option.
When you enable cube logging, TM1 logs changes to cube data during
processing. You are creating a new cube, so there is no need to log changes.
Mapping Element Variables to Dimensions:
You can now map all variables you identified as having an Element type to
appropriate dimensions.
Procedure
1. Click the Dimensions sub-tab.
2. Using the following table as a guide, specify a Dimension, Action, and Element
Type for each element variable.
Element Variable
Dimension
Action
Element Type
V4
date
Create
Numeric
V10
item
Create
Numeric
V14
customer
Create
Numeric
V17
job
Create
Numeric
V18
region
Create
Numeric
V19
agent
Create
Numeric
V20
book
Create
Numeric
Data variables
measure
Create
Numeric
You can accept the default Order in Cube values for each variable.
Appendix A. TurboIntegrator Tutorial
77
Dimension
Child Variable
V5
item
V6
V6
item
V7
V7
item
V8
V8
item
V9
V9
item
V10
V11
customer
V12
V12
customer
V13
V13
customer
V14
V15
job
V16
V16
job
V17
3. You can accept the default Weight and Component Order for all consolidation
variables.
You have now completed mapping to create new dimensions, insert elements
and consolidations into the dimensions, create a new cube, and populate the
cube with data.
Saving and Executing the Process:
To save and execute the process:
Procedure
.
1. Click the Run button
TM1 prompts you to save the process.
2. Save the process as create_newcube.
78
After a few seconds, you should see confirmation that the process executed
successfully.
3. Open the Server Explorer and note that the cube NewCube has been created
and populated, and that all required dimensions have been created.
Browse the new cube (it is very sparsely populated) and examine the newly
created dimensions.
Advanced Scripting
Use the Advanced tab of TurboIntegrator to create parameters that can be passed
to a process at runtime or to edit process procedures, thereby enhancing the
capabilities of TurboIntegrator. Procedures are edited by creating scripts that
incorporate both TurboIntegrator functions and TM1 rules functions.
Description
Prolog
Metadata
Data
Epilog
When editing procedures, keep in mind that each procedure is intended to execute
certain types of actions at specific times in a process. Accordingly, you should
create actions or statements that are appropriate for a given procedure.
For example, to export processed data to an ASCII file, you would add an
ASCIIOutput function to the Data procedure. ASCIIOutput is a function that
manipulates data, and it should be executed during processing. Therefore, the Data
procedure is the correct location for the function.
Editing a Procedure
To edit a procedure:
79
Procedure
1. Click the Advanced tab on the TurboIntegrator window.
2. Click the sub-tab for the procedure you want to edit.
3. Enter your statements in the text box before the
#****GENERATED STATEMENTS START**** line
or after the
#****GENERATED STATEMENTS FINISH**** line.
You should not edit generated statements between these two lines.
80
Procedure
1. In the left pane of the Server Explorer, right-click the Processes icon and select
Create New Process.
2.
3.
4.
5.
Identifying Variables
After loading the source data into TurboIntegrator, you must identify the contents
of each field in the source.
Procedure
1. Click the Variables tab.
2. In the Contents column, select Consolidation for variables Total, North, and
TK1.
3. Select Element for variable G1.
Appendix A. TurboIntegrator Tutorial
81
Mapping Variables
You have identified variables elements and consolidations. Now you have to map
the variables to a dimension and define consolidation paths.
Procedure
1. Click the Maps tab.
2. Click the Dimensions sub-tab.
3. For element variable G1, enter unbalanced as the Dimension; Create for the
Action; and Numeric for the Element Type.
4. Click the Consolidations sub-tab.
5. In the Dimension column, select unbalanced from the drop-down list for the
three variables.
6. For the Cons. VariableTotal, select North as the Child Variable.
7. For the Cons. VariableNorth, select TK1 as the Child Variable.
8. For the Cons. VariableTK1, select G1 as the Child Variable.
Procedure
1. Click the Advanced tab, then the Prolog sub-tab.
2. Copy the DimensionDestroyand DimensionCreate functions from between the
comment lines
#****GENERATED STATEMENTS START****
#****GENERATED STATEMENTS FINISH****
82
DIMENSIONELEMENTINSERT(unbalanced,",TK1,c);
DIMENSIONELEMENTCOMPONENTADD(unbalanced,TOTAL,NORTH,1.000000);
DIMENSIONELEMENTCOMPONENTADD(unbalanced,NORTH,TK1,1.000000);
DIMENSIONELEMENTCOMPONENTADD(unbalanced,TK1,G1,1.000000);
****GENERATED STATEMENTS FINISH****
DIMENSIONELEMENTINSERT(unbalanced,",G1,n);
DIMENSIONELEMENTINSERT(unbalanced,",TOTAL,c);
DIMENSIONELEMENTINSERT(unbalanced,",NORTH,c);
DIMENSIONELEMENTINSERT(unbalanced,",TK1,c);
DIMENSIONELEMENTCOMPONENTADD(unbalanced,TOTAL,NORTH,1.000000);
DIMENSIONELEMENTCOMPONENTADD(unbalanced,NORTH,TK1,1.000000);
DIMENSIONELEMENTCOMPONENTADD(unbalanced,TK1,G1,1.000000);
Procedure
1. Click the Variables tab and change the selections in the Contents column to
Other.
When a variable is identified as Other, the variable is available to be used in
advanced scripts. If a variable is identified as Ignore, it is not processed by
TurboIntegrator and thus cannot be referenced in advanced scripts.
2. To verify that the statements have been removed, click on the Advanced tab,
then the Prolog and Metadata sub-tabs.
The statements should appear as follows:
Prolog>
#****GENERATED STATEMENTS START****
#****GENERATED STATEMENTS FINISH****
DIMENSIONDESTROY(unbalanced);
DIMENSIONCREATE(unbalanced);
Metadata>
#****GENERATED STATEMENTS START****
#****GENERATED STATEMENTS FINISH****
DIMENSIONELEMENTINSERT(unbalanced,,G1,n);
DIMENSIONELEMENTINSERT(unbalanced,,TOTAL,c);
DIMENSIONELEMENTINSERT(unbalanced,,NORTH,c);
DIMENSIONELEMENTINSERT(unbalanced,,TK1,c);
DIMENSIONELEMENTCOMPONENTADD(unbalanced,TOTAL,NORTH,1.000000);
DIMENSIONELEMENTCOMPONENTADD(unbalanced,NORTH,TK1,1.000000);
DIMENSIONELEMENTCOMPONENTADD(unbalanced,TK1,G1,1.000000);
83
DIMENSIONELEMENTCOMPONENTADD(unbalanced,TK1,G1,1.000000);
This script, which was generated based on the first record in unbalanced.csv, is
valid for records that contain four fields. The script creates dimension elements
from each field in the source, then creates a hierarchy. The script, however, is not
valid for records containing less than four fields.
Because the source file unbalanced.csv contains records of varying length, you
must modify the script to evaluate each record in the source. The script should
determine the correct level of consolidation and specify an appropriate
consolidation path for each possible level of consolidation. This can be
accomplished by editing the script to include an IF function, which allows you to
execute other TurboIntegrator statements based on defined conditions.
Procedure
1. Click the Advanced tab, then the Metadata sub-tab.
2. Insert the line
IF (G1@<>);
84
DIMENSIONELEMENTINSERT(unbalanced,,TK1,n);
DIMENSIONELEMENTCOMPONENTADD(unbalanced,TOTAL,NORTH,1.000000);
DIMENSIONELEMENTCOMPONENTADD(unbalanced,NORTH,TK1,1.000000);
85
ENDIF;
Creating Subsets
In this exercise you create subsets for the dimension newdim, which is created by
the dimension process.
Procedure
1. Open the process subsets in the TurboIntegrator window.
You might have to edit the data source to point to region.csv in your TI_data
directory. If you change the data source, you will be prompted to specify how
process variables should be handled. Select Keep All Variables.
This example uses the TM1 TurboIntegrator functions SubsetCreate() and
SubsetElementInsert() to create and populate dimension subsets.
The preview of the source file looks like this:
86
V0
V1
V2
V3
V4
Sweden
Scandanavia
Europe
International
Europe
Norway
Scandanavia
Europe
International
Europe
Denmark
Scandanavia
Europe
International
Europe
France
Europe
International
Worldwide
Europe
Germany
Europe
International
Worldwide
Europe
UK
Europe
International
Worldwide
Europe
Ireland
Europe
International
Worldwide
Europe
Holland
Europe
International
Worldwide
Europe
Spain
Europe
International
Worldwide
Europe
Italy
Europe
International
Worldwide
Europe
Creating Attributes
The AttrPutS function assigns a value to a string element attribute. If you want to
assign the string Europe to the Continent attribute of the region Sweden in the
NewDim dimension, you would write the AttrPutS function this way:
AttrPutS(Europe,NewDim,Sweden,Continent);
Procedure
1. Open the Attributes process in TurboIntegrator.
You might have to edit the data source to point to region.csv in your TI_data
directory. If you change the data source, you will be prompted to specify how
process variables should be handled. Select Keep All Variables.
2. Click the Variables tab.
Note that V4 and V5 have been identified as Attribute.
Appendix A. TurboIntegrator Tutorial
87
The two statements above were added manually because V1 and V2 were not
declared as contents in the Variables tab. They must, however, be assigned the
text attribute Continent.
6. Save and execute the Attributes process.
Procedure
1. In the Server Explorer, double-click the newdim dimension to open the Subset
Editor.
.
2. Click Subset All
3. Choose Edit, Filter By, Attribute from the menu to display the Filter by
Attribute dialog box.
4. Select an attribute value from the drop-down list on the Filter by Attribute
dialog box to display all regions for a specific continent in the Subset Editor.
88
ATTRS
AVG
BANNR
BDATE
BDAYN
v
v
v
v
v
v
v
v
CAPIT
CENTR
CHAR
CNT
CODE
COL
Consolidate Children
COS
v DATE
v DATES
v
v
v
v
v
DATFM
DAY
DAYNO
DBG16
DBGEN
v DELET
v DFRST
v DIMIX
v DIMNM
Copyright IBM Corp. 2007, 2013
89
v
v
v
v
v
DIMSIZ
DISPLY
DNEXT
DNLEV
DTYPE
v
v
v
v
v
v
v
DYS
ELCOMP
ELCOMPN
ELISANC
ELISCOMP
ELISPAR
ELLEV
v
v
v
v
v
v
ELPAR
ELPARN
ELWEIGHT
EXP
FILL
FV
v HEX
v IF
v INSRT
v
v
v
v
INT
IRR
ISLEAF
ISUND
v LIN
v LN
v LOG
v
v
v
v
v
LONG
LOOK
LOWER
MAX
MEM
v MIN
v MOD
v
v
v
v
v
v
v
MONTH
MOS
NCELL
NOW
NPV
PAYMT
PV
v RAND
v RIGHT
v ROUND
90
v
v
v
v
v
ROUNDP
SCAN
SCELL
SIGN
SIN
v
v
v
v
v
v
v
SLEEP
SQRT
STDDV
STR
SUBSIZ
SUBST
SUM
v
v
v
v
v
v
TABDIM
TAN
TIME
TIMST
TIMVL
TODAY
v TRIM
v UNDEF
v UPPER
v
v
v
v
VAR
WHOAMI
WIDTH
YEAR
v YRS
AddGroup
AllowExternalRequests
ASCIIDelete
ASCIIOutput
AssignClientPassword
v AssignClientToGroup
v AttrDelete
v
v
v
v
v
v
v
AttrInsert
AttrPutN
AttrPutS
AttrToAlias
BatchUpdateFinish
BatchUpdateStart
CellGetN
v CellGetS
Appendix B. TurboIntegrator Reserved Words
91
v
v
v
v
v
CellIsUpdateable
CellPutN
CellPutProportionalSpread
CellPutS
ChoreQuit
v
v
v
v
v
v
v
CubeCreate
CubeDestroy
CubeExists
CubeGetLogChanges
CubeLockOverride
CubeProcessFeeders
CubeSetConnParams
v
v
v
v
v
v
CubeSetIsVirtual
CubeSetLogChanges
CubeSetSAPVariablesClause
CubeSetSlicerMembers
CubeUnload
DeleteClient
v DeleteGroup
v DimensionCreate
v DimensionDeleteAllElements
v
v
v
v
DimensionDestroy
DimensionEditingAliasSet
DimensionElementComponentAdd
DimensionElementComponentDelete
v DimensionElementDelete
v DimensionElementInsert
v DimensionElementInsertByAlias
v
v
v
v
v
DimensionElementPrincipalName
DimensionExists
DimensionSortOrder
ElementSecurityGet
ElementSecurityPut
v EncodePassword
v ExecuteCommand
v
v
v
v
v
v
v
ExecuteProcess
Expand
FileExists
GetProcessErrorFileDirectory
GetProcessErrorFilename
IsNull
ItemReject
v ItemSkip
v LockOff
v LockOn
92
v
v
v
v
v
NumberToString
NumberToStringEx
NumericGlobalVariable
NumericSessionVariable
ODBCClose
v
v
v
v
v
v
v
ODBCOpen
ODBCOutput
ProcessBreak
ProcessError
ProcessExitByBreak
ProcessExitByChoreQuit
ProcessExitByQuit
v
v
v
v
v
v
ProcessExitMinorError
ProcessExitNormal
ProcessExitOnInit
ProcessExitSeriousError
ProcessExitWithMessage
ProcessQuit
v PublishView
v RemoveClientFromGroup
v ReturnSQLTableHandle
v
v
v
v
ReturnViewHandle
RuleLoadFromFile
SaveDataAll
SecurityRefresh
v ServerShutDown
v SetChoreVerboseMessages
v StringGlobalVariable
v
v
v
v
v
StringSessionVariable
StringToNumber
StringToNumberEx
SubsetAliasSet
SubsetCreate
v SubsetCreateByMDX
v SubsetDeleteAllElements
v
v
v
v
v
v
v
SubsetDestroy
SubsetElementDelete
SubsetElementInsert
SubsetExists
SubsetFormatStyleSet
SubsetGetElementName
SubsetGetSize
v SubsetIsAllSet
v SwapAliasWithPrincipalName
v ViewColumnDimensionSet
Appendix B. TurboIntegrator Reserved Words
93
v
v
v
v
v
ViewColumnSuppressZeroesSet
ViewConstruct
ViewCreate
ViewDestroy
ViewExists
v
v
v
v
v
v
v
ViewExtractSkipRuleValuesSet
ViewExtractSkipRuleValuesSet
ViewExtractSkipZeroesSet
ViewRowDimensionSet
ViewRowSuppressZeroesSet
ViewSetSkipCalcs
ViewSetSkipRuleValues
v
v
v
v
v
v
ViewSetSkipZeroes
ViewSubsetAssign
ViewSuppressZeroesSet
ViewTitleDimensionSet
ViewTitleElementSet
ViewZeroOut
v WildcardFileSearch
DatasourceCubeview
DatasourceDimensionSubset
DatasourceNameForClient
DatasourceNameForServer
DatasourceODBOCatalog
v DatasourceODBOConnectionString
v DatasourceODBOCubeName
v
v
v
v
v
DatasourceODBOHierarchyName
DatasourceODBOLocation
DatasourceODBOProvider
DatasourceODBOSAPClientId
DatasourceODBOSAPClientLanguage
v DatasourcePassword
v DatasourceQuery
v
v
v
v
94
DatasourceType
DatasourceUseCallerProcessConnection
DatasourceUsername
MinorErrorLogMax
v
v
v
v
NValue
OnMinorErrorDoItemSkip
SValue
Value_Is_String
TurboIntegrator Keywords
These are the reserved TurboIntegrator keywords.
v break
v else
v elseif
v
v
v
v
end
endif
if
while
95
96
Notices
This information was developed for products and services offered worldwide.
IBM may not offer the products, services, or features discussed in this document in
other countries. Consult your local IBM representative for information on the
products and services currently available in your area. Any reference to an IBM
product, program, or service is not intended to state or imply that only that IBM
product, program, or service may be used. Any functionally equivalent product,
program, or service that does not infringe any IBM intellectual property right may
be used instead. However, it is the user's responsibility to evaluate and verify the
operation of any non-IBM product, program, or service. This document may
describe products, services, or features that are not included in the Program or
license entitlement that you have purchased.
IBM may have patents or pending patent applications covering subject matter
described in this document. The furnishing of this document does not grant you
any license to these patents. You can send license inquiries, in writing, to:
IBM Director of Licensing
IBM Corporation
North Castle Drive
Armonk, NY 10504-1785
U.S.A.
For license inquiries regarding double-byte (DBCS) information, contact the IBM
Intellectual Property Department in your country or send inquiries, in writing, to:
Intellectual Property Licensing
Legal and Intellectual Property Law
IBM Japan Ltd.
19-21, Nihonbashi-Hakozakicho, Chuo-ku
Tokyo 103-8510, Japan
The following paragraph does not apply to the United Kingdom or any other
country where such provisions are inconsistent with local law: INTERNATIONAL
BUSINESS MACHINES CORPORATION PROVIDES THIS PUBLICATION "AS IS"
WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR
PURPOSE. Some states do not allow disclaimer of express or implied warranties in
certain transactions, therefore, this statement may not apply to you.
This information could include technical inaccuracies or typographical errors.
Changes are periodically made to the information herein; these changes will be
incorporated in new editions of the publication. IBM may make improvements
and/or changes in the product(s) and/or the program(s) described in this
publication at any time without notice.
Any references in this information to non-IBM Web sites are provided for
convenience only and do not in any manner serve as an endorsement of those Web
sites. The materials at those Web sites are not part of the materials for this IBM
product and use of those Web sites is at your own risk.
Copyright IBM Corp. 2007, 2013
97
IBM may use or distribute any of the information you supply in any way it
believes appropriate without incurring any obligation to you.
Licensees of this program who wish to have information about it for the purpose
of enabling: (i) the exchange of information between independently created
programs and other programs (including this one) and (ii) the mutual use of the
information which has been exchanged, should contact:
IBM Software Group
Attention: Licensing
3755 Riverside Dr
Ottawa, ON K1V 1B7
Canada
Such information may be available, subject to appropriate terms and conditions,
including in some cases, payment of a fee.
The licensed program described in this document and all licensed material
available for it are provided by IBM under terms of the IBM Customer Agreement,
IBM International Program License Agreement or any equivalent agreement
between us.
Any performance data contained herein was determined in a controlled
environment. Therefore, the results obtained in other operating environments may
vary significantly. Some measurements may have been made on development-level
systems and there is no guarantee that these measurements will be the same on
generally available systems. Furthermore, some measurements may have been
estimated through extrapolation. Actual results may vary. Users of this document
should verify the applicable data for their specific environment.
Information concerning non-IBM products was obtained from the suppliers of
those products, their published announcements or other publicly available sources.
IBM has not tested those products and cannot confirm the accuracy of
performance, compatibility or any other claims related to non-IBM products.
Questions on the capabilities of non-IBM products should be addressed to the
suppliers of those products.
All statements regarding IBM's future direction or intent are subject to change or
withdrawal without notice, and represent goals and objectives only.
This information contains examples of data and reports used in daily business
operations. To illustrate them as completely as possible, the examples include the
names of individuals, companies, brands, and products. All of these names are
fictitious and any similarity to the names and addresses used by an actual business
enterprise is entirely coincidental.
If you are viewing this information softcopy, the photographs and color
illustrations may not appear.
98
Trademarks
IBM, the IBM logo and ibm.com are trademarks or registered trademarks of
International Business Machines Corp., registered in many jurisdictions worldwide.
Other product and service names might be trademarks of IBM or other companies.
A current list of IBM trademarks is available on the Web at Copyright and
trademark information at www.ibm.com/legal/copytrade.shtml.
The following terms are trademarks or registered trademarks of other companies:
v Microsoft, Windows, Windows NT, and the Windows logo are trademarks of
Microsoft Corporation in the United States, other countries, or both.
v Linux is a registered trademark of Linus Torvalds in the United States, other
countries, or both.
v UNIX is a registered trademark of The Open Group in the United States and
other countries.
Notices
99
100
Index
E
A
alias in TI functions
ASCII
files 1
flat file 13
sample file 69
elements
importing from data sources
Epilog procedure 2
error messages 56
B
bulk load mode
47
characteristic
mapping 32
chore 65
automatic execution 63
definition 2, 63
setup wizard 63
ChoreCommit 65
configuration 54
connection
MSAS string 23
SAP parameters 31
consolidations
mapping 12
multiple 12
cube
ASCII flat file 13
creating 13
data source 14
mapping 11, 15
variables 14
view 19
Custom query 36
39
K
key figures
32
D
data
mapping 12
ODBC source 17
procedure 2
source 2, 7, 11, 14, 19
variables 15
data extraction
SAP BW guidelines for variable usage
data source parameter 73
detailed fact query subject 39
detailed key figures 39
dimension
ASCII flat file 7
mapping 12
mapping consolidation variables 15
mapping data variables 15
mapping element variables 15
ODBO 29
subset data source 19
41
mapping
consolidation variables to dimension
consolidations 12
cube 11, 15
cube variables 15
data 12
dimension 12
dimension element variables 15
variables 11
MDX 18
measures
for IBM Cognos 8 Planning 39
message log 30
metadata procedure 2
Microsoft Analysis Services 23, 28, 30
connecting 25
connection string 23
importing a cube 25
importing a dimension 28
MSAS
connection string 23
15
N
non-dimensionally modeled
null values 3
36
O
ODBC 1
catalog 23
data source 17
define data source
17
101
SAP (continued)
connection parameters 31
establishing a connection to BW 31
hierarchies 32
key figures 32
mapping 32
SAP BW
guidelines for using fact data 41
SAP BW data
Cognos Planning 39
SAP BW query
specifying segmenting prompt 44
serializing TurboIntegrator processes 58
Sign-on 31
SQL query 17
startup 65
STET 3
string length limit 1
strings 3
synchronized 58
synchronized() 58
syntax 50, 58
ODBO
Catalog 23
cube 26
cube dimensions 26, 27
data source 23
Data Source 23
dimension 29
location 23
Location 23
Provider Name 23
saving cube 28
saving dimension 29
OLAP 23
OLE DB 23
OLE_LINK1 81
P
parallel queries 45
parameter in data source 73
passwords 58
process
definition 2
editing 49
executing 13, 49
procedures 2
running ODBO 30
saving 13, 30
tips 3
prolog procedure 2
prompts
specifying segmenting in SAP BW query
44
Q
query
SQL 17
Querying the data source
72
R
records, fixed length 8
registered server 23
reserved words
implicit variable names 94
overview 89
process functions 91
rule functions 89
TurboIntegrator keywords 95
TI processes
recommedations 4
TM1RunTI 50, 54, 56, 58
TurboIntegrator
functions 2
importing data 2
importing from MDX 18
ODBC 17
process 2
reserved words 89
tutorial 67
tutorial
creating 68, 69, 75, 86, 87
creating dimensions 69
data directory 67
editing procedures within a process
overview 67
79
U
UNC 7
Universal Naming Convention
data source 7
V
S
sample ASCII file 69
sandbox
running with a TurboIntegrator process 5
TurboIntegrator functions 5
using with TurboIntegrator processes 4
SAP
BW 31
characteristics 32
102
variables
cube 14
data source 11
default names 11
guidelines for SAP BW fact data 41
map cube 15
mapping 11
mapping consolidation to dimension 15
mapping to dimension 15