Using FILELIST to Display Some of Your Files
You can also use FILELIST to display only some of your files. For example, all files that have the same file name, or the same file type, or all files that begin with a certain letter, and so forth.
FILEList filename filetype filemodeIf you do not substitute a letter for filemode, a file mode of A is assumed. In our examples, all the files are on file mode A (the directory or minidisk accessed with a file mode of A).
filel stock *The asterisk means all. Typing an asterisk where you would usually type a file type means that you want the list to contain all file types with the file name STOCK.
The FILELIST display might look like this:
SOMEONE FILELIST A0 V 108 Trunc=108 Size=6 Line=1 Col=1 Alt=0
Directory = VMSYSU:yourid.
Cmd Filename Filetype Fm Format Lrecl Records Blocks Date Time
_ STOCK BOLTS A1 V 95 7 1 5/04/90 21:15:04
STOCK GADGETS A1 V 95 8 1 5/04/90 21:12:04
STOCK NUTS A1 V 95 4 1 5/04/90 20:58:07
STOCK SCREWS A1 V 107 5 1 5/04/90 17:59:00
STOCK SURPLUS A1 V 92 3 1 5/02/90 15:33:05
STOCK WIDGETS A1 V 75 12 1 4/25/90 12:10:03
1= Help 2= Refresh 3= Quit 4= Cancel 5= Sort(dir) 6= Sort(size)
7= Backward 8= Forward 9= FL /n 10= Share 11= XEDIT/LIST 12= Cursor
====>
X E D I T 1 File
filel * dataThe list would contain all files whose file type is DATA.
FILEL filename filetypeIf the file exists, FILELIST will show only that file. If not, a message tells you that the file was not found.
Sometimes you may not remember an entire file name or a whole file type. When you have many files, this can happen. You can give the computer clues to display a list of files containing the file you want.
filel com* dataThe command means you want the list to contain all files whose file name starts with COM and whose file type is DATA. The resulting FILELIST display might contain these files:
COMBAT DATA A
COMMERCE DATA A
COMPARE DATA A
COMPOST DATA A
COMPUTER DATA A
You can use an asterisk to represent any letters you cannot remember. The asterisk can be used anywhere in the file name or file type. For example:
filel *data daily1might show these files:
HISDATA DAILY1 A
HERDATA DAILY1 A
MYDATA DAILY1 A
YOURDATA DAILY1 A
filel *data daily*might list these files:
YOURDATA DAILY2 A
YOURDATA DAILY1 A
MYDATA DAILY1 A
ITSDATA DAILY2 A
HERDATA DAILY1 A
HISDATA DAILY2 A
HISDATA DAILY1 A
filel * data bfilel * data *lists all files whose file type is DATA.