skip to main content

Accessing from isCOBOL

Accessing from isCOBOL
isCOBOL uses the c-tree interface in one of the following cases:
1.
2.
3.
The isCOBOL Framework becomes a client process that connects to a listening c-tree Server. To provide this connection, isCOBOL loads the ctree client library (ctree.dll on Windows, libctree.so on Linux) which must be available in the library path and must be the same version of the listening c-tree Server.
isCOBOL can create c-tree files directly into the c-tree SQL Server so they are available as database tables for external SQL tools. Consult Creating c-tree files into SQL Server from the COBOL Program chapter for details.
In order to bring existing c-tree files into the SQL Server, instead, ctutil utility must be used. Consult Registering existing c-tree files in c-tree SQL Server chapter for details.
Accessing through a File Connector
The c-tree File Connector allows to work on c-tree files managed by c-tree by separating ISAM native access from java process. This solution is suggested when working with third party application servers (e.g. Apache Tomcat).
isCOBOL uses the file connector interface in one of the following cases:
1.
2.
3.
Accessing to previous c-tree versions
If you need to interface with a previous c-tree version, you can’t rely on the c-tree client library installed along with isCOBOL. You need to replace it with the proper c-tree library taken from the distribution of the c-tree that you wish to interface.
In addition, the file handler class and its alias may be different. The following table lists the file handlers available for the various c-tree versions:
ctreej [A]
ctree2 [B]
[A] Supported since isCOBOL 2016 R1.
[B] Deprecated since isCOBOL 2016 R1.

Copyright (c) 2017 Veryant
Contact us
Please share your comments on this manual or on any
Veryant product documentation with the email button at the top left