FORM!T FO LISTDS requests a display of the date, disk label, filemode, and
data set name for an as data set as well as RECFM, LRECL, BLKSIZE, and DSORG information. For a DOS file, LISTDS displays the date, disk label, filemode, and file-id, but
gives no information about the RECFM, LRECL, and BLKSIZE (two
blanks appear for each); DSORG is always PS. PDS displays the member names of referenced OS partitioned data
sets.
For examples of the displays produced as a result of each of these
options, see the "Responses" section, below.
1. If you want to enter an as or DOS file identification on the LISTDS command line, it must consist of one-to eight-character qualifiers
separated by periods. For example, the file TEST.INPUT.SOURCE.D could be listed as follows:
2.
listds test input source d * Or, you can enter the name interactively, as follows:
listds ? * DMSLDS220R ENTER DATA SET NAME: test.input.source.d
Note that when the data set name is entered interactively, it must
be entered in its exact form; when entered on the LISTDS command
line, the periods must be omitted. You must use the interactive form to enter a DOS file-id that
contains embedded blanks or hyphens. You should use the FREE option to determine
available for allocation by VSAM when you are
services. For example:
listds * (free
what free space is
using access method
requests a display of unallocated extents on all accessed as or DOS disks. You can then use the EXTENT option on the DLBL command when
you define the file for AMSERV. 3. Full disk displays using the FREE option will display free
alternate tracks as well as free space extents.
4. Since CMS does not support ISAM files, LISTDS lists extent and free
information on files, but ignores format 2 DSCBs. 5. Since CMS does not support track overflow, LISTDS will not read
beyond a track if DCB=RECFM=T is specified for the OS VTOC. Section 2. CMS Commands 111
LISTDS DMSLDS220R ENTER SET This message prompts you to enter the data set name when you use
the? operand on the LISTDS command. Enter the file identification
in its exact form. sample sequence might be:
listds ? c DMSLDS220R ENTER DATA SET NAME: my.file.test FM DATA SET NAME C MY.FILE.TEST R; response shown above following the entry of the data set name
is the same as the response given when you enter a data set name on
the LISTDS command line. DMSLDS22QI NO MEMBERS FOUND This message is displayed when you use the PDS option and the data
set has no members. DMSLDS233I NO FREE SPACE AVAILABLE ON 'fm' DISK This message is displayed when you use the FREE option and there is
no free space available on the specified disk. iQ ihg A sample response to the EXTENT option
is shown below. The headers and the type of information supplied are the
same when you request information for a specific file only, or for all
disks.
listds g (extent FOR 'VTOC' ON 'G' DISK: SEQ TYPE CYL-HD(RELTRK) TO CYL-HD(RELTRK) 000 V TO C 099 00 1 88 1 099 1 8 1 89 9 TRACKS 19 FOR 'PRIVAT.CORE.IMAGE.LIB' ON 'G' DISK: SEQ TYPE CYL-HD(RELTRK) TO CYL-HD(RELTRK) TRACKS 000 DATA 000 01 1 049 18 949 949 INFORMATION FOR 'SYSTEM.WORK.FILE.ND.6' ON 'G' DISK: SEQ TYPE CYL-HD(RELTRK) TO CYL-HD(RELTRK) TRACKS 000 DATA 050 00 950 051 18 987 38 INFORMATION FOR 'COBOL TEST PROGRAM' ON 'G' DISK: SEQ TYPE CYL-HD(RELTRK) TO CYL-HD(RELTRK) TRACKS 000 DATA 052 02 990 054 01 1027 38
EXTENT INFORMATION FOR 'DKSQ01A' ON 'G' DISK: SEQ CYL-HD(RELTRK) TO CYL-HD(RELTRK) TRACKS 000 DATA 080 01 1521 081 00 1539 19 SEQ indicates the sequence number assigned this extent when the
extents were defined via the DLBL command. CMS assigns the
sequence numbers for VSAM data sets; the first extent set has a
sequence of 000, the second extent has a sequence of and so
on. IBM VM/370 eMS Command ana Macro
Previous Page Next Page