Using QMF


Creating, changing, and deleting variables from the global variable list

The easiest way to display, change, add, or delete global variables is with the SHOW GLOBALS command. When you enter SHOW GLOBALS on the QMF command line, QMF displays a global variable list panel similar to Figure 162.

Figure 162. The Globals panel

+--------------------------------------------------------------------------------+
| GLOBALS                                                                        |
|                                                                                |
| Type a value for a global variable and press Enter or press a function         |
| key.  Variable values may be changed if they are enclosed in parentheses       |
| or brackets.                                                                   |
|                                                                                |
| Variable Name:     Value:                                                      |
| ------------------ ------------------------------------------------------      |
|                                                              1  to 11 of 97    |
| EMPLOYEE_NAME      ( SANDERS                                            )      |
| LOCATION_LIST      ( 'NEW YORK', 'BOSTON', 'WASHINGTON', 'ATLANTA',     >      |
| MAXIMUM_SALARY     ( 18999                                              )      |
| MINIMUM_SALARY     ( 17000                                              )      |
| TABLE_NAME         ( Q.STAFF                                            )      |
| DSQAO_APPL_TRACE     0                                                         |
| DSQAO_ATTENTION      0                                                         |
| DSQAO_BATCH          1                                                         |
| DSQAO_CICS_SQNAME                                                              |
| DSQAO_CICS_SQTYPE                                                              |
| DSQAO_CICS_TQNAME                                                              |
| 1=Help         2=            3=End       4=            5=Show Field   6=Query  |
| 7=Backward     8=Forward     9=Form     10=Add        11=Delete      12=Report |
| COMMAND ===>                                                                   |
+--------------------------------------------------------------------------------+

The global variable list panel uses one row on the screen for each global variable. The variable name appears on the left, and up to the first 50 characters of the variable value appear on the right. Variables you defined appear in alphabetic order first. Then, QMF DSQ variables appear in alphabetical order.

Global variables added on the SHOW GLOBALS panel can have a length of up to 32,768 characters. Variable values that are longer than a single line are indicated by a greater-than sign to the right of the value.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]