110473     FILES: A Program to Free up Contiguous Space  Version:
V2.0, December 1982
 
Author: John Miller, Sanders Associates, Nashua, NH
 
Submitted by: Glenn C. Everhart, Ph.D, RCA Corporation, Mt. Holly, NJ
 
Operating System: RSX-11M V4.0  Source Language: FORTRAN IV-PLUS,
MACRO-11  Keywords: File Management
 
Abstract: This program allows the user to see which files are
utilizing specific logical blocks on a FILES-11
structured device. From the listing, the user can move
the identified file to the front section of the device
(assuming there is room), delete the old file and
therefore free up contiguous space without the need to
run DSC. The user can specify the start/stop values used
in the search by means of either an /LBN switch (which
permits indication of the logical block numbers) or /BLK
switch which indicates the range of the search by the
virtual block numbers within BITMAP.SYS. A /WD switch
allows the user to specify down to the word within a
BITMAP.SYS virtual block which represents 16 blocks.
 
The program accomplishes this by permitting the user to
specify any legal FCS output filespec and an input
filespec consisting of the device and the above
switches. Once the range of the search has been
determined by the program, it searches all headers
looking at their map pointers to see which, if any, are
within the search region. Those that match are passed to
the output file in the full filespec format. A summary
listing, which can be produced without actually
searching, provides information on the device, the
number of blocks on the device, the blocks contained in
the search, the low/high logical block numbers and their
decimal equivalents (in DMP/HD format), the number of
files found in the elapsed time, and a copy of the command
line string.
 
Media (Service Charge Code): One RX01 Diskette (KA)  Format: FILES-11,
600' Magnetic Tape (MA)  Format: FILES-11
 
 

The PDP-11 DECUS Software Index
The PDP-11 Home Page
Tim Shoppa <shoppa@trailing-edge.com>
Created: December 26, 1998