LISTCAT

The LISTCAT command lists the data set names contained in the catalog.

Parameters:

MFJAMS supports the following parameters. They are supported as documented in the IBM documentation unless otherwise stated below:

ALL
Displays the history, including the creation and last changed information, and the expiration date. Causes the physical file, if any, to be listed in the output. The time format is YYYY.ddd. You can change this to YYYYMMDD by setting the ES_JES_LISTCAT_YMD environment variable to Y.
ENTRIES(data-set-names)
Names of the data sets to be listed. You can specify a list of names separated by blanks. You can also specify generic names by using '*' as a qualifier. For example, a generic data set name of ABC.*.FILE means all data sets with ABC as the first qualifier, any value as the second qualifier and FILE as the third and last qualifier. See Comments for more wildcard support.
LEVEL(level)
Prefix qualifier of the data sets to be listed. For example, a level of ABC means all data sets with ABC as the first, high-level, qualifier. See Comments for more wildcard support.

Comments:

ENTRIES and LEVEL are mutually exclusive; you can specify only one of them. LEVEL(*) is the default if neither is specified.

Output format:

The LISTCAT MFJAMS command generates a detailed columnar output report.
Column Heading Description
DSN Data set Name - e.g. xxxxxxxx - MFIDSA.DO.NOT.DELETE.B1057624.KSDS1 where xxxxxxxx is one of:
  • AIX
  • CLUSTER
  • DATA
  • INDEX
  • PATH
  • MODEL
  • GDG BASE
  • NONVSAM
C Cataloged: Y=yes, N=uncataloged, S=Spool
C CHARSET: EBCDIC or ASCII
DSOR Data set Organisation
RecF Record Format
Lrecl Logical Record Length
Blksi Block Size
KyL Key Length
KyOff Key Offset
SHR Maximum GDG generations or VSAM SHAREOPTIONS value. If the first entry returned by LISTCAT is a VSAM data set, then the column heading is SHR to show the share options; otherwise, the heading is GDG to show the generation limit.
S Roll-up disposition: S=SCRATCH, N=NOSCRATCH
E GDG EMPTY (E) or NOEMPTY (N)
UK UNIQUEKEY (UK) / NONUNIQUEKEY (NU) for AIX and PATHs
RU REUSE (RE) / NOREUSE (NR)
xt Extended Type: A=Aix, C=Cluster, P=Path, M=Model, E=Aix Index, J=Aix Data, I=Index, D=Data, ?=Unknown
Dataclas The DATACLAS of the dataset
Mgmtclas The MANAGEMENTCLAS of the dataset
Volume <null>
RecMn Minimum Logical Record Length
RecMx Maximum Logical Record Length
Typ The dataset type
XD Extended dataset type (P=PDS, L=PDSE, I=PIPE, H=HFS)
XR Extended RBA support (Y=yes)

If the ALL option is specified, the history of the dataset is displayed as well as the physical file.

Both * and % are accepted within the data set name, and multiple wildcards may be used; for example: LISTCAT LEVEL(MFI01.MFI%%%%.D*.DAT)