2.5.3 Listing a Logical RMSfile

You can list 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 L1 - List Logical Data File(s) from the Data File Menu to list the names and descriptions of the logical RMSfiles in the current database.

gifs/20000000.gif Select L2 - List Data File Dictionary from the Data File Menu to list the definition of the RMSfile.

gifs/20000000.gif Select L3 - List Data File Records from the Data File Menu to list the data records of an RMSfile.

You can list the logical name and description of all logical RMSfiles in a database with the following command:

c:\> lfadmin -lv dbname

You can list the definition of a logical RMSfile as follows:

c:\> pdict -l lfname

You can list the data records of a logical RMSfile as follows:

c:\> dprint lfname

Additionally, to get a report showing all logical RMSfiles, select the choice R2 - C/Base RMSfile Catalog from the cbase application menu (see section 2.3, The C/Base Database).