DISPLAY DSNAMES command: Difference between revisions

From m204wiki
Jump to navigation Jump to search
JDamon (talk | contribs)
JDamon (talk | contribs)
 
(5 intermediate revisions by the same user not shown)
Line 13: Line 13:


Where
Where
<var class="term">pattern</var> is a simple pattern that limits the number of DDNAMES displayed. A simple pattern is
<var class="term">pattern</var> 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.</p>
a character string with no wildcard or special characters. Any DDNAME whose first characters match the pattern is displayed.</p>


==Usage notes==
==Usage notes==
Line 20: Line 19:
<li><var>DISPLAY DSNAMES</var> is available as of version 8.0 of <var class="product">Model&nbsp;204</var>.
<li><var>DISPLAY DSNAMES</var> is available as of version 8.0 of <var class="product">Model&nbsp;204</var>.
<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>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>


==Example 1==
==Example 1==
<code>DISPLAY DSNAMES CCA</code> displays only those DDNAMES starting with <code>CCA</code>:
<p class="output">26.182  JUL 01  19.00.34.72    PAGE 20 
<p class="output">JOBNAME=PSDAM80T, STEPNAME=V800TEST
DISPLAY DSNAMES  
                                                 
JOBNAME=ROCKM80T, STEPNAME=V800TEST 
DDNAME    DSNAME                                        VOLSER DSORG RECFM BLKSIZE LRECL  
 
CCAJRNL  PSDAMON.V800.CCAJRNL.M204                    M2P102 PS    U        6749  6749  
DDNAME    DSNAME                                        VOLSER DSORG RECFM BLKSIZE LRECL UNITS PRIMARY
CCAPRINT  PSDAMON.PSDAM80T.J0171916.D0000103.?                PS    VBA        ?  137  
CCAJRNL  ROCKET1.V800.CCAJRNL.M204                    M2P102 PS    U        6749  6749             
CCAAUDIT  PSDAMON.PSDAM80T.J0171916.D0000104.?                PS    VBA        ?  137  
CHKPOINT  ROCKET1.V800.CHKPOINT.M204                    M2P100 PS    F        6184  6184             
CCASNAP  PSDAMON.PSDAM80T.J0171916.D0000105.?                ?    ?          ?    ?  
CCAPRINT  ROCKET1.ROCKM80T.J0353345.D0000103.?                PS    VBA        ?  137             
CCASYS    PSDAMON.CCASYS.M204                          M2P103 PS    U        6184  6184  
CCAAUDIT  ROCKET1.ROCKM80T.J0353345.D0000104.?                PS    VBA        ?  137             
CCAGRP    PSDAMON.CCAGRP.M204                          M2P102 PS    U        6184  6184  
CCASNAP  ROCKET1.ROCKM80T.J0353345.D0000105.?                ?    ?          ?    ?             
CCASTAT  PSDAMON.CCASTAT.M204                          M2P103 PS    U      13030 13030  
SYSUDUMP  ROCKET1.ROCKM80T.J0353345.D0000106.?                ?    ?          ?    ?             
CCAIN    PSDAMON.PSDAM80T.J0171916.D0000102.?                ?    FB        80    80  
SYSMDUMP  ROCKET1.CCAMDMP0.M204                        M2P103 ?    ?          ?    ?             
PSDAM80T>                                                                                                     
CCASYS                                                                                  CYL        2
CCASYS    ROCKET1.CCASYS.M204                          M2P103 PS    U        6184  6184             
CCAGRP                                                                                  CYL        1
CCAGRP    ROCKET1.CCAGRP.M204                          M2P102 PS    U        6184  6184             
DSNLIST                                                                                  BLK    20008
DSNLIST  ROCKET1.DSNLIST.M204                          M2P103 PS    U        6184  6184             
DSN1MEG                                                                                  TRK      6500
DSN1MEG  ROCKET1.DSN1MEG.M204                          M2P104 PS    U        6184  6184             
DSN1OF3  ROCKET1.DSN1MEG.ONEOF3.M204                  M2P104 PS    U        6184  6184             
DSN2OF3  ROCKET1.DSN1MEG.TWOOF3.M204                  M2P104 PS    U        6184  6184             
DSN3OF3  ROCKET1.DSN1MEG.THREEOF3.M204                M2P104 PS    U        6184  6184
 
==Example 2==
<p class="output">26.182  JUL 01  19.16.58.63    PAGE 31                                                               
D DSN CCA                                                                                             
JOBNAME=ROCKM80T, STEPNAME=V800TEST                                                                  
                                                                                                     
