DB2 graphic QMF Version 8

Updating the registry

You can create global variables for the current work session. These are known as user-defined variables. These variables are lost when you close QMF for Windows because the variables are session variables.

Follow these steps to retain user-defined global variables:

  1. Open the Windows Registry.
  2. Go to the following location in the registry:
        HKEY_CURRENT_USER\SOFTWARE\IBM\RDBI\Options
  3. Select Edit--> New--> DWORD Value.
  4. Label the DWORD, SaveGlobals.
  5. Type a 1 for the SaveGlobals global variable.

    The user-defined variables will be retained between sessions.

After you update the registry, the global variables that you create will be stored in the Windows Registry and will be kept from one instance to another.

You can add your own global variables manually or during a procedure.

Note:
You cannot add a global variable with a DSQ prefix because these global variables are pre-loaded with QMF for Windows.

Also, you cannot change the value of a global variable with a DSQAO prefix.


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