General requirements

To run the Embedded SQL/COBOL sample programs, set these environment variables:

You need to access an Adaptive Server on which the pubs2 sample database is installed. Refer to the Adaptive Server Enterprise 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 Adaptive Server. Comments in the programs show where you should make the changes.

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