4.4 Invoking Lfedit

To create a new RMSfile, enter the command:

c:\> lfedit -cv -C "comment" lrmsfile

To modify the structure of an existing RMSfile, enter the command:

c:\> lfedit -v lrmsfile

Lrmsfile is the logical name of the RMSfile. If you do not explicitly name the database in lrmsfile, you must set the default database as follows before running the lfedit command:

c:\> set DBASE=dbname

Lfedit locates the RMS data file in the data directory relative to the database home directory, and locates the RMS definition file in the def directory relative to the database home directory. These directories are automatically created when you create the database with toolkit.

Lfedit invokes:

filedef(C-1) to create or modify the RMS definition file

lfadmin(C-1) to create the RMSfile and put it in the catalog

convertlf(C-1) to modify the structure of an RMSfile

See Chapter 12, C/Base Commands for more information about these commands.