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
Causes the physical file, if any, to be listed in the output.
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
GDG/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)
XD Extended data set type (P=PDS, L=PDSE, I=PIPE, H=HFS)
XR Extended RBA support (Y=yes)
XT Extended Type: A=Aix, C=Cluster, P=Path, M=Model, E=Aix Index, J=Aix Data, I=Index, D=Data, ?=Unknown
Dataclas The MGMTCLAS is shown on line #1 and DATACLAS on line #2
Volume <null>
RecMn Minimum Logical Record Length
RecMx Maximum Logical Record Length
Changed Job/On/At Jobname/date/time of the process that last updated the data set's catalog record
Created Job/On/At Jobname/date/time when created

If the ALL option is specified, a new line entitled PC FILE lists 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)