DDNAME    DSNAME                                        VOLSER DSORG RECFM BLKSIZE LRECL UNITS PRIMARY
CCAJRNL  ROCKET1.V800.CCAJRNL.M204                    M2P102 PS    U        6749  6749            
CCAPRINT  ROCKET1.ROCKM80T.J0353345.D0000103.?                PS    VBA        ?  137            
CCAAUDIT  ROCKET1.ROCKM80T.J0353345.D0000104.?                PS    VBA        ?  137            
CCASNAP  ROCKET1.ROCKM80T.J0353345.D0000105.?                ?    ?          ?    ?            
CCASYS                                                                                  CYL        2
CCASYS    ROCKET1.CCASYS.M204                          M2P103 PS    U        6184  6184            
CCAGRP                                                                                  CYL        1
CCAGRP    ROCKET1.CCAGRP.M204                          M2P102 PS    U        6184  6184            
CCASTAT  ROCKET1.CCASTAT.M204                          M2P103 PS    U      13030 13030            
CCAIN    ROCKET1.ROCKM80T.J0353345.D0000102.?                ?    FB        80    80            


[[Category:System manager commands]]
[[Category:System manager commands]]

Latest revision as of 21:16, 2 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.
  • 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

26.182 JUL 01 19.00.34.72 PAGE 20 DISPLAY DSNAMES JOBNAME=ROCKM80T, STEPNAME=V800TEST DDNAME DSNAME VOLSER DSORG RECFM BLKSIZE LRECL UNITS PRIMARY CCAJRNL ROCKET1.V800.CCAJRNL.M204 M2P102 PS U 6749 6749 CHKPOINT ROCKET1.V800.CHKPOINT.M204 M2P100 PS F 6184 6184 CCAPRINT ROCKET1.ROCKM80T.J0353345.D0000103.? PS VBA  ? 137 CCAAUDIT ROCKET1.ROCKM80T.J0353345.D0000104.? PS VBA  ? 137 CCASNAP ROCKET1.ROCKM80T.J0353345.D0000105.?  ?  ?  ?  ? SYSUDUMP ROCKET1.ROCKM80T.J0353345.D0000106.?  ?  ?  ?  ? SYSMDUMP ROCKET1.CCAMDMP0.M204 M2P103 ?  ?  ?  ? CCASYS CYL 2 CCASYS ROCKET1.CCASYS.M204 M2P103 PS U 6184 6184 CCAGRP CYL 1 CCAGRP ROCKET1.CCAGRP.M204 M2P102 PS U 6184 6184 DSNLIST BLK 20008 DSNLIST ROCKET1.DSNLIST.M204 M2P103 PS U 6184 6184 DSN1MEG TRK 6500 DSN1MEG ROCKET1.DSN1MEG.M204 M2P104 PS U 6184 6184 DSN1OF3 ROCKET1.DSN1MEG.ONEOF3.M204 M2P104 PS U 6184 6184 DSN2OF3 ROCKET1.DSN1MEG.TWOOF3.M204 M2P104 PS U 6184 6184 DSN3OF3 ROCKET1.DSN1MEG.THREEOF3.M204 M2P104 PS U 6184 6184

Example 2

26.182 JUL 01 19.16.58.63 PAGE 31 D DSN CCA JOBNAME=ROCKM80T, STEPNAME=V800TEST DDNAME DSNAME VOLSER DSORG RECFM BLKSIZE LRECL UNITS PRIMARY CCAJRNL ROCKET1.V800.CCAJRNL.M204 M2P102 PS U 6749 6749 CCAPRINT ROCKET1.ROCKM80T.J0353345.D0000103.? PS VBA  ? 137 CCAAUDIT ROCKET1.ROCKM80T.J0353345.D0000104.? PS VBA  ? 137 CCASNAP ROCKET1.ROCKM80T.J0353345.D0000105.?  ?  ?  ?  ? CCASYS CYL 2 CCASYS ROCKET1.CCASYS.M204 M2P103 PS U 6184 6184 CCAGRP CYL 1 CCAGRP ROCKET1.CCAGRP.M204 M2P102 PS U 6184 6184 CCASTAT ROCKET1.CCASTAT.M204 M2P103 PS U 13030 13030 CCAIN ROCKET1.ROCKM80T.J0353345.D0000102.?  ? FB 80 80