[Info-vax] detecting links made with SET FILE/ENTER
Phillip Helbig---undress to reply
helbig at astro.multiCLOTHESvax.de
Sat Sep 13 16:03:55 EDT 2014
In article <54149e0a$0$22514$c3e8da3$a9097924 at news.astraweb.com>, JF
Mezei <jfmezei.spamnot at vaxination.ca> writes:
> > Nope. For a traditional VMS system and particularly without the hard
> > links support enabled, AFAIK, there isn't a way to identify a file
> > alias, short of matching FIDs.
>
> Brute force: use F$SEARCH and F$FILEATTRIBUTES forget if that is the
> proper lexical) to generate list of file and File IDs written to file.
> sort the output file by FileID, and then scan through it for duplicate
> FileIDs.
As Spock said to Chekov, "Very brute, Ensign". :-)
More information about the Info-vax
mailing list