All the sample programs reference the example header file, sybsqlex.h. The contents of sybsqlex.h are as follows:
/**************************************************
* *
* sybsqlex.h - header file for Embedded SQL/C *
* sample programs *
* *
**************************************************/
#define USER "username"
#define PASSWORD "password"
#define ERREXIT -1
#define STDEXIT 0
All the sample programs contain this line:
#include "sybsqlex.h"
USER and PASSWORD are defined in sybsqlex.h as “username” and “password.” Before you run the sample programs, you must edit sybsqlex.h: Change “username” to your Adaptive Server login name and “password” to your Adaptive Server password.