ContentsIndexPreviousNext

1.4 Demonstration Programs

Included with your AcuSQL software are several ESQL demonstration programs. These programs, which connect to DB2 or Microsoft Access files, provide working examples of ESQL COBOL program code. The source files are located in the "sample/acusql" subdirectory of your ACUCOBOL-GT installation directory. Program source files have the three-character suffix ".sqb". If you are using AcuBench, an AcuSQL demonstration program is included in the sample project "Samprj".

We recommend that you acquaint yourself with these programs and, if you have the underlying middleware support, that you pre-compile, compile, and run them (the DB2 program requires a Windows-to-DB2 ODBC data connection; the Access program requires an ODBC data source). The program code includes examples of how to establish connections and how to access and manipulate data.