Kbase P130092: INPUT OUTPUT operations don't use relative path
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  4/1/2008 |
|
Status: Unverified
FACT(s) (Environment):
All Supported Operating Systems
Progress/OpenEdge Versions
SYMPTOM(s):
INPUT OUTPUT operations don't use relative path
** Unable to open file: <file-name>. Errno=<number>. (98)
** Unable to open file: <file-name>. Errno=2. (98)
OUTPUT TO doesn't use relative path
INPUT FROM doesn't use relative path
CAUSE:
This is expected behavior. You cannot use relative path references when specifying OUTPUT TO or INPUT FROM, unless the path is relative to your working directory.
FIX:
If the directory is in the PROPATH you can get the full pathname using the following method then set your source/destination to that:
FILE-INFO:FILE-NAME = "<relative-dir>".
cOutputDir = FILE-INFO:FULL-PATHNAME.