Table 5-1 lists libraries to include 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:
Platform |
Supported libraries |
---|---|
All platforms |
libsybcobct – COBOL interface to Client-Library and CS-Library (Sybase) libsybct – Client-Library (Sybase) libsybcs – CS-Library (Sybase) libsybunic – Unicode-Library (Sybase internal) libsybcomn – an internal shared-utility library (Sybase internal) libsybintl – internationalization support library (Sybase internal) libsybtcl – transport control layer (Sybase internal) libm – standard UNIX math library (system) |
Solaris platforms |
libpthread – thread library (system) libsocket – socket network library (system) libnsl – a network library (system) libdl – dynamic loader library (system) libthread – native thread library (system) |
HP HP-UX PA-RISC |
libsybcobct.sl – shared dynamic 32-bit veneer layer library libsybcobct_r.sl – shared dynamic 32-bit veneer layer library (reentrant version) libsybcobct64.sl – shared dynamic 64-bit veneer layer library libsybcobct_r64.sl – shared dynamic 64-bit veneer layer library (reentrant version) |
HP HP-UX Itanium |
libcl – HP transport control layer (system) libBSD – the BSD library (system) libc_r – C reentrant library libdld – dynamic loader library (system) |
IBM AIX RS/6000 |
libc_r – C reentrant library libpthread – thread library (system) |
Linux x86 32-bit |
libsybcobct – COBOL interface to Client-Library and CS-Library (Sybase) libsybct – Client-Library (Sybase) libsybcs – CS-Library (Sybase) libsybtcl – transport control layer (Sybase internal) libsybcomn – an internal shared-utility library (Sybase internal) libsybintl – internationalization support library (Sybase internal) libsybunic – Unicode-Library (Sybase internal) libdl – dynamic loader library (system) libnsl – a network library (system) libm – standard UNIX math library (system) |
All other platforms that support ESQL/ COBOL |
libsybcobct.so – shared dynamic 32-bit veneer layer library libsybcobct_r.so – shared dynamic 32-bit veneer layer library (reentrant version) libsybcobct64.so – shared dynamic 64-bit veneer layer library libsybcobct_r64.so – shared dynamic 64-bit veneer layer library (reentrant version) |
There are three basic steps to building an executable program from an Embedded SQL/COBOL application:
Precompile the application.
Compile and link the COBOL source code generated by the precompiler.
Load any precompiler-generated stored procedures.