Question:
How do I set up c-tree for remote file access?
Answer:
To use c-tree in client/server mode, you simply need to start ctsrvr on the server and then set the appropriate iscobol.properties and ctree.conf settings on the client. Here are the steps:
iscobol.file.index=ctreejAnd set the server information variable in either your isCOBOL properties file:
iscobol.file.index.server=FAIRCOMS@<hostname or IP address>Or in your ctree.conf properties file:
<instance server="FAIRCOMS@<hostname or IP address>"> </instance>
Note:
that the ctree.conf file is the file specified in the CTREE_CONF environment variable, or the ctree.conf file in the current working directory, or /etc/ctree.conf, whichever is the first to exist.
Note:
also that the default server name is FAIRCOMS. You can change this with the SERVER_NAME variable in ctsrvr.cfg on the server.
Article ID: 12
Created: August 28, 2009
Last Updated: May 16, 2022
Author: Support KB Author
Online URL: https://support.veryant.com/phpkb/article.php?id=12