Option 1: list directory

The List Directory option (see Table 94) of the PRINT command prints directory information for each table in a tableBASE library. This option is specified by the absence of the keywords DEF and TBL.

PRINT

DETAIL=(YES/NO)
LIB=(library name);

Default is NO

Action

The PRINT command provides the following information for each table in the directory of the named tableBASE library:

  • name
  • table type
  • absolute generation number of each generation present
  • date and time that each generation was created
  • library dataset name
  • amount of space allocated/remaining

When the DETAIL parameter is YES, the following information for each table in the directory of the named tableBASE library will also be provided:

  • table organization
  • table search method
  • index code
  • storage mode code (obsolete, printed for reference)
  • number of rows in the table
  • row size
  • user id that last stored the table
  • user comments for the table

The library Dataset Name is also printed, along with the amount of space allocated to the library and the amount of space that remains for use.