Running map outside event server (using a batch file). Running fine but now need to capture runmap return code.
Here's a sample of script before modification.
mercnt path\runmap -IF1 path\file -OF1 path\file -b
Two example using echo below.
-IE1 path\file -OE1 path\file
and Echo(-IF1 path\file -OF1 path\file)
The command server window shows 'map not found'. Looks like it runs runmap OK but fails trying to find where return code needs to go.
Can I echo back return code to batch file or java class? What am I missing?
Here's a sample of script before modification.
mercnt path\runmap -IF1 path\file -OF1 path\file -b
Two example using echo below.
-IE1 path\file -OE1 path\file
and Echo(-IF1 path\file -OF1 path\file)
The command server window shows 'map not found'. Looks like it runs runmap OK but fails trying to find where return code needs to go.
Can I echo back return code to batch file or java class? What am I missing?