LISTF, LISTFL, LISTFR

Top  Previous  Next

 

The LISTF command lists all files defined in the VOC. The LISTFL and LISTFR commands show only local or remote files.

 

 

 

Format

 

LISTF {modes} {LPTR}

LISTFL {modes} {LPTR}

LISTFR {modes} {LPTR}

 

 

The LISTF command is a sentence to list all F type VOC entries. The listing shows the VOC name of the file, the file type, the description (field 1 of the VOC entry), the data portion pathname (field 2) and the dictionary pathname (field 3). The report is sorted by file name.

 

The LISTFL command is similar but shows only files that are local to the account. Selection is performed by reporting only those records for which the data portion pathname does not contain a directory separator character. It is thus possible to defeat this selection process by using absolute pathnames for local files. The CREATE.FILE command always uses the file name only for a local file.

 

The LISTFR command is similar but shows only files that are remote to the account. Selection is performed by reporting only those records for which the data portion pathname contains a directory separator character.

 

 

The file type column shows:

DHfor a dynamic hash file. This type code may be followed by
Cthe file is a data collection
Dthe file uses data integrity constraints
Ethe file uses encryption
Ithe file has alternate key indices
Rthe file is exported for replication
Sfile statistics are enabled
Tthe file has a trigger function defined
Xthe file is in ECS mode
Dirfor a directory file. This type code may be followed by
Ethe file uses encryption
Lthe file uses forced lowercase ids
Rthe file is exported for replication
Tthe file has a trigger function defined
Uthe file uses forced uppercase ids
Multfor a multifile. This entry will be followed by a line for each subfile.
Errif the file cannot be opened.

The column is blank for a VOC entry with no data pathname.

 

The optional modes element of this command is a query processor WITH or WITHOUT clause using ENCRYPTION, REPLICATION or TRIGGER. For example,

LISTF WITH REPLICATION

would show only files that use replication.

 

The LPTR keyword will direct the output to the printer. Other query processor keywords can be appended to the command.

 

 

See also:

CREATE.FILE, DELETE.FILE, LIST.REPLICATED