Getting A List Of Your Files; Using The Filelist Command - IBM Professional Series User Manual

Virtual machine
Table of Contents

Advertisement

More information on the commands discussed in this section
can be found in the VM / SP CMS Command and Macro
Reference and the VM / SP CP Command Reference for
General Users.
Getting a List of Your Files
If you can't remember the exact name of a file you want to
work with, you can use the FILELIST or LISTFILE
commands. Both these commands display a list of the files
you have on your disk. Use the FILELIST command if you
want to do something (EDIT, ERASE, RENAME, etc.) to
the files that are listed. Use the LISTFILE command if you
only want information about the names of your files.
Remember that every file has a three-part label: filename,
filetype, and filemode. Generally, the files you create and
change have a filemode of A. This means that they are all
kept in a collection of files called your A-disk. The
FILELIST and LISTFILE commands display a list of all the
files on your A-disk. (Later you'll see how to display a list of
files on other disks, such as B-disk, C-disk, etc.)
U sing the FILELIST Command
Here's a sample filelist:
yourid
FILELIST Al
V 106 Trunc=106 Size=6
Line=1 Column=1
Cmd
Filename Filetype Fm Format Lrecl Records Blocks
FILEI
WORK
Al F
80
7
1
FILE2
WORK
Al F
80
9
1
FILE3
WORK
Al F
80
22
2
FILE4
WORK
Al F
80
8
1
FILE5
WORK
Al F
80
4
1
FILE6
WORK
Al F
80
12
1
Date
1/23/84
1/23/84
1/23/84
1/23/84
1/23/84
1/23/84
Time
14:48:20
14:45:02
13:27:28
10:50:59
10:45: 19
10:35:00
1= Sort(name) 2= Refresh
3= Quit
7= Backward 8= Forward 9= FL /n
4= Sort(type) 5= Sort(date) 6= Sort(size) 10= Execute 11= XEDIT
12= Cursor
===>
5-28
VM/PC Users Guide
XED I T 1 file
2 Local 3277 Session

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Vm/pc

Table of Contents