


The Windows command file "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 (with the suffix ".exe"). All the other file parameters are noted without suffix and must be object modules "*.obj", resource files "*.rbj", or libraries "*.lib" in any sequence.
Example:
ocilnk -subsystem:console -entry:mainCRTStartup cdemo1 fn1 fn2
The executable program cdemo1.exe is created from the objects cdemo1.obj and fn2.obj and the library fn1.lib.


