You display the list of the database files for the current database instance. When doing so, you can specify the extent of the file list displayed.
Only those files that are actually available are listed however. The list may therefore vary depending on the state of the database instance.
You have the server authorization DBFileRead.
file_getlist <list_level>
<list_level> |
Scope of the file list displayed; possible values: 0: The most important files (default value) 1: All files |
OK
key_name,mode,size,date,time,comment,file_name
<file_ID> (ASCII|BINARY) <file_lengthe> <date> <time>
<comment> <file_name>
<file_ID> (ASCII|BINARY) <file_length> <date> <time>
<comment> <file_name>
...
Values for the Reply Fields
Field |
Description |
<file_ID> |
ID of the database file |
<file_length> |
Size of the database file |
<date> |
Date last changed |
<time> |
Time last changed |
<comment> |
Additional information |
<file_name> |
File name |
Logging on to the Database Manager CLI as operator DBM with password DBM, connecting to the HOTELDB database instance, displaying the list of the most important database files:
dbmcli -u DBM,DBM -d HOTELDB file_getlist 1
OK
keyname,mode,size,date,time,comment,filename
KNLDIAG ASCII 819200 20040809 143319 Database Messages
knldiag
KNLDIAGERR ASCII 1023 20040809 143334 Database Errors
knldiag.err
KNLTRC BINARY 1392640 20040809 143331 Database Trace knltrace
UTLPRT ASCII 102400 20040809 143320 Utility Statements
dbm.utl
BACKHIST ASCII 562 20040809 143338 Backup History
dbm.knl
DBMPRT ASCII 583 20040809 154927 Database Manager Protoco
l dbm.prt
DBMMDF ASCII 558 20040809 154927 Database Manager Media
dbm.mmm
...