DISPLAY GTBL command
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.