This is the syntax for the PROLIB command to compress a standard procedure library:

Operating system Syntax
UNIX Windows
prolib library-name -compress
library-name

Specifies the name of the procedure library you are compressing. The -compress parameter removes extra spaces that occur in the library as a result of repeated adds or deletes.

To compress a procedure library, PROLIB creates a temporary file that requires an area of disk space equal to the size of the compressed library. Before compressing a library, make sure you have enough disk space for the temporary file. Temporary files have names that begin with the letters PLB, followed by numbers and possibly letters.

If your system goes down during a compress operation, the temporary file might remain on your disk. Delete this file to free up disk space. The original procedure library will not be damaged.

Repeated adds create empty spaces in the procedure library over time. To minimize the rate at which these empty spaces are created, you can use one command instead of many. For example, instead of entering the following commands:

prolib test.pl -add test.r
prolib test.pl -add test2.r
prolib test.pl -add test3.r

Enter this command:

prolib test.pl -add test*.r

You can use the -list parameter to determine how much space in your procedure library is unused.