Mapping using different templates

The mapping relationship is stored in the To template. The mapping information is the column number and the column name. If you reuse a template to copy, import, export, or load data, the mapping information is checked. FM/Db2 ensures that the column in the specified position has the specified name. If this is not the case, FM/Db2 indicates that the mapping has broken down, and gives you the option of either terminating the FM/Db2 function, or updating the mapping information in the To template.

This means that you can use a template that is different from the From template you used to set up the mapping, provided that the structure of the new template does not differ from the structure of the old template. That is, no columns that have been used in the mapping are in a different position or have a different name. The new From template can, however, have different selection conditions.

You can also use a To template as a From template. However, in this case, the mapping information is not relevant.