(Contents)(Previous)(Next)

Linking an OCI Application

The shell script "ocilnk" is used to link an OCI application for ADABAS. The library files required for the OCI interface as well as for the ADABAS runtime environment are stored in the $DBROOT/lib directory. Their names are output when calling "ocilnk".

Options: see the Linker manual

The filename of the main program <main> must be specified as first parameter after the linker options. The executable program receives the name of the file (without suffix). All the other file parameters can also be noted without a suffix and must be object modules (*.o) or libraries (*.a) in any sequence.

Example: ocilnk test fn1 fn2

There are test.o, fn1.a, fn2.o.

The executable program receives the name test.


(Contents)(Previous)(Next)