Library /sys$common/syshlp/INSTALHLP.HLB  —  /TRANSLATE
    The /TRANSLATE qualifier forces INSTALL to attempt a logical name
    translation of a file that you specify.

                                   NOTE

       before you use the /TRANSLATE qualifier, you must invoke
       INSTALL as a foreign command:

         $ INSTALL = "$INSTALL"

    Format

      /TRANSLATE

1  –  Description

    Within OpenVMS, when you specify a file name without a device,
    directory, or file type, OpenVMS usually attempts a logical
    name translation of the file name before it applies device,
    directory, or file type defaults. However, if you specify a
    device, directory, or file type, OpenVMS does not attempt a
    logical name translation.

    Using the /TRANSLATE qualifier forces INSTALL to attempt a
    logical name translation even if a device, directory, or file
    type are specified.

2  –  Examples

    1.DEFINE FILE1 FILE1_EV6
      $ INSTALL = "$INSTALL"
      $ INSTALL
      INSTALL> ADD SYS$SHARE:FILE1.EXE ! SYS$SHARE:FILE1 is added as a
      known image

      The first command in this example defines FILE1 as a logical
      name with an equivalence name of FILE1_EV6. However, because
      a device (SYS$SHARE:) file type (.EXE) are supplied, INSTALL
      treats FILE1 as part of a file specification rather than as
      part of a file specification.

    2.DEFINE FILE1 FILE1_EV6
      $ INSTALL = "$INSTALL"
      $ INSTALL/TRANSLATE
      INSTALL> ADD SYS$SHARE:FILE1.EXE ! SYS$SHARE:FILE1_EV6 is added as
      a known image

      The first command in this example defines FILE1 as a logical
      name with an equivalence name of FILE1_EV6. Because /TRANSLATE
      is specified, INSTALL treats FILE1 as a logical name even
      though a device (SYS$SHARE:) file type (.EXE) are supplied.
Close Help