DISPLAY DSNAMES command: Difference between revisions

From m204wiki
Jump to navigation Jump to search
JDamon (talk | contribs)
JDamon (talk | contribs)
Line 21: Line 21:
<li><var>DISPLAY DSNAMES</var> is not supported under VSE or CMS.  
<li><var>DISPLAY DSNAMES</var> is not supported under VSE or CMS.  
<li>The following is an example of the listing produced by <var>DISPLAY DSNAMES</var>.
<li>The following is an example of the listing produced by <var>DISPLAY DSNAMES</var>.
<li>Space information is displayed only for Model 204 files and only those that are open.  The space value displayed is for the entire Model 204 file only.  If the file is a multi-dataset file, each dataset is listed but not the space allocated to each dataset - only the space allocated to the entire Model 204 file across all datasets.  If the Model 204 file is a single dataset file, then the space listed will be the space allocated to that single dataset but will appear only on the line that represents the entire Model 204 file.
</ul>
</ul>



Revision as of 22:58, 1 July 2026

Summary

Privileges
System manager
Function
Displays DSNAME, VOLSER, DSORG, RECFM, BLKSIZE, LRECL UNITS (space), PRIMARY (space) for each DDNAME selected.

Syntax

DISPLAY DSNAMES [pattern] or

D DSN [pattern]

Where pattern is a simple pattern that limits the number of DDNAMES displayed. A simple pattern is

a character string with no wildcard or special characters. Any DDNAME whose first characters match the pattern is displayed.

Usage notes

  • DISPLAY DSNAMES is available as of version 8.0 of Model 204.
  • DISPLAY DSNAMES is not supported under VSE or CMS.
  • The following is an example of the listing produced by DISPLAY DSNAMES.
  • Space information is displayed only for Model 204 files and only those that are open. The space value displayed is for the entire Model 204 file only. If the file is a multi-dataset file, each dataset is listed but not the space allocated to each dataset - only the space allocated to the entire Model 204 file across all datasets. If the Model 204 file is a single dataset file, then the space listed will be the space allocated to that single dataset but will appear only on the line that represents the entire Model 204 file.

Example 1

DISPLAY DSNAMES CCA displays only those DDNAMES starting with CCA:

JOBNAME=PSDAM80T, STEPNAME=V800TEST DDNAME DSNAME VOLSER DSORG RECFM BLKSIZE LRECL CCAJRNL PSDAMON.V800.CCAJRNL.M204 M2P102 PS U 6749 6749 CCAPRINT PSDAMON.PSDAM80T.J0171916.D0000103.? PS VBA  ? 137 CCAAUDIT PSDAMON.PSDAM80T.J0171916.D0000104.? PS VBA  ? 137 CCASNAP PSDAMON.PSDAM80T.J0171916.D0000105.?  ?  ?  ?  ? CCASYS PSDAMON.CCASYS.M204 M2P103 PS U 6184 6184 CCAGRP PSDAMON.CCAGRP.M204 M2P102 PS U 6184 6184 CCASTAT PSDAMON.CCASTAT.M204 M2P103 PS U 13030 13030 CCAIN PSDAMON.PSDAM80T.J0171916.D0000102.?  ? FB 80 80 PSDAM80T>