Re: search list, surprising error, inconsistent behavior



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.

.



Relevant Pages

  • Re: ODBC Issue
    ... Sue ... Chris Spencer ... The only way I can reproduce it ... Prev by Date: ...
    (microsoft.public.sqlserver.odbc)
  • Re: Mary Tyler Moore guesting on "That 70s Show"
    ... > When you were asking the copyright holder for permission to reproduce ... Zap2it can sue me if they want but I'll countersue for emotional ...
    (rec.arts.tv)
  • Re: ODBC Issue
    ... The only way I can reproduce it ... if I miss something in code in creating the DSNs. ... Prev by Date: ...
    (microsoft.public.sqlserver.odbc)