The DCI File Connector
The DCI File Connector allows to work on DBMaker by separating ISAM native access from java process.
The File Connector executable is provided along with isCOBOL:
Platform | Executable |
---|
Linux/ Unix | $ISCOBOL/bin/dcic |
Windows | %ISCOBOL%\bin\dcic.exe |
In order to make isCOBOL use the DCI File Connector as file handler, the following setting must appear in the configuration:
The dcic file handler runs the executable file dcic. If this file is not in the system Path, you can specify its full name by setting the
iscobol.file.connector.program.dcic configuration property.
The DCI connector library (dcic.dll on Windows and libdcic.so on Linux) is required in the library path (%PATH% on Windows and $LD_LIBRARY_PATH on Linux). The DBMaker public FTP repository (
ftp://ftp.dbmaker.com/pub/DBMaker/) includes the setups of each DBMaker version. Among the setups there is an archive named "DCI-version-.zip" that includes DCI libraries for various COBOLs. The "iscbl" folder in the zip contains the libraries required by isCOBOL. In order to have the DCI connector library automatically loaded, copy dcic.dll to the isCOBOL’s bin directory on Windows and copy libdcic.so to the isCOBOL’s native/lib directory on Linux.