DB2 graphic QMF Version 8

Adding global variables in procedures

Follow these steps to add a global variable in a procedure:

  1. Create or open a procedure.
  2. Add global information to the procedure such as:
    SET GLOBAL(MY_GLOBAL=20
  3. Optional: Add multiple variables, such as:
  4. Type the following command as the last line in the procedure:
    RESET GLOBAL ALL

Editing a global variable

Click Edit to change the name or value of a user-defined global variable.

Deleting a global variable

Click Delete to remove a user-defined 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