LIST.FILES

LIST.FILES

Top  Previous  Next

 

The LIST.FILES command displays details of open files.

 

 

Format

 

LIST.FILES

LIST.FILES BRIEF

LIST.FILES DETAIL {{DICT } filename}

LIST.FILES USER {n}

 

 

The LIST.FILES command displays the number of files currently open, the peak number of files open and the limit on the number of open files as set by the NUMFILES configuration parameter.

 

The BRIEF option restricts the output to show only the first line. Without this option, the pathnames of all open files are shown.

 

The DETAIL option extends the report to show the user numbers and user names for each open file. Used with a file name, it shows only users who have the named file open.

 

The USER option shows the pathnames of all files open to the specified QM user number. If the number is omitted, the command shows all files open to the user executing the command.

 

The NUMFILES configuration parameter is a hard limit on the number of files that may be open at one time by all QM users. A file opened by multiple users only counts as one file. Attempting to exceed this limit will cause the application to fail. The displayed peak open count is useful in determining whether the value of NUMFILES is large enough.

 

 

Example

 

LIST.FILES

Number of files open = 4. Peak = 16. Limit (NUMFILES) = 40.

 

C:\QM\VOC

C:\QMSYS\$IPC

C:\QM\BP

C:\QM\&SED.EXTENSIONS&

 

The example above shows the default output from LIST.FILES with the counts and the file pathnames. Adding the BRIEF option, as below, shows only the counts.

 

LIST.FILES BRIEF

Number of files open = 4. Peak = 16. Limit (NUMFILES) = 40.

 

Use of the DETAIL option shows the user numbers and user names of the QM users that have the files open.

 

LIST.FILES DETAIL

Number of files open = 4. Peak = 16. Limit (NUMFILES) = 40.

 

C:\QM\VOC

 2 smithm, 7 sales

C:\QMSYS\$IPC

 2 smithm, 7 sales

C:\QM\BP

 7 sales

C:\QM\&SED.EXTENSIONS&

 7 sales