Libraries

The following table lists libraries that you should include if you want to take full advantage of all Embedded SQL/COBOL capabilities. The first row in the table lists libraries that all platforms can use. Subsequent rows list libraries specific for each platform:

Table 4-1: Platform-specific libraries for Embedded SQL/COBOL

Platform

Supported libraries

All platforms

libcobct – COBOL interface to Client-Library and CS-Library (Sybase) libct – Client-Library (Sybase) libcs – CS-Library (Sybase) libcomn – An internal shared-utility library (Sybase internal) libintl – Internationalization support library (Sybase internal) libtcl – Transport Control Layer (Sybase internal)

There are three basic steps to building an executable program from an Embedded SQL/COBOL application:

  1. Precompile the application.

  2. Compile and link the COBOL source code generated by the precompiler.

  3. Load any precompiler-generated stored procedures.

These steps are described in the following sections.