The /TRANSLATE qualifier forces INSTALL to substitute the name of
a file that you specify as a logical name.
NOTE
To use this qualifier, however, you must invoke INSTALL as a
foreign command before you use the /TRANSLATE qualifier:
$ INSTALL = "$INSTALL"
Format
/TRANSLATE
1 – Description
The /TRANSLATE command allows you to substitute one file name for
another. For example, testing a new $ TYPE command is difficult
because the executable TYPE.EXE, which is used to implement the $
TYPE DCL command, is buried in the system. However, you can use a
command like $ DEFINE TYPE MYTYPE to override the standard file
name TYPE to use your own, MYTYPE.
2 – Example
$ INSTALL = "$INSTALL"
$ DEFINE FILE1 FILE1_EV56
$ INSTALL/TRANSLATE
INSTALL>
ADD SYS$SHARE:FILE1.EXE
EXIT
The first command in this example defines FILE1_EV56 as the
logical name to replace FILE1. The /TRANSLATE command directs
INSTALL to substitute FILE1_EV56 for FILE1. FILE1_EV56 will be
installed as a known image. (If /TRANSLATE were not specified,
SYS$SHARE:FILE1 would be installed.)