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

SYS1.MACLIB

SYS1.PROCLIB

SYS1.TELCMLIB

SYS1.UADS

SYS1.VTAMLIB

SYS1.IMAGELIB

.

several lines not displayed

.

SYS1.SMPCRQ

SYS1.SMPSCDS

SYS1.COBLIB

SYS1.FORTLIB

SYS1.PL1LIB

SYS1.SORTLIB

Figure 43: DASDLS utility output (extended information)

Sample 2:

List all the datasets currently on the volume D:\MVS\DASD\MVSRES.CCKD showing information from the
Format1 DSCB, with column headers, expiration date, calendar date format with a year offset of 10 years
and reserving only 20 characters for the dataset name.

D:\Hercules>dasdls -caldt -expdt -hdr -dsnl=20 -yroffs=10 D:\MVS\DASD\MVSRES.CCKD

Hercules DASD list program Version 3.10.0

(c)Copyright 1999-2010 by Roger Bowler, Jan Jaeger, and others

D:\MVS\DASD\MVSRES.CCKD: VOLSER=MVSRES

Dsname Created Exp. Date ORG RECFM LRECL BLKSZ Key Trks%Use#Ext 2ndry_alloc

SYS1.STAGE1.OUTPUT 1983Apr28 --------- PS FB 80 19040 0 52 98 2 TRK 30

SYS1.LPALIB 1983Apr28 1981Dec16 PO U 19069 0 900 50 1 CYL 1

SYS1.LINKLIB 1983Apr28 1981Dec16 PO U 19069 0 1200 38 1 CYL 1

SYS1.SVCLIB 1983Apr28 1981Dec16 PO U 19069 0 60 24 1 CYL 1

SYS1.NUCLEUS 1983Apr28 1981Dec16 PO U 19069 19069 0 480 12 1 CYL 0

SYS1.DCMLIB 1983Apr28 1981Dec16 PO U 19069 0 120 1 1 CYL 0

SYS1.INDMAC 1983Apr28 1981Dec16 PO FB 80 19040 0 180 1 1 CYL 1

SYS1.CMDLIB 1983Apr28 1981Dec16 PO U 19069 0 180 46 1 CYL 1

SYS1.HELP 1983Apr28 1981Dec16 PO FB 80 19040 0 180 33 1 CYL 1

SYS1.SAMPLIB 1983Apr28 1981Dec16 PO F 80 80 0 240 100 1 CYL 1

SYS1.MACLIB 1983Apr28 1981Dec16 PO FB 80 19040 0 1500 47 1 CYL 1

SYS1.PROCLIB 1983Apr28 1981Dec16 PO FB 80 19040 0 180 5 1 CYL 1

SYS1.TELCMLIB 1983Apr28 1981Dec16 PO U 19069 0 120 31 1 CYL 1

SYS1.UADS 1983Apr28 --------- PO FB 80 800 0 30 16 1 CYL 1

SYS1.VTAMLIB 1983Apr28 1981Dec16 PO U 19069 0 120 11 1 CYL 1

SYS1.IMAGELIB 1983Apr28 1981Dec16 PO U 1024 0 60 3 1 CYL 0

SYS1.PARMLIB 1983Apr28 1981Dec16 PO F 80 80 0 180 36 1 CYL 0

SYS1.BRODCAST 1983Apr28 --------- DA F 129 1 30 100 1 CYL 0

SYS1.MANX 1983Apr28 1981Dec16 PS VBS 4096 4096 0 150 51 1 CYL 0

SYS1.MANY 1983Apr28 1981Dec16 PS VBS 4096 4096 0 150 0 1 CYL 0

SYS1.TCOMMAC 1983Apr28 1981Dec16 PO FB 80 19040 0 2970 0 1 CYL 10

SYS1.DUMP00 1983Apr28 1981Dec16 U 0 0 900 0 1 CYL 0

SYS1.LOGREC 1983Apr28 --------- PS U 40 40 0 30 97 1 TRK 0

Previous Page Next Page