DISPLAY GTBL command: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (Automatically generated page update)
 
No edit summary
 
Line 40: Line 40:
<p>You can display a particular GTBL variable, a list of variables based on a pattern, or the entire list of variables in GTBL. Variable lists can also be displayed in sorted order.</p>
<p>You can display a particular GTBL variable, a list of variables based on a pattern, or the entire list of variables in GTBL. Variable lists can also be displayed in sorted order.</p>
<p>DISPLAY GTBL displays only those variables stored by the $SETG function. DISPLAY GTBL does not display GTBL objects declared by the keyword GLOBAL.</p>
<p>DISPLAY GTBL displays only those variables stored by the $SETG function. DISPLAY GTBL does not display GTBL objects declared by the keyword GLOBAL.</p>
[[Category: General user commands]]
[[Category: User commands]]
[[Category:Commands]]
[[Category:Commands]]

Latest revision as of 16:20, 22 March 2017

Summary

Privileges
Any user
Function
Displays GTBL variables (set by $SETG) and their values

Syntax

DISPLAY GTBL [LIST [IN ORDER] [LIKE pattern] | NAME=globalname [,'global name']...]

Where:

LIST displays all the variables or a list of variables based on a pattern. If you also specify IN ORDER, Model 204 displays the variables in sorted order by global variable name.

LIST is the default.

NAME displays a list of the global names that you supply. You can separate the names by either a comma or a blank. If a global variable contains a comma or a blank in its name, specify globalname in single quotes.

Syntax notes

If you issue DISPLAY GTBL using the NAME option and no global name, or using an unknown global name, you receive an error message.

Example

DISPLAY GTBL USERID=DOMIKE USERNUM=AB0123 . . .

Usage notes

You can display a particular GTBL variable, a list of variables based on a pattern, or the entire list of variables in GTBL. Variable lists can also be displayed in sorted order.

DISPLAY GTBL displays only those variables stored by the $SETG function. DISPLAY GTBL does not display GTBL objects declared by the keyword GLOBAL.