Listing Information about OS Disks with the LISTDS Command
The QUERY DISK command gives usage information about normal CMS
minidisks, but gives minimal information about OS disks. You can use
the LISTDS command with the FREE option to obtain information about
free space on an OS disk. For example:
listds n (free
Freespace extents for N disk:
CYL-HEAD (RELTRK) TO CYL-HEAD (RELTRK) TRACKS
00000 00008 8 00001 00014 29 22
Ready;
The LISTDS command with the PDS option provides information about the libraries residing on an OS disk.
The LISTFILE command gives information about minidisk or SFS files,
but not about files on an OS disk. You can use the LISTDS command
with the FORMAT option to obtain information about OS disk files.
For example:
listds n (format
RECFM LRECL BLKSI DSORG DATE LABEL FM DATA SET NAME
FB 80 27920 PO 12/12/91 MVS292 N MY.OWN.MACLIB
Ready;
listds n (extent
Extent information for VTOC on N disk:
SEQ TYPE CYL-HEAD (RELTRK) TO CYL-HEAD (RELTRK) TRACKS
000 VTOC 00000 00001 1 00000 00002 2 2
Extent information for MY.OWN.MACLIB on N disk:
SEQ TYPE CYL-HEAD (RELTRK) TO CYL-HEAD (RELTRK) TRACKS
000 DATA 00000 00003 3 00000 00007 7 5
Ready;