Listing Information About Your Data Sets
Use the LISTALC, LISTCAT, and LISTDS commands to list the names of your
data sets and obtain further information about them.
LISTALC lists the data sets presently .allocated to youhand tells how
many more data sets you can dynamically allocate using the ALLOCATE
command.
Other information can be obtained about these data sets
depending on the parameters you specify.
LISTGAT lists the names of all cataloged data sets that have your
user identification.
Cataloged data sets are those whose names are
entered in the system catalog.
The system catalog is a list the system
keeps of the names and locations of cataloged data sets.
LISTDS gives you information on specific data sets which are
currently cataloged or allocated, or both.
The information you receive,
which is described in detail in the publication, Job Control Language
Reference, includes:
• The serial number of the volume on which the data set resides.
• The record format. logical record length, and blocksi ze of the data
set.
• The data set organization.
• Directory information for a member of a partitioned data set.
In addition to the information listed above for the three commands,
there are certain operands you can use to obtain additional information
on the data sets.
The operands and the commands to which they apply
are:
Operand
LISTAlC
LISTCAT
LISTDS
STATUS
x
x
HISTORY
x
x
x
MEMBERS
x
x
x
SYSNAMES
x
VOLUMES
x
LEVEL
x
LABEL
x
The STATUS operand provides you with:
• The file name(ddname) for the data set.
• The scheduled disposition and conditional disposition of the data
set.
The 'Scheduled disposition determines whether the system will
retain or delete the data set after it is used.
The conditional
disposition determines whether the system is to retain or delete the
data set in case.of abnormal termination.
The keywords that denote
the dispositions are CATLG, KEEP, DELETE and UNCATLG..
CATLG means
that the data set is retained and its name is kept in the system
catalog.
KEEP means that the data is retained but not cataloged.
DELETE means that all references to the data set are to be removed
from the system and that the space it occupies is to be released for
use by other data sets.
UNCATLG means that a previously cataloged
data set is retained, but its name is removed from the catalog.
62
TSO Terminal User's Guide
(Release 21.7)