The name of the global variable can be up to 17 characters long, and the length of the value must be 55 characters or less. The linear syntax for the SET GLOBAL command is as follows:
.-+---+------------------------. | '-,-' | V (1) .-=-. | >>-SET--GLOBAL--(-----variablename-------+---+---+--------------> (2) >--+-value----------+--+---+----------------------------------->< | (3) | '-)-' '-&variable------'
For example, to set a global variable called DEPT, issue the following command:
SET GLOBAL (DEPT=38
"SET GLOBAL (DEPT=38"
For more information about the SET GLOBAL command, see QMF Reference .
When you define a global variable, it remains defined until you reset the variable or end your QMF session. For information about using the RESET GLOBAL command, see QMF Reference.
[ Previous Page | Next Page | Contents | Index ]