HELPLIB.HLB  —  Lexicals  F$SYMLINK_ATTRIBUTES, Example
   $ DIR/LINK/FILE
     Directory SYS$SYSDEVICE:[EXAMPLES]

     TARGET.TXT;1                (5601,12,0)
     FOO.LNK;1 -> TARGET.TXT     (5600,12,0)
     Total of 2 files.

     $ FID_FILE = F$FILE_ATTRIBUTES("FOO.LNK","FID")
     $ FID_SYM  = F$SYMLINK_ATTRIBUTES("FOO.LNK","FID")

     $ SHOW SYMBOL FID_FILE
     FID_FILE = "(5601,12,0)"

     $ SHOW SYMBOL FID_SYM
     FID_SYM = "(5600,12,0)"

     This example uses the F$SYMLINK_ATTRIBUTES function to
     return information about the symbolic link file FOO.LNK.
Close Help