Debug Manual

Table Of Contents
Debug Commands
Debug Manual421921-003
4-46
F[ILES] Command
F[ILES] Command
The FILES (or F) command displays the file name and the latest file-management error
number associated with an open file. The form of the FILES command is:
file-number
is a 16-bit word expression representing the file number returned from the open
operation on the file whose information is to be displayed.
The value -1 causes Debug to display the error associated with the last open,
create, purge, or AWAITIO operation that failed.
If you omit file-number, Debug displays the file number and other information
for all of the process’s open files.
The FILES command displays the file information in this form:
F[ILES] [ file-number ]
[ file-number ] { file-name } error [ suberror ]
{?file-name }
{ ??? }
file-number is displayed in decimal only for currently open files. The file
number is displayed only if you enter the FILES command
without file-number (to display all files).
File number -1 denotes the current error and detail information,
which appears in the first line in the display.
file-name is displayed as a fully qualified external file name for file names
available to Debug.
?file-name a question mark displayed in front of the file name indicates that
the current name is unavailable. The displayed name is the
originally opened name, which can occur, for example, if a
remote disk file is open and the network goes down.
??? is displayed if the file name is not available to Debug.
error is displayed in decimal as a 6-digit signed integer.
suberror is a detail error value displayed in decimal only for values other
than zero.