Scenario: run mcompile with -DP and -TX options
In this scenario, you run the mcompile utility command with the -DP and -TX options.
In these examples, myDPandTXmaps.mms map source file contains five executable maps. Three are IBM DataPower executable maps (MyDPExec1Map, MyDPExec3Map and MyDPExec4Map) and two are IBM Transformation Extender executable maps (MyTXExec2Map and MyTXExec5Map). The examples use combinations of the (-DP) and (-TX) mcompile command options along with the list (-L) option. The list of all executable maps for the specified map type and map source file will display in alphabetical order on the console. The total number of executable maps will display as well.
Display all IBM DataPower executable maps
An extension of the example is to use the mcompile utility command to display all the IBM DataPower executable maps on the console from the command line, outside the Map Designer GUI.
The following example shows how you can use the command with the (-L) option along with the (-DP) option:
install_dir> mcompile myDPandTXmaps.mms
-L -DP
Result:
Executable maps in myDPandTXmaps.mms: MyDPExec1Map MyDPExec3Map MyDPExec4Map
Total executable maps: 3
Display all IBM Transformation Extender executable maps
An extension of the example is to use the mcompile utility command to display all the IBM Transformation Extender executable maps on the console from the command line, outside the Map Designer GUI.
The following example shows how you can use the command with the (-L) option along with the (-TX) option:
install_dir> mcompile myDPandTXmaps.mms
-L -TX
Result:
Executable maps in myDPandTXmaps.mms: MyTXExec2Map MyTXExec5Map
Total executable maps: 2
Display 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 on the console from the command line, outside the Map Designer GUI.
The following example shows how you can use the command with the (-L) option without specifying the (-TX) and (-DP) options:
install_dir> mcompile myDPandTXmaps.mms
-L
Result:
Executable maps in myDPandTXmaps.mms: MyDPExec1Map MyTXExec2Map
MyDPExec3Map MyDPExec4Map MyTXExec5Map
Total executable maps: 5