Skip to Content

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

Estimated Reading Time: 1 Minutes
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=/
How do I configure remote file paths when using c-treeACE?

Powered by PHPKB (Knowledge Base Software)