Compiling
validation maps
A validation map needs to be compiled into a map control string before the translator component of WebSphere Partner Gateway can perform additional validation on an EDI document using the map.
The following steps describe how to compile a validation map.
- Open the
Validation Maps list window by clicking the Mapping button on the Data
Interchange Services client Navigator bar, then clicking the Validation
Maps tab.
- Select
one or more maps in the Validation Maps list window.
- Click
the Compile button on the toolbar, or select Compile from the Actions
menu.
Note:
Alternatively,
you can compile validation maps from the Validation Map editor. From the
editor, click 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 the OK button 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 validation 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 validation 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 definition 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.
