General requirements

To run the Embedded SQL/COBOL examples, set the SYBASE environment variable to the path of the Sybase installation directory (if not already set).

You need to access a SQL Server/Adaptive Server on which the pubs2 sample database is installed. Refer to your installation guide for information on installing the pubs2 database.

Before you precompile the programs, replace the user name and password with values that are valid for your SQL Server/Adaptive Server. Comments in the programs show where you should make the changes.

NoteBefore the example programs produce any results, you may need to press Return.