Scenario: run mcompile with -DP and -TX options

In this scenario, you run the mcompile utility command with -DP and -TX options to compile all executable maps.

In these examples, myDPandTXmaps.mms map source file contains five executable maps. Three are DP executable maps (MyDPExec1Map, MyDPExec3Map and MyDPExec4Map) and two are TX executable maps (MyTXExec2Map and MyTXExec5Map). The examples use combinations of the (-DP) and (-TX) mcompile command options along with the all (-A) option. All of the executable maps for the specified map type and map source file will be compiled.

Compile all IBM DataPower executable maps

An extension of the example is to use the mcompile utility command to compile all the IBM DataPower executable maps from the command line, outside the Map Designer GUI. The following command is an example of using the (-A) option on the mcompile utility command along with the (-DP) option:

install_dir> mcompile myDPandTXmaps.mms 
      -A -DP

Result:

If all the executable IBM DataPower maps (MyDPExec1Map, MyDPExec3Map and MyDPExec4Map) in the myDPandTXmaps.mms map source file are compiled successfully, the mcompile - completed successfully. message will display on the console.

Compile all IBM Transformation Extender executable maps

An extension of the example is to use the mcompile utility command to compile all the IBM Transformation Extender executable maps from the command line, outside the Map Designer GUI. The following command is an example of using the (-A) option on the mcompile utility command along with the (-TX) option:

install_dir> mcompile myDPandTXmaps.mms 
      -A -TX

Result:

If all the executable IBM Transformation Extender maps (MyTXExec2Map and MyTXExec5Map) in the myDPandTXmaps.mms map source file are compiled successfully, the mcompile - completed successfully. message will display on the console.

Compile all IBM DataPower and IBM Transformation Extender executable maps

An extension of the example is to use the mcompile utility command to display all the IBM DataPower and IBM Transformation Extender executable maps from the command line, outside the Map Designer GUI. The following command is an example of using the (-A) option on the mcompile utility command without specifying the (-TX) and (-DP) options:

install_dir> mcompile myDPandTXmaps.mms 
      -A 

Result:

If all the executable IBM DataPower and IBM Transformation Extender maps (MyDPExec1Map, MyTXExec2Map, MyDPExec3Map, MyDPExec4Map and MyTXExec5Map) in the myDPandTXmaps.mms map source file are compiled successfully, the mcompile - completed successfully. message will display on the console.