Re: search list, surprising error, inconsistent behavior
- From: JF Mezei <jfmezei.spamnot@xxxxxxxxxxxxx>
- Date: Fri, 28 Nov 2008 14:03:28 -0500
This problem is fairly easy to reproduce:
$ CREATE/DIR disk:[VMS$COMMON.SYSMGR.SUE]
$ CD SYS$MANAGER (searchlist of SYS0.SYSMGR and VMS$COMMON.SYSMGR)
$ create [.sue]skonetski.txt
%CREATE-E-OPENOUT, error opening SYS$SYSROOT:[SYSMGR.SUE]SKONETSKI.TXT;
as output
-RMS-E-DNF, directory not found
-SYSTEM-W-NOSUCHFILE, no such file
This fails because it tries to create the file using the first item in
the search list and this tries to create
SYS$SYSROOT:[SYSMGR.SUE]SKONETSKI.TXT and this can't work because
SUE.DIR doesn't exist in that path.
----------
You can however
$ CREATE disk:[vms$common.sysmgr.sue]skonetski.txt without problem, and
$ CD SYS$MANAGER:
$ dir [.sue]
Directory SYS$COMMON:[SYSMGR.sue]
skonetski.txt;1
Total of 1 file.
The above works even though there isn't a [.sue] directory under the
sys0.sysmgr path.
-----------
If you create [.sue] under the sys0.msymgr path, but not under
vms$common, then the problem doesn't happen because VMS will be able to
find the path in the first translation and not realise that directory
doesn't exist in subsequent translations.
.
- References:
- Prev by Date: Re: PPL$ documentation
- Next by Date: Re: MUTEX
- Previous by thread: Re: search list, surprising error, inconsistent behavior
- Next by thread: Re: sell wow gold
- Index(es):
Relevant Pages
|