SEYMOUR@phast.phys.washington.EDU (08/09/88)
(I SPR'ed this a year ago, and the response sort of said "no way") I would like as a supported utility under VMS the equivalent to RSX's (and it works under the AME on VMS, so I can do it): [mcr] PIP filename/en=/fi:nnn:mmm which creates a directory entry FILENAME for a file referenced by its File ID. (set file/enter cannot use a file ID as the input reference). I use it for manual retrieval of lost files. especially "scratch" files which never had a directory entry (fortran OPEN (type="scratch")), also files directly OPENed to the lineprinter queue. (you scan indexf.sys for "marked for delete" headers, and then attach) there probably are DECUS utilities which have the ability (altho i haven't fallen into one). it's also possible to patch a directory file to perform the same operation (very unclean). i'd just like it to be a supported operation (especially to undo someone's set file/remove, without doing a full analyze/disk). [warning: if you play with the PIP command, the "nn:mm" have to be in OCTAL or have decimal points appended: 234:567 = 156.:375. ] [p.p.s.: the numbers may have to fit in 16 bits, adjust disk usage accordingly] -- dick seymour