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=/
|
Authored
by: Veryant Support
This question has been viewed 6133 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?
- How do I set up c-tree client/server file access?
- 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)?
- 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?
|