After a successful compilation, the resultant object file is ready for immediate execution (there is no link step). To run your program, make a note of the full path to your object file and return to the Windows desktop or Program Manager.
There are a variety of ways to run your program under Windows. The basic methods are:
This document describes only the first option. The advantage of using the Run dialog is that it requires no special setup. However, it is a time-consuming method because you must type the command line options every time you execute the program. For the greatest convenience to the end user, it is best to set up a program icon. To set up an icon, or to create a file association to the runtime, please refer to your Windows documentation.
The default name is "wrun32.exe". If you changed the name of the runtime executable, enter that name.
If you didn't add ACUCOBOL-GT to your path, you will need to specify the full path to the runtime (for example: "c:\Program Files\Micro Focus\Acucbl900\bin\wrun32.exe").
You can use the COBOL configuration variable DEFAULT_PROGRAM to specify the name of the program to execute when no program is specified on the command line. See Appendix H in the ACUCOBOL-GT documentation set for more configuration information.