EXPANDLF

NAME

expandlf - expand an RMSfile

SYNOPSIS

expandlf datafile #records

DESCRIPTION

This command expands an existing hashed RMSfile so that it contains the number of records specified by the #records argument. If #records has a leading plus (+) sign, the RMSfile is expanded by that many additional records. If #records has a leading minus (-) sign, the RMSfile is contracted by that many records. If there is no leading sign, the RMSfile size is changed so that it contains the number of records specified by the #records argument. This command expands the named RMSfile in place.

If there is insufficient disk space to hold both the original file and its expanded copy simultaneously, the RMSfile cannot be expanded.

SEE ALSO

convrtlf(C-1)

NOTES

If the datafile argument has the form dbname ~lfile or ~lfile, expandlf expands the RMSfile using the database name dbname and the logical file name lfile. If the datafile argument has the form filename (i.e. it has neither a ~ nor \ in the name), then it is taken as a logical file name, filename, using the default database name.