Datatypes

The COBOL veneer layer is a library used by the precompiled application along with Open Client Client-Library. The COBOL code generated by the precompiler calls functions in the veneer layer, each of which calls a specific Client-Library function. The veneer layer performs conversions and other operations that make it possible for COBOL to communicate with Client-Library. The veneer layer also provides conversions that translate between COBOL host variables and Adaptive Server datatypes.

There are two types of ESQL/COBOL veneer layers: static and shared dynamic. The following table lists the shared dynamic veneer layer libraries that are released on all 32-bit and 64-bit platforms:

Plaform

Library name

Reentrant version

HP-UX PA-RISC 32-bit

libsybcobct.sl

libsybcobct_r.sl

HP-UX PA-RISC 64-bit

libsybcobct64.sl

libsybcobct_r64.sl

All other 32-bit platforms that support ESQL/COBOL

libsybcobct.so

libsybcobct_r.so

All other 64-bit platforms that support ESQL/COBOL

libsybcobct64.so

libsybcobct_r64.so

The existing static version of the ESQL/COBOL veneer layer library is called libsybcobct.a.

There are two types of data items: elementary and group data items. The following subsections describe these types of data items.