To run Embedded SQL/C applications, including the sample programs, you must:
Set these environment variables, which are described in Appendix B, “Environment Variables”:
SYBASE
SYBASE_OCS
SYBPLATFORM
Platform-specific library path variable
Be able to access an Adaptive Server on which the pubs2 sample database is installed. See the Adaptive Server Enterprise Installation Guide for information about installing the pubs2 database.
Set execute permission on the sybopts.sh file for the file’s owner:
chmod u+x sybopts.sh
If you have not already done so, include the current directory in the search path:
setenv PATH .:$PATH