Using QMF

Specifying values for variables using global variables

You can specify values for substitution variables by defining global variables with the SET GLOBAL command. A global variable keeps its value until you reset it, or until you end the QMF session.

For example, to set a global variable value for the &DEPARTMENT variable, enter:

SET GLOBAL (DEPARTMENT=38

You can specify up to 10 variable values. Separate the values with commas or with blanks.

You can use the SET GLOBAL command to prompt for all the values in your procedure at the same time, as in the following example:

"SET GLOBAL (LASTNAME=&LASTNAME,DEPT_NUM=&DEPT_NUM";


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