Sampsa Laine <sampsa at mac.com> writes:
I just added a disk to solar, DKA100: and have created a directory =
called DKA100:[DECUSLIB] on it.
I want to link it into DKA0:[SYS0.DECNET] as =
DKA0:[SYS0.DECNET.DECUSLIB].
However:
$ SET FILE/ENTER=3DDKA0:[SYS0.DECNET]DECUSLIB.DIR;1 =
DKA100:[000000]DECUSLIB.DIR;1
%SET-E-ENTERR, error entering DKA100:[000000]DECUSLIB.DIR;1 as =
DKA0:[SYS0.DECNET]DECUSLIB.DIR;1
-RMS-F-DEV, error in device name or inappropriate device type for =
operation
Here's what's in DKA100:
$ dir dka100:[000000]
Directory DKA100:[000000]
000000.DIR;1 0.50KB 7-FEB-2015 00:26:49.44
BACKUP.SYS;1 0KB 7-FEB-2015 00:26:49.44
BADBLK.SYS;1 0KB 7-FEB-2015 00:26:49.44
BADLOG.SYS;1 0KB 7-FEB-2015 00:26:49.44
BITMAP.SYS;1 5MB 7-FEB-2015 00:26:49.44
CONTIN.SYS;1 0KB 7-FEB-2015 00:26:49.44
CORIMG.SYS;1 0KB 7-FEB-2015 00:26:49.44
DECUSLIB.DIR;1 0.50KB 7-FEB-2015 00:27:23.74
INDEXF.SYS;1 2.03MB 7-FEB-2015 00:26:49.44
SECURITY.SYS;1 0.50KB 7-FEB-2015 00:26:49.44
VOLSET.SYS;1 0KB 7-FEB-2015 00:26:49.44
Total of 11 files, 7.03MB
This is explained in the OpenVMS File System Internal book. The files MUST
be on the same volume for the /ENTER to work. The actual file has a header
which resides in INDEXF.SYS in the MFD of that volume. A header is located
using the file ID. The file ID is stored in the <direcotry].DIR. When you
issue /ENTER, an entry, using the name you've specified, is place into the
directory specified; however, its file ID is set to the file you wish to be
linked with. This is why it cannot span volumes.
On *NIX I'd use a symbolic link - what's the VMS solution?
You need to look into SET FILE/SYMLINK. I have to run out now. Later, if
nothing comes up, I'll put an example together for you.
--
VAXman- A Bored Certified VMS Kernel Mode Hacker VAXman(at)TMESIS(dot)ORG
I speak to machines with the voice of humanity.
Show replies by date