You can set and delete global variables from the QMF command line by using these commands:
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 (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.