NetBase for MPE Reference Guide
Using NBDIR
4-25
LIMIT
This command builds a new directory to the new size specified in the command. It then copies the
file entries from the old directory to the new directory and purges the old directory. It also recreates
the (KSAM) directory index file and loads it from the new directory. If the filesize parameter is
omitted, this command displays the current directory statistics only.
To execute this command, exclusive access of the directory must be obtained. The user must also be
signed onto the same account as the directory.
Syntax
D> LIMIT [filesize]
Parameters
Parameter Description
filesize
The new directory capacity.
Example
For example, to check the current capacity:
D> LIMIT
Directory: NBD.DATA.NETBASE
Limit: 1024
Entries: 14
Secondaries: 0
% Full: 1.36
To then change the capacity to 2500 files:
D> LIMIT 2500
Creating new directory...
Creating KSAM index files...
Directory: NBD.DATA.NETBASE
Limit: 2500
Entries: 14
% Full: .68