8 File Storage
The default device is changed by executing the MASS STORAGE IS statement:
MASS STORAGE IS volume spec
or
MSI volume spec
The volume spec is a string expression containing either a unit spec or a volume label. Note that a comma before the volume label is optional.
The following example shows how to change the default device by specifying the MSI command and a unit spec:
MASS STORAGE IS ":C2,7"NOTE: The "unit spec" is not supported on Windows NT and not recommended on HP-UX.
As another example, if the label TEST is assigned to the directory /usr/test, any of the following statements can be used to set this directory as the default mass storage device:
10 MASS STORAGE IS "TEST" . 200 MSI "TEST" . . 500 Label$="TEST" 510 MSI Label$To reset the mass storage device to its value at startup of Eloquence, enter the following command:
MSI ""You can omit the select code, controller address, and unit code parameters from successive file specs by stating them in a MASS STORAGE IS at the beginning of a program.