The Embedded SQL/COBOL precompiler has two online sample programs, described in the following sections, that demonstrate typical Embedded SQL applications.
Before compiling and running the sample programs, copy
the contents of $SYBASE/sample/esqlcob into
a “working” directory, where you can freely experiment
with the sample programs without affecting the integrity of the original
files.