How do I configure remote file paths when using c-treeACE?


Question:

With ACUCOBOL I could specify remote name notation in the FILE_PREFIX. What is the equivalent in isCOBOL?

Answer:

Unless you specify an absolute path name, file locations are relative to the directory in which you started ctsrvr on the server. Use iscobol.file_prefix and iscobol.file_prefix.separator to choose different remote directories. 

If you set iscobol.file_prefix and run on Windows, isCOBOL will append a backslash before the filename. This will produce an error when the server is a Unix machine. 

This behavior can be controlled with the iscobol.file_prefix.separator variable. If you are accessing files on a Unix machine from Windows you must set iscobol.file_prefix.separator to forward slash. For example,
iscobol.file_prefix=/usr2/14is/D
iscobol.file_prefix.separator=/


Article ID: 40
Created: August 31, 2009
Last Updated: August 31, 2009
Author: Support KB Author

Online URL: https://support.veryant.com/phpkb/article.php?id=40