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
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
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
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.