Using Embedded SQL/COBOL sample programs

Embedded SQL includes two sample programs that demonstrate typical Embedded SQL applications. Sample programs are located in the %SYBASE%\%SYBASE_OCS%\sample\esqlcob directory.

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

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.

NoteThese simplified programs are not intended for use in a production environment. Programs written for a production environment need additional error handling.