The Embedded SQL/COBOL example programs

Embedded SQL includes two example programs that demonstrate typical Embedded SQL applications. Example programs are located in the \sample\esqlcob subdirectory under the Sybase installation directory.

A README file in the same directory contains instructions for building and executing the examples and notes about using them. The COBOL.pco file defines a SQL Server/Adaptive Server login name and password. Update the login information in this file before compiling the examples.

The System 11 sample programs demonstrate specific Embedded SQL/COBOL functionality. These programs are designed as guides for application programmers, not as Embedded SQL/COBOL training aids. Read the descriptions at the top of each source file and examine the source code before attempting to use the sample programs. These simplified programs are not intended for use in a production environment. Programs written for a production environment need additional error handling.