Administrative Tasks

keybuild

The keybuild utility will rebuild all key files for a database. It

 

rebuilds the key files by first reinitializing the file, and then

 

sequentially reading all records from each data file and

 

recreating each key field from the contents of the record.

 

Step 1.

 

From the $FS_HOME/util directory enter the

 

 

 

following:

 

 

 

 

 

 

 

 

 

 

# keybuild dbname

 

 

 

 

 

 

 

 

 

 

where:

 

 

 

 

 

 

 

 

 

 

Option

Description

 

 

 

 

 

 

 

 

dbname

Name of the database whose

 

 

 

 

key files you want to rebuild.

 

Step 2.

 

 

 

 

 

This utility recreates the key files when there is a

 

 

 

key file inconsistency, as reported by dbcheck.

3-6

Utilities

600716 Rev A

Page 152
Image 152
ADIC FileServ Version 4.0 600716 Rev A manual Keybuild