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

Question ID : 40
Created on 2009-08-31 at 5:00 PM
Author : Veryant Support [support@veryant.com]

Online URL : http://support.veryant.com/support/phpkb/question.php?ID=40



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=/


Back to Original Question