Command: RUN VCRIDX FUNCTION: 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: File Name: _ Extension: VCR Summarize device from vcr directory(eg, DSK0): 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. The following "heading" is displayed: Blocks Seq. Prj PNo /File /PPN ===== === === ===== ===== 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. DSK2: TOTAL ,..0 ,..1 ,..2 ,..3 ,..4 ,..5 ,..6 ,..7 [100,00.] ...... ...... 396 307 978 986 ...... 163 [ 01.] 34 347 213 1,070 8 10 2 12 [ 02.] 2 2 2 2 2 2 109 ...... [ 05.] 81 1,426 471 1,488 2 158 14 868 [ 06.] 2 22 2 56 2 2 109 186 [ 10.] 1,567 864 420 ...... 57 118 21 73 [ 11.] 33 92 2 2 64 2 969 410 [ 12.] 109 120 693 15 708 290 ...... ...... [ 13.] 176 2 33 434 23 ...... ...... ...... [100,*] 16,833 ,..0 ,..1 ,..2 ,..3 ,..4 ,..5 ,..6 ,..7 TOTAL 16,833 .