Compiling
data transformation maps
A data transformation map needs to be compiled into a map control string before the translator component of WebSphere Partner Gateway can perform translations related to the map.
The following steps describe how to compile a data transformation map.
- Open the
Data Transformation Maps list window by clicking the Mapping button on
the Data Interchange Services client navigator bar, then selecting the
Data Transformation Maps tab.
- Select
one or more maps in the Data Transformation Maps list window.
- Click
the Compile button on the toolbar, or select Compile from the Actions
menu.
Note:
Alternatively,
you can compile data transformation maps from the Data Transformation
Map editor. From the editor, press the Compile button on the toolbar, or
select Compile from the Actions menu. If a change has been made in the
editor, a dialog appears asking if the change can be saved. Click OK to
save the change and continue the compile process. Click the Cancel
button if you do not want to save the change or compile the
map.
Data
Interchange Services client compiles the selected data transformation
maps and displays an Execution Status window. When Data Interchange
Services client is finished compiling, a message appears on the
Execution Status window indicating that the compile has been completed.
You can click the Cancel button on the Execution Status window to
terminate the compile function.
In addition to
compiling or recompiling the map, the map control string must be copied
to the database accessed by the translator component of WebSphere
Partner Gateway. This is commonly done using the export and import
functions.
Note:
Compiling
a data transformation map involves a large amount of database access. If
your database is on a network, it may be preferable to move your map and
document definitions to a local database and do the compile on the local
database. After the compile has completed, the control string can be
exported to the desired database.
