Compile a Map

About this task

The Compile function compiles the map. The map that you create using Sterling B2B Integrator Map Editor is a source map (.mxl or .map extension), which is the graphical representation of the data you are mapping. When that source map is compiled, the result is a translation object (.txo extension), which is what the translator uses to translate data.

Note: A WTX map must be compiled on the platform on which you will be checking in and using the map. Sterling B2B Integrator Map Editor does not support the compilation of WTX maps; you must use Design Studio to compile WTX maps.

You use the Compile function after the map is completed and saved.

To compile a map:

Procedure

  1. From the File menu, select Compile.

    The Translation Object Name dialog box opens.

  2. In the File name box, type the name of the translation object. Use the default .txo extension. Do not use spaces or apostrophes in the name.
    Note: Do not overlay the source map with the translation object by erroneously selecting the .mxl or .map extension for the compiled translation object. To save a map as a .map file (save the source file), select File > Save As and then select Source Maps (*.map) from the Save as type list.

    A good practice is to name the translation object (.txo extension) with the same file name as the source map (.mxl or .map extension). Preserving the same file name (with different extensions) means that the relationship between the source map and the translation object remains evident.

    Note: To save your source map as an XML file (.mxl file extension), you must have the Microsoft XML Core Services (MSXML) installed on the same computer as Sterling B2B Integrator Map Editor. If you do not have Microsoft XML Core Services (MSXML) installed, you cannot save source maps as .mxl files and must use the .map extension.
  3. In the Save in list, change the drive\folder where the translation object is stored, if necessary.
  4. Click Save to compile the map.
    Note: A progress dialog box displays and updates during the compilation process. If the map contains a large number of objects, you may be prompted that you should save the map in .MAP format.
  5. Verify that no errors occurred and click OK.

    The date that the map was compiled on is automatically loaded into the Compiled on box in the Map Details dialog box.

  6. From the File menu, select Save to save the source map with the Compiled on date. To save a map as a .map file, select File > Save As and then select Source Maps (*.map) from the Save as type list.
    Note: Prior to opening an .mxl (XML-formatted) file, the Sterling B2B Integrator Map Editor verifies that you have the Microsoft XML Core Services (MSXML) installed on the same computer as Sterling B2B Integrator Map Editor. If you do not have the Microsoft XML Core Services (MSXML) nstalled, the Sterling B2B Integrator Map Editor cannot save or load .mxl source files.