In addition to the (expected but) bizzare behaviour seen here when
the DISK$ logical names are redefined, PCSI will also get very confused
by this particular redefinition -- if there are any kits installed on
this target disk...
File Identifiers (FIDs) are volume-specific. If you want to translate
from a FID to a full file specification, you need the FID and the DVI.
The documentation of lib$fid_to_name is confusing in at least one way,
but any site that is redefining reserved logical names (in undocumented
and unsupported fashion) is perilous practice at best...
The creation of logical names containing "dollar" signs is reserved
to registered facilities. (BTW, I am registering the "PERL" prefix,
have reworked configure.com and am creating a PCSI Perl kit, but that
is another discussion entirely.)
I was asked where Compaq OpenVMS documents this -- while the dollar
prefix requirements are documented, it is impossible to document all
of the different potential failure modes. We do document what is
supported, and I would be very surprised to find the redefinition of
the DISK$mumble logical name documented.
As Dan succinctly commented: "don't do that."
--------------------------- pure personal opinion ---------------------------
Hoff (Stephen) Hoffman OpenVMS Engineering hoffman#xdelta.zko.dec.com