![]() Search Path and Alternate Filenames |
![]() Virtual Machine |
![]() |
If an alternate file name is not specified for a file, the file is searched for in the directory specified in PRODATA or, if not specified in the current directory.
If an alternate file name is specified for a file and is preceded by '/', './' or '../', then the file is searched for in the directory specified in the alternate field or , if none is specified, the current directory. The value specified in PRODATA is not used.
If an alternate file name is specified for a file and is not preceded by any of the above character groups, then the value in PRODATA is prefixed to the value specified in the alternate field.
Examples
Current directory is /usr/pro4/home
PRODATA |
ALTERNATE |
Directory Searched |
Personnel |
Not set |
/usr/pro4/home/personnel |
Not set |
Not set |
/usr/pro4/home |
Not set |
Personnel |
/usr/pro4/home/personnel |
Ignored * |
/personnel |
/personnel |
Ignored * |
./personnel |
/usr/pro4/home/personnel |
Ignored * |
../personnel |
/usr/pro4/personnel |
/usr/pro4/personnel |
Not set |
/usr/pro4/personnel |
Personnel |
Payroll |
/usr/pro4/home/personnel/payroll |
/usr/pro4/personnel |
Payroll |
/usr/pro4/personnel/payroll |
* (Because ALTERNATE starts with '/', './', or '../')
Topic ID: 720207