Explanation: DATASETNAME and LEVEL are mutually
exclusive, required parameters that you specify to request a list
of data set entries.
- DATASETNAME(dsname)
- is specified to request a data set entry with a specific data
set name. For dsname, substitute the fully qualified name
of the particular data set you want listed. You can specify a data
set name of up to 44 characters.
- LEVEL(qualifier)
- is specified to request a list of all data set entries that
have the same set of initial characters of the data set name. For qualifier, substitute the set of initial characters of the data set name
for the data sets you want listed. The set of initial characters can
contain imbedded periods. The qualifier can end with a period
if LEVEL is the first keyword on the command. You can specify a qualifier of up to 44 characters.
Defaults: If you specify DATASETNAME without
dsname, DFSMShsm lists all data set entries.
Note: - If you used the SETMIG command to prevent a data set from migrating,
DFSMShsm does not list the data set.
- DFSMShsm does not handle partitioned data set members individually.
If you specify a member name of a partitioned data set, DFSMShsm lists
the entire partitioned data set.
- You can specify DATASETNAME or LEVEL with a LIST COMMAND, but
not both. If you specify both parameters, the last parameter specified
overrides the previous one.