NetBase for MPE Reference Guide
Using NBDIR
4-11
BUILD
The BUILD command creates and initializes NetBase directories. The default directory size is 1024
records. One record in the directory will be used for each file entry, dataset entry, program entry,
user logon, device entry, SQL entry or shadow entry defined.
The directory is a hashed file, not unlike an IMAGE master set. As such, the same capacity
considerations that are applied to IMAGE master sets should be considered for the directory.
Capacity should generally be maintained at or less than 75% full in order to reduce the incidence of
secondaries. Since the shell procedures will access the directory each time a file or database is
opened, fewer secondaries will mean improved access performance.
Note that new directories should be created in the DATA group of the NETBASE account. If the
directory is built elsewhere, make sure that the access security for that group and account is correct.
This command requires NODE MANAGER (NM) and SYSTEM MANAGER (SM) capability. Since this
command creates files, the user must be logged on in the same account in which the new directory
is to reside.
Syntax
D> BUILD filename [,limit]
Parameters
Parameter Description
filename
Name of the new NetBase directory file.
limit
Maximum number of files allowed in the directory.
Example
For example, to build a directory called NBTEST with a limit of 500 files:
D> BUILD NBTEST.DATA,500
D>