MLS(1)
NAME
mls
- List partitioned dataset members.
SYNOPSIS
mls [-dhHv] <dataset pattern>[(<member pattern>)]
-d
Print out debug messages.
-h
Display syntax help.
-H
Hide dataset aliases.
-v
Print verbose name output.
DESCRIPTION
mls
writes members that match <member pattern>
from the partitioned dataset matching <dataset pattern>
to stdout.
If <member pattern>
is not provided, all members are listed.
mls is able to list the members of a partitioned generation dataset (GDS). GDS relative name notation is supported when the name is fully specified.
NOTE: If your locale is set to En_GB.IBM-285, any dollar sign ($
) characters in a dataset name will be automatically translated to the pound sterling character.
EXAMPLES
List all the members of SYS1.PARMLIB
:
mls SYS1.PARMLIB
List all the members of PARMLIB that start with IEA
and end with 0 followed by a single character:
mls 'sys1.parmlib(iea*0?)'
List the members in the latest partitioned generation dataset from the GDG ZOAUSER.GDG
:
mls 'ZOAUSER.GDG(0)'
EXIT VALUES
0
mls completed without error.
1
The dataset specified by dataset pattern does not exist.
2
No members specified by <member pattern> exist.
3
Multiple datasets match <dataset pattern>.
non-zero
Errors occurred. See error messages for details.