2.5.1 Creating a Logical RMSfile

You can create a logical RMSfile with toolkit as follows:

gifs/20000000.gif Start toolkit on your database:

c:\> toolkit dbname

gifs/20000000.gif Select 1 - Data Files Menu from the Toolkit Development Menu.

gifs/20000000.gif Select D1 - Create File Definition from the Data File Menu.

gifs/20000000.gif Enter the new logical RMSfile name.

gifs/20000000.gif Enter the description of the RMSfile. See Chapter 4, Creating RMSfiles for more information.

gifs/20000000.gif If you create a hashed RMSfile, lfedit asks you for the maximum number of records that the RMSfile may contain. Enter the number of records and press the STORE <F5> key.

To create a logical RMSfile with commands, enter:

c:\> lfedit -cv lfname

Lfname is the logical name for the new RMSfile. Lfedit assumes that the database has toolkit style subdirectories; lfedit puts the RMSfile in the data subdirectory, and puts the RMS definition file in the def subdirectory. Lfedit runs the filedef (C-1) program to interactively create the RMSfile definition. If you create a hashed RMSfile, lfedit asks you for the maximum number of records that the RMSfile may contain.