Difference between revisions of "DISPLAY RECORD command"

From m204wiki
Jump to navigation Jump to search
m (Automatically generated page update)
 
 
Line 15: Line 15:
 
==Usage notes==
 
==Usage notes==
 
The DISPLAY RECORD command displays a record definition. <var class="product">Model&nbsp;204</var> lists all the preallocated fields in the <var class="product">Model&nbsp;204</var> file that is currently open. Fields are listed in the same order in which they are allocated in each record in the file. The OCCURS, LENGTH, and PAD specifications for the fields are also included. (See [[DEFINE FIELD command|"DEFINE FIELD: Field names and attributes"]].)   
 
The DISPLAY RECORD command displays a record definition. <var class="product">Model&nbsp;204</var> lists all the preallocated fields in the <var class="product">Model&nbsp;204</var> file that is currently open. Fields are listed in the same order in which they are allocated in each record in the file. The OCCURS, LENGTH, and PAD specifications for the fields are also included. (See [[DEFINE FIELD command|"DEFINE FIELD: Field names and attributes"]].)   
[[Category: General user commands]]
+
[[Category: User commands]]
 
[[Category:Commands]]
 
[[Category:Commands]]

Latest revision as of 16:22, 22 March 2017

Summary

Privileges
Any user
Function
Displays a definition of a record in a Model 204 file

Syntax

DISPLAY RECORD [(NOUSE)]

Syntax notes

NOUSE displays the record definition on your terminal even if a USE command precedes the DISPLAY. Any alternate device remains open, but is not used. If specified, NOUSE must be enclosed in parentheses.

Example

DISPLAY RECORD (NOUSE)

Usage notes

The DISPLAY RECORD command displays a record definition. Model 204 lists all the preallocated fields in the Model 204 file that is currently open. Fields are listed in the same order in which they are allocated in each record in the file. The OCCURS, LENGTH, and PAD specifications for the fields are also included. (See "DEFINE FIELD: Field names and attributes".)