Occasionally when moving an OpenVMS system to an emulated environment there are cases where device names change (typically disk devices). The "right way" to set up logicals is to define a single logical for a device, especially when dealing with disks, to represents the device name and use it in all other logicals. This leaves just one logical to change when the device changes. However, everyone takes short cuts at some point and device names can become embedded in long forgotten command procedures, leaving definitions like so:
|
In these instances it can often be quicker and simpler to define a logical that represents the old device name.
The following steps describe how to set up the logical.
SHOW LOGICAL
command (as in the examples above) or error messages reported by applications.Then, simply define the logical using the following template:
|
To make this definition permanent, add it to the beginning of SYS$MANAGER:SYLOGICALS.COM.
Something important to remember is that these are still only logicals. If a logical that refers to this "pseudo device logical" is defined with the
The definition of |
Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.