Calculate, print and display the number of blocks per PPN from a
VCRDIR file. Output to xxxxxx.LST and terminal.
HINTS/RESTRICTIONS:
The current version requires 135K bytes of user memory.
Max block count per PPN = 65,535.
The program scans the directory file for a device name (eg. DSK0
or WIN4). Only one device may be scanned per program run.
FORMAT:
.RUN VCRIDX [ret]
OPERATION:
First, create a VCR directory file using the AMOS VCRDIR program.
A sample use is ".VCRDIR AMUS87.VCR=ALL:[]". (Note the use of .VCR
as the extension for the vcr directory file.)
Next, run VCRIDX to scan the directory and produce a summary
matrix of block counts by PPN.
At the AMOS . prompt type RUN VCRIDX and press [ret].
The screen will be cleared and the following prompts will appear:
Enter the file name of a file created by the VCRDIR command.
At "File Name: " Enter {optional device and PPN and} up to
6 character file name.
The file extension defaults to ".VCR". This may be overwritten.
The device name to be entered is that device name to search for
on each line of the VCR directory file. The device "ALL" will
cause the program to summarize all lines in the file.
The program now reads the seven heading lines of the directory
and displays them on the screen and writes them into the output
".LST" file.
followed by a line for each line in the directory. If the line
matches the device then a status line is displayed below the
heading. If the line does not match then the word "SKIP" is
displayed.
After reading the directory file, a matrix of block counts by PPN
is displayed and written to the .LST file.
NOTE:
This program is not part of the original AMOS/L operating system
distributed by Alpha Microsystems.
This program was designed, written and documented by
Bart Berndtson of Interactive Concepts, Inc. (312)949-1771.
SAMPLE OUTPUT:
Backup media is labeled as:
AMUS LIBRARY (1.3)
Created on 23-Feb-87 at AMUS on THE 'L' by SUPER DAVE HEYLIGER
Tape created with /C:0 option.