How do I set up c-tree client/server file access? |
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:
-
Start ctsrvr on the server.
Test the server by running ctadmn from the same machine and use the following username/password: admin/ADMIN.
-
Set the client's configuration file correctly.
Use the following in your isCOBOL properties file:
iscobol.file.index=ctreej
And 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.
|
Authored
by: Veryant Support
This question has been viewed 8231 times so far.
|
Click
Here to View all the questions in c-treeRTG
category. |
File Attachments |
There are no attachment file(s) related to this question. |
|
User Comments |
|
|
There are no user comments for this question. Be the first to post a comment. Click Here |
Related Questions
|
- Where do I get additional information about file status 9D?
- Why do I get Internal error 19:133:0 when using c-treeRTG?
- Does c-treeRTG support live backup (without needing to get users off the system)?
- How do I configure remote file paths when using c-treeACE?
- Do you have a simple test program to see if c-treeRTG is working?
- To use encryption do I need to set the c-tree config variable before I run ISMIGRATE?
- Can I use the same version of c-treeRTG when using different versions of isCOBOL?
- Why do I get the error message "faircom.rtg.CtreeEnv.ct_config2(IJJ[Ljava/lang/String;)J" when using c-treeRTG?
- Why do I get 'ct_init ERROR 19:530:0' trying to work with the c-tree Server?
- Can I use COBFILEIO to give access to my c-tree files to a Java program?
|