arguments
filename
Name of the DASD image file for which the datasets contained will be listed.
shadowfile
Optional name of an associated shadow file (s) from which any datasets will be
listed.
5.12.4 Examples
Example 1:
List all the datasets currently on the volume D:\MVS\DASD\MVSRES.CCKD.
DASDLS D:\MVS\DASD\MVSRES.CCKD
Example 2:
List all the datasets currently on the volume D:\MVS\DASD\MVSRES.CCKD showing information from the
Format 1 DSCB, with column headers and reserving only 20 characters for the dataset name.
DASDLS –dsnl=20 –hdr D:\MVS\DASD\MVSRES.CCKD
Example 3:
List all the datasets currently on the volume D:\MVS\DASD\MVSRES.CCKD showing information from the
Format1 DSCB, with column headers, calendar date format and reserving only 20 characters for the
dataset name.
DASDLS –dsnl=20 –hdr –caldt D:\MVS\DASD\MVSRES.CCKD
5.12.5 Sample Utility Output
Sample 1:
List all the datasets currently on the volume D:\MVS\DASD\MVSRES.CCKD.
D:\Hercules>dasdls D:\MVS\DASD\MVSRES.CCKD
Hercules DASD list program Version 3.10.0
(c)Copyright 1999-2006 by Roger Bowler, Jan Jaeger, and others
D:\MVS\DASD\MVSRES.CCKD: VOLSER=MVSRES
SYS1.STAGE1.OUTPUT
SYS1.LPALIB
SYS1.LINKLIB
SYS1.SVCLIB
SYS1.NUCLEUS
SYS1.DCMLIB
SYS1.INDMAC
SYS1.CMDLIB
SYS1.HELP
SYS1.SAMPLIB