List

PURPOSE:  The LIST command displays, at the terminal, the contents of a DBL object or a system file.

Syntax

LIST object_type object_name [IN DBL dbl_name]

object_type

specifies the type of DBL object to list.  Object types allowed are:  CF, CM, CS, DI, GS, ID, PM, SD, SF, SI.

CF

is a Control File.

CM

is a Command Module.

CS

is a Code Segment.

DI

is a Data Index.

GS

is a Global Storage.

ID

is an Index Definition.

PM

is a Process Module.

SD

is a Schema Definition.

SF

is a System File.  Any System File can be used, whether it is cataloged in a DBL or not.  ACCENT R does not check to see if the file is text.  Care should be taken not to list a binary file.

SI

is a System Information object.

object_name

references the specific object to be listed.

[IN DBL dbl_name]

is used  to list an object in a DBL other than the current one.

EXAMPLE

*LIST SD PUBLISHERS_DBM2

00010  PUB_CODE,CHAR,4

00020  PUB_NAME,CHAR,40

00030  CITY,CHAR,20

00040  STATE,CHAR,2

00050  COUNTRY,CHAR,20

NOTE:  This same syntax can be used with the TYPE command.