DB2 graphic  QMF Version 8

SET GLOBAL

TSO With ISPF TSO Without ISPF CMS With ISPF CMS Without ISPF CICS
X X X X X

The SET GLOBAL command assigns values to global variables from the QMF command line, from a procedure, or through the callable interface. You can define up to ten substitution variables from the QMF command line or in a procedure. In the callable interface, the number of variables is limited only by your environment, and the exact syntax of the command depends on the language used.

Read syntax diagramSkip visual syntax diagramLinear syntax used with REXX only

                  .-+---+------------------------.
                  | '-,-'                        |
                  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. When a SET GLOBAL command is entered from a linear proc and the variable value spans multiple lines, the value must be enclosed in quotes and a continuation character (+) must be used in the first position of each line. When the delimiters are double quotes, the double quotes are included as part of the global variable value. Parentheses cannot be used as a delimiter when spanning multiple lines. A value that contains blank characters must be surrounded with delimiters. Valid delimiters for a global variable value are single quotes, parentheses, and double quotes. When the delimiters 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.


Go to the previous page Go to the next page

Downloads | Library | Support | Support Policy | Terms of use | Feedback
Copyright IBM Corporation 1982,2004 Copyright IBM Corporation 1982, 2004
timestamp Last updated: March, 2004