GETVOLS: extract current volume names
Description
Returns the names of currently mounted volumes.
Categories
System Operation
Program Development
Related files
GETVOLS: Object file or BASIC source file.
User Instructions
Returns the names of the volumes currently mounted on the
system. Presents the next volume in line on a screen,
where the information can be referenced
within a procedure.
Programmer Instructions
Allows generic system management procedures to be written,
since the names of the disk volumes can be obtained at
run-time. Typically run successively in a procedure with
backward references to extract the volume name. Each GETPARM
is similar in construction, with a sequence digit to make the
PRNAME unique.
VOLUMExx: Press (RETURN) to see the next volume name.
(Note: the PRNAME of this screen changes with
each volume name found, beginning with VOLUME01
for the first volume.)
VOLUME (value) The value of the next volume name is
shown in the VOLUME field on each
screen.
BASIC source is available.
Example of use
Performs a similar function to the VOLUME option of the
READVTOC subroutine. Can be used by a procedure to find the
names of all volumes mounted and run programs (such as VERIFY
or LISTVTOC) against each.
Comments
Simple, effective means of finding volume names.