tcl.f-resize

Verb: Access/TCL, Releases: AP

Calculates a new recommended modulo for the requested files.

Syntax

f-resize {(options}

Description

Examines existing file modulos for every file found in the 'file-of-files' file, and recalculates a new 'recommended' modulo for each file.

Files are given a new recommended size according to their statistical information and are given a new modulo based on a file 75% full. The files are not immediately resized. The recommended modulo is stored in the file's file-defining item (d-pointer) in attribute 13.

If a dot '.' exists in attribute 13 of the file-pointer, this data file will not be resized.

The complete file resizing process is to:
a) Do a full 'save' so all the filenames are in the 'file-of-files' file.
b) Perform the f-resize.
c) Do a full 'save' of the system (which will save the recommended modulos).
d) Do a restore of the desired account (or of the entire system), and the system will refer to the recommended modulo in re-creating the files, unless 'file reallocation' is disabled during the restore.

Options

a Resize one account
e Force resize of empty files. As a default, empty files are ignored by the f-resize program.
p Directs output to the system printer, via the Spooler.
r{frame.size} ('r', followed by a frame size) Resizes files according to the frame size specified. If frame.size is not specified, the frame size of the current system is used.
u Specifies that no downsizing will take place.

See Also

Command Name Type Description
files Definition Description of Pick file organization.
tcl.resize Verb: Access resizes a file to the desired modulo.
f/realloc Attribute Defining Item References attribute 13 of current item.
reallocation Attribute Defining Item References attribute 13 of the current item.
filename.file-of-files Definition Statistical information on all files.
tcl.account-restore Verb: Access Restores one account.
tcl.save Verb: Access Invokes backup process.
file.defining.items Definition File-defining item overview.
access.istat Verb: Access Performs distribution analysis on existing file modulo.

User Comments

What do you think?

Share your experience or ask a question by using the form below.

Login to leave your comments.