ObjectMap parameters
The following figure shows an example of the [ObjectMap] parameters values. Example of [ObjectMap] parameters (column only) shows how to change the name of a column without changing the name of the table that contains the column.
To specify object mapping parameters for Db2 objects with long names, you might need to use multiple lines in your configuration file. For more information, see Overview of the configuration file’s format.
If you specify table names only, all columns are included and the target table columns are same as the source table columns. If all column names in target table are different from those in the source table, you must map all columns manually. If one column name is different in the target table from the source table, you have to specify only that column in object mapping. All other columns are still used and are assumed to have the same name on the source and the target tables.
SourceTable=ACCTG.EMPLYE
TargetTable=SYS14.EMPLOY
SourceColumn=NAME
TargetColumn=EMPNAME
SourceTable=ACCTG.PAYROLL
TargetTable=SYS14.PAYROLL
SourceColumn=SALARY
TargetColumn=PAYRATE
SourceTable=ACCTG.EMPLYE
TargetTable=ACCTG.EMPLYE
SourceColumn=NAME
TargetColumn=EMPNAME