F$FID TO NAME()
Revision as of 09:24, 5 April 2019 by Darya.zelenina (talk | contribs) (corrected the File specification link)
F$FID_TO_NAME() is a lexical function that translates a file identification to a file specification.
Syntax
F$FID_TO_NAME(device-name,file-id)
device-name:
Specifies the device on which the file resides. You can specify a logical name for the device.
file-id:
Specifies the file identification that is to be translated into the correlating file specification.
Examples
$ dir/file_id test.com Directory SYS$SYSROOT:[SYSMGR] TEST.COM;2 (6221,2,0) TEST.COM;1 (6218,5,0) Total of 2 files. $ a = f$fid_to_name("dka0","6221,2,0") $ show sym a A = "DISK$ALPHASYS:[SYS0.SYSMGR]TEST.COM;2"