A Table Map is used to specify the names of the tables to be created at the destination. By default, Move assumes the base names of the tables in the Extract File are to be used.
You must specify a Destination Creator ID. This option is required in order to execute the Create Process, grant privileges, specify synonyms and other objects, or use the Output option.
When you select Option 1 Table Map from the CREATE Process menu, the CREATE Process Table Map panel is displayed. Assume the object definitions for three tables are specified in an Extract File. The following panel is displayed:
-------------------------- CREATE Process Table Map ---------------------------
Command ===> Scroll ===> PAGE
Available Commands: APPLY,SAVE,LIST,CLEAR, END when Complete
Src CID: FOPDEMO
Dest CID: >>
Extract Tables Destination Table Name Type
--------------------- ------------------------->> -------
************************** TOP **************************
CUSTOMERS CUSTOMERS UNKNOWN
ORDERS ORDERS UNKNOWN
DETAILS DETAILS UNKNOWN
************************ BOTTOM *************************
This panel includes:
You can specify other names by overtyping the name, by requesting a selection list from which to choose, or using the APPLY command. If you leave Destination Table Name blank, the corresponding object definitions in the Extract File are ignored for the current Create Process and the objects are not created.
TablesThe LIST command is available for aliases, records, synonyms, tables, and views. For example, to obtain a selection list of available tables, use the command LIST TABLES and position the cursor on the destination table name you want to supply and press ENTER. A selection list of available tables with the destination Creator ID is displayed. You can override the destination Creator ID with the LIST TABLES command as in LIST TABLES SMITH.%.
Use the Select line command, S, to select a table name from the selection list. Move automatically places the name in Destination Table Name where the cursor is positioned.
Duplicate table names are not allowed. Therefore, the same table name cannot be specified twice as a destination table.
You can use the APPLY command to populate the Table Map with the specifications from a previously defined Table Map. If the source tables in the process match the source tables in the Table Map, Move populates the destination tables from the existing Table Map. APPLY can be used to populate all table names and the Dest CID regardless of any entry, or populate only the blank areas.
MOVE automatically revises the Type each time you modify a destination table name. If you modify the Dest CID, any tables that are listed without an explicit Creator ID automatically use the new Dest CID. This may cause the Type value to change, requiring your review. You can explicitly supply the Creator ID with the Destination Table Name. If you do this, changing the Dest CID does not affect the table name.
Additional information about defining Table Maps is provided in the Common Elements Manual.