ContentsIndexPreviousNext

4.1 Running Your Application

Before using AcuSQL for the first time, you should test your Windows-to-data host or UNIX-to-data host connection software. If you're using IBM's "DB2 Connect" software, you can test your connection under Windows by launching the Client Configuration Assistant and clicking "Test". For full testing instructions consult your DB2 Connect documentation. To test other vendor's connectivity software, consult your product documentation. It is essential that you prove the proper functioning of your database connection software before attempting to run your program.

The program object file created by successful pre-compilation and compilation is ready for immediate execution. There are no special options or configuration settings needed to run an ESQL program. To start the program within AcuBench, simply double-click on the executable file in the Object Tab. To start the program from the DOS or UNIX command line, enter the name of your ACUCOBOL-GT runtime executable ("wrun32.exe" on DOS, "runcbl" on UNIX) followed by the name of the executable file (the runtime executable must be in a directory that is included in the current PATH definition). For a detailed discussion of the runtime environment and runtime options, see Chapter 2, Section 2.2 of the ACUCOBOL-GT User's Guide.