SET GLOBAL: linear syntax

The name of the global variable can be up to 17 characters long, and the length of the value must be 55 characters or less. The linear syntax for the SET GLOBAL command is as follows:

                  .-+---+------------------------.
                  | '-,-'                        |
                  V                (1)   .-=-.   |
>>-SET--GLOBAL--(-----variablename-------+---+---+-------------->

           (2)
>--+-value----------+--+---+-----------------------------------><
   |           (3)  |  '-)-'
   '-&variable------'

Notes:
  1. Identifies the global variable to which a value is assigned.
  2. The character string that makes up the content of the global variable. A value that contains blank characters must be surrounded with delimiters. Valid delimiters for a global value are single quotes, parentheses, and double quotes. When the delimters are double quotes, the double quotes are included as part of the global variable.
  3. A global variable name which contains the content of the global variable.
varname=value
Assigns a value to a variable name.

For example, to set a global variable called DEPT, issue the following command:

For more information about the SET GLOBAL command, see QMF Reference .

When you define a global variable, it remains defined until you reset the variable or end your QMF session. For information about using the RESET GLOBAL command, see QMF Reference.

[ Previous Page | Next Page | Contents | Index ]