DISPLAY FILE command: Difference between revisions
m (Automatically generated page update) |
No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 6: | Line 6: | ||
<dd>Displays information about a <var class="product">Model 204</var> file | <dd>Displays information about a <var class="product">Model 204</var> file | ||
</dl> | </dl> | ||
==Syntax== | ==Syntax== | ||
<p class="syntax"><b>D</b>ISPLAY FILE [(<i>display-optio</i>n [<i>,display-option</i>]...)] | <p class="syntax"><b>D</b>ISPLAY FILE [(<i>display-optio</i>n [<i>,display-option</i>]...)] | ||
Line 14: | Line 15: | ||
<table> | <table> | ||
<tr> | <tr> | ||
<th>display-option</th> | <th nowrap>display-option</th> | ||
<td> is one of the options listed below: | <td> is one of the options listed below: | ||
<table> | <table> | ||
Line 51: | Line 52: | ||
<tr> | <tr> | ||
<th | <th>filename</th> | ||
<td> | <td>The name of an existing <var class="product">Model 204</var> file.</td> | ||
</tr> | </tr> | ||
</table> | |||
</table> | |||
===Syntax notes=== | ===Syntax notes=== | ||
<p>ABBREV can be specified in conjunction with DEFINITIONS, FPARMS, or TABLE, but not DDNAMES. NOUSE can be combined with any of the DISPLAY options.</p> | <p> | ||
<p>Display options must be enclosed in parentheses and separated by commas or by one or more blanks.</p> | ABBREV can be specified in conjunction with DEFINITIONS, FPARMS, or TABLE, but not DDNAMES. NOUSE can be combined with any of the DISPLAY options.</p> | ||
<p> | |||
Display options must be enclosed in parentheses and separated by commas or by one or more blanks.</p> | |||
==Example== | ==Example== | ||
<p class="code"><b>DISPLAY FILE (DDNAMES) CENSUS</b> | <p class="code"><b>DISPLAY FILE (DDNAMES) CENSUS</b> | ||
Line 65: | Line 69: | ||
</p> | </p> | ||
<p class="note"><b>Note:</b> A file cannot be created unless the first DDNAME is equal to the filename.</p> | <p class="note"><b>Note:</b> A file cannot be created unless the first DDNAME is equal to the filename.</p> | ||
==Usage notes== | ==Usage notes== | ||
<p>The DISPLAY FILE command displays information on one or more open <var class="product">Model 204</var> files. This information includes the value of file parameters and the names of the data sets that make up the files. <var class="product">Model 204</var> lists information about the specified files, or, if ALL is specified, about all of the user's open files. File information is listed in the format specified by the DISPLAY options.</p> | <p> | ||
<p>All the files specified in the command must be open at the time that you issue the command. Files that are not open are not listed. An error message is generated by use of the DISPLAY FILE command without the correct privilege.</p> | The DISPLAY FILE command displays information on one or more open <var class="product">Model 204</var> files. This information includes the value of file parameters and the names of the data sets that make up the files. <var class="product">Model 204</var> lists information about the specified files, or, if ALL is specified, about all of the user's open files. File information is listed in the format specified by the DISPLAY options.</p> | ||
<p> | |||
All the files specified in the command must be open at the time that you issue the command. Files that are not open are not listed. An error message is generated by use of the DISPLAY FILE command without the correct privilege.</p> | |||
[[Category: File manager commands]] | [[Category: File manager commands]] | ||
[[Category: | [[Category: User commands]] | ||
[[Category:Commands]] | [[Category:Commands]] |
Latest revision as of 16:19, 22 March 2017
Summary
- Privileges
- Any user (only the file manager can display certain file information)
- Function
- Displays information about a Model 204 file
Syntax
DISPLAY FILE [(display-option [,display-option]...)] {ALL | filename [,filename]...}
Where:
display-option | is one of the options listed below:
|
||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
filename | The name of an existing Model 204 file. |
Syntax notes
ABBREV can be specified in conjunction with DEFINITIONS, FPARMS, or TABLE, but not DDNAMES. NOUSE can be combined with any of the DISPLAY options.
Display options must be enclosed in parentheses and separated by commas or by one or more blanks.
Example
DISPLAY FILE (DDNAMES) CENSUS CENSUS DDNAMES: CENSUS CENSUS1 CENSUS2
Note: A file cannot be created unless the first DDNAME is equal to the filename.
Usage notes
The DISPLAY FILE command displays information on one or more open Model 204 files. This information includes the value of file parameters and the names of the data sets that make up the files. Model 204 lists information about the specified files, or, if ALL is specified, about all of the user's open files. File information is listed in the format specified by the DISPLAY options.
All the files specified in the command must be open at the time that you issue the command. Files that are not open are not listed. An error message is generated by use of the DISPLAY FILE command without the correct privilege.