Bound Server mode
The Bound Server feature causes isCOBOL to load the c-tree engine and communicate with it in memory instead of connecting to a c-tree server through TCP/IP.
The main advantages are:
• simpler usage
• better performances while working on the local machine
The only disadvantage is that only one process can work in Bound Server mode, and it cannot create more than one instances of the c-tree server.
Because of the above limitation the Bound Server feature can be used only:
• server side in Thin Client environment where only one instance of isCOBOL Server is running
• for single user installations
To activate the feature, the following setting must appear in the isCOBOL configuration:
iscobol.ctree.bound_server=true |
With the above setting, the isCOBOL engine will load ctreedbs library instead of c-tree library.
The ctreedbs library and its dependent libraries must be available in the library path.
The ctsrvr.cfg configuration file must be available in the working directory as well as the c-tree license file. The c-tree license file can also be stored in another folder and pointed by the FCSRVR_LIC environment variable, e.g.
FCSRVR_LIC=/path/to/ctsrvr########.lic |
The OPEN of the first file in the runtime session may take longer since the c-tree engine must be initialized. The same slowdown could be experienced during the STOP RUN, when the c-tree engine is unloaded.