Using QMF


Creating, changing, and deleting global variables using commands

You can set and delete global variables from the QMF command line by using these commands:

SET GLOBAL
Lets you create or change up to ten global variables.

For example, to set a new global variable JOBTYPE with the value SECRETARY, enter the following command on the QMF command line:

SET GLOBAL (JOBTYPE='SECRETARY'

In QMF Version 7.2, the SET GLOBAL command has been modified. It now can copy from another global value:

SET GLOBAL(Variablename = &Variablename

If you use linear syntax for the SET GLOBAL command, the maximum length of the value is 55 characters. If you use the extended syntax for this command, the maximum length is 32,768 characters. For more information on the extended syntax of the SET GLOBAL command, see Developing QMF Applications, SC26-4722-05.

RESET GLOBAL
Lets you delete some or all of your global variables. To delete a global variable, enter:
RESET GLOBAL (JOBTYPE

To delete all the global variables you created, enter:

RESET GLOBAL ALL

For full command syntax and other specific information on using QMF commands on global variables, see QMF Reference, SC26-4716-05.


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