To map a base record table to an existing database table
You can map a new base record table to an existing database table:
*
*
You map a new base record table to make data accessible to processes in flowcharts.
1.
Begin from the New Table Definition - Select the table type window.
*
2.
If necessary, select Base Record Table, then click Next.
3.
Select Map to Existing Table in Selected Database, select the data source name, then click Next.
4.
The tables are listed in alphabetical order by <owner>.<table_name>. If you do not see a table you expect, check whether the data source is configured to filter specific table entries.
The source fields in the table you select are mapped automatically to new table fields in the base record table you are creating. To change the automatic mappings, select fields from the Source Table Fields list or the New Table Fields List, and use the Add, Remove, Up 1, an Down 1 buttons, until the table is mapped as required.
You can click on the Field Name column in the New Table Fields section to automatically sort column names alphabetically in ascending (or descending) order.
5.
Click Next.
6.
Optionally, you can change the name which Campaign will use for the base record table and its fields to a more user-friendly value.
a.
To change the table name, edit the name in the IBM® Campaign Table Name field.
b.
To change a field name, select the field name in the New Table Fields list, and edit the text in the IBM® Campaign Field Name field.
7.
Click Next.
8.
Select an Audience Level from the drop-down list. The Audience Fields list is automatically populated with the fields required to define the selected audience level. You must match one or more fields in the new base table that correspond to each required key.
9.
Setting this option correctly is important for correct configuration of options in an Audience process. If you don't know the correct setting, leave this option unchecked.
10.
Click Next.
11.
a.
Click Add.
The Audience Level and ID Fields window opens.
b.
Select an Audience Level Name.
c.
For each Audience Field, match appropriate field(s) from the base table to the corresponding key(s) in the audience level.
d.
e.
f.
12.
a.
b.
For each related dimension table, in the New Table's Key Fields(s) To Use list, select a field from the base table to match each listed key in the Dimension Table's Key Field(s) list, then click Next.
13.
14.
Click Finish.
You have created the base record table based on an existing database table. The new base table is part of the current table catalog, which you can manage through the table manager.