Using the Node Management Services (NMS) Utilities (32022-90053)

64 Chapter4
Using NMMGR Utility Screens
Compress Screen
reuse. By compressing the file, you cause all data to be stored in a
contiguous block of records and all unused records to be located at the
end of the file. Thus, compressing a file enables you to determine the
actual number of free records in a file before adding or deleting records.
To compress a file, enter a 0 in the Number of Additional Records field
and press
[Compress File]
You can also use this function to add records to the file or to delete
unused records from the file. To do so, enter a number in the Number of
Additional Records field. A positive number causes records to be added
(up to the file size limit of 65,535 records). A negative number causes
that number of free records to be deleted from the file. After you have
entered the number of records to be added or deleted, press the
[Compress File] key.
When you press
[Compress File], NMMGR begins compressing the file
immediately. The terminal is locked to indicate that NMMGR is not
available until finished. When the compression is completed, NMMGR
prints the following message in the message field:
Configuration file compressed.
NOTE
Compress time depends on the number of entries in the file. For a file
that contains a small amount of data, compression usually takes fewer
than 30 seconds. However, compressing a file that contains a lot of data
can take several minutes.
Fields
Current File
Size (Display only.) Size of the file, in 32-byte records.
Number of
Free Records (Display only.) Number of free records at the end of the
configuration file.
Number of
Additional
Records Enter the number of records that you want to add to the
file (positive integer) or the number of unused records
that you want to delete from the file (negative integer).
To simply compress the file, enter 0 (zero). If you are
adding records, the file cannot end up containing more
than 65,535 records.
Default: 0
Range: -32768 to 32767