Accessing Files Programmer's Guide (32650-90885)
Chapter 14 193
Getting File Information
Displaying General File Information
The display for the format options 10 and 11 is the same for each of the LISTF, LISTFILE, and
LISTFTEMP commands. One of the unique additions of these two new options is the the
"ERWS" column. This column indicates whether or not the file is currently opened, and if so,
for what type of access. An "E" in the E column indicates that the file is opened for Execute
access, the "R" in the R column indicates that the file is opened for Read access, the "W" in the
W column indicates that the file is opened for Write access, and the "S" in the S column indi-
cates that the file is being Stored by the STORE or TurboSTORE utility. The column may have
one or more of these characters specified, or none, depending on how the file is currently
accessed.
Displaying temporary file information with LISTFILE...(;TEMP)
The LISTFILE...(;TEMP) command is similar to LISTFILE, except that it displays
information about the specified temporary files. Syntax, parameters, and information
displayed are the same as LISTFILE, with the following exceptions:
Its display of file information includes the word TEMPORARY or the abbreviation TEMP.
Displaying file equations with LISTEQ
The LISTEQ command allows you to list all file equations in effect for the job or session
from which you issue the command. Here is an example of a LISTEQ call:
LISTEQ
FILE EQUATIONS
FILE LP;DEV=PP;ENV=ELITE.XQENV.SYS;CCTL
FILE OFFLINE;DEV=PP;ENV=ELITE.XQENV.SYS;CCTL
FILE EDTLIST;DEV=PP;ENV=ELITE.ENV2680.SYS
If you do not indicate otherwise, LISTEQ sends its output to $STDLIST. You can optionally
specify a different output file to which the file descriptions are written. For example, the
following command sends output to the temporary file MYFILE:
LISTEQ MYFILE
NMOBJ 256 FB 22 4000 8 1 YRAND
Access
ERWS
FCode RecSiz Type EOF File Limit Disk
Usage KB
Exts Name