VMS Help  —  Lexicals  F$FID_TO_NAME
    Valid for Alpha and Integrity server systems only.

    Translates a file identification to a file specification.

    Format

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

1  –  Return Value

    A character string containing the file specification.

2  –  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.

3  –  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.
Close Help