The sample programs are located in the directory:
$SYBASE/sample/esqlc
This directory includes:
Online source code for the sample programs.
The makefile provided to build the samples. Use the makefile as a starting point for your own Embedded SQL applications.
The samples header file, sybsqlex.h.
The README file containing instructions for building, executing, and testing the samples.
Before compiling and running the sample programs, copy the contents of $SYBASE/sample/esql into a “working” directory, where you can freely experiment with the sample programs without affecting the integrity of the original files.