HP OpenVMS DCL Dictionary


Previous Contents Index

F$FID_TO_NAME (Alpha/I64 Only)

Translates a file identification to a file specification.

Format

F$FID_TO_NAME (device-name,file-id)

Return Value


A character string containing the file specification.

Arguments

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.

Example


$ WRITE SYS$OUTPUT F$FID_TO_NAME("SYS$SYSDEVICE","(2901,33,0)")
DISK$NODE1:[VMS$COMMON.SYSEXE]SHOW.EXE;1
      

This example demonstrates that the file with identifier "2901,33,0" on the system disk is file SHOW.EXE. Note: You can omit the parentheses around the file identifier, provided it is enclosed by double quotation marks.


Previous Next Contents Index