Saving and Compiling Maps as the Sterling B2B Integrator Map Type from the Command Line

The Sterling B2B Integrator Map Editor also enables you to automatically save and compile a single map (or a group of maps located in a specified folder) as a different map type from the command line. This function gives you a quick and easy alternative to having to manually open a non-Sterling B2B Integrator-type map in the Sterling B2B Integrator Map Editor, access the Map Details dialog box, change the map type to Sterling B2B Integrator, and then save and compile the map.

Note: This option is very flexible; you may use it to, for example, save and compile an Export map created in Sterling Gentran:Server® For Microsoft Windows or maps created using Sterling Gentran:Server For UNIX with the MAPPER.EXE) to the Sterling B2B Integrator map type.
Note: The compiled translation objects are written to same folder as the map source files. Therefore, always save a copy of your original maps to another folder prior to running any command line option, in case you make an error in the syntax.

Syntax

The command line syntax (from the folder where the map or maps you want to compile are located) follows:


mapper.exe -c -s [numeric map type] [map filenames]
Note: You can use either - or / to designate the compile (c or C) and save (s or S) options. The [map filenames] is either a single map or a map file name that contains a wildcard character (*). Using the wildcard character causes MAPPER.EXE to compile all maps in the designated folder with that file name pattern. MAPPER.EXE does not recurse through subfolders.