support: Customer Portal
Focused on delivering choice, investment protection and flexibility to organizations with valuable COBOL assets
 

Veryant Knowledge Base
Home > All Categories > Data Access > isCOBOL ISAM Server (c-treeACE) > How do I set up c-tree client/server file access?
Question Title 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. 

Start ctsrvr on the server.

Test the server by running ctadmn from the same machine and use the following username/password: admin/ADMIN.

The isCOBOL Framework looks for the c-tree configuration between configuration properties if:

  • the c-tree version is 9.5.49790 or greater
  • the property iscobol.ctree.new_config is set to true

For example, use the following in iscobol.properties:
iscobol.file.index=ctree

iscobol.file.index.server=FAIRCOMS@myserver.mydomain.com


The isCOBOL Framework looks for c-tree configuration in the c-tree configuration file if:

  • the c-tree version is less than 9.5.49790
  • the property iscobol.ctree.new_config is set to false

For example, use the following in the ctree.conf:

SERVER_000=FAIRCOMS@myserver.mydomain.com,,,0

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. 

Replace myserver.mydomain.com above with your that will resolve from the client machine. To test this, you could "ping myserver.mydomain.com" from the client.

Note 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 5658 times so far.
Click Here to View all the questions in isCOBOL ISAM Server (c-treeACE) category.
File Attachments File Attachments
There are no attachment file(s) related to this question.
How helpful was this article to you?
User Comments User Comments Add Comment
There are no user comments for this question. Be the first to post a comment. Click Here
Related Questions Related Questions
  1. Where do I get additional information about file status 9D?
  2. Why do I get fatal error 5510 when using isCOBOL ISAM Server (c-treeACE)?
  3. Does isCOBOL ISAM Server support live backup (without needing to get users off the system)?
  4. Do you have a simple test program to see if isCOBOL ISAM Server (c-treeACE) is working?
  5. How do I configure remote file paths when using c-treeACE?
  6. What are the differences between isCOBOL ISAM Server (c-treeACE) and JISAM?
  7. Can I use the same version of isCOBOL ISAM Server (c-treeACE) when using different versions of isCOBOL?
  8. To use encryption do I need to set the c-tree server config variable before I run ISMIGRATE?
  9. Why do I get the error message java.lang.UnsatisfiedLinkError: com.iscobol.intf.Ctree.ct_config when using isCOBOL ISAM Server?
Article Information Additional Information
Article Number: 12
Created: 2009-08-28 12:56 PM
Rating: 1 Star
 
Article Options Article Options
Print Question Print this Question
Email Question Email Question to Friend
Export to Adobe PDF Export to PDF File
Export to MS Word Export to MS Word
Bookmark Article
Subscribe to Article Subscribe to Article
 
Search Knowledge Base Search Knowledge Base



 
 

© Veryant - All Rights Reserved
Veryant and isCOBOL are trademarks or registered marks of Veryant in the United States and other countries. All other marks are the property of their respective owners.