DB2 graphic  QMF Version 8

Specifying values for variables on the RUN command

You can assign a value to a substitution variable by using the RUN command:

You enclose the variable value VACATION in single quotes because the value is a character string. Precede the variable with && to set the value on the RUN statement, or with & if the procedure prompts you for the value.

This value for the substitution variable is active only within the procedure that defines it. The value is not active in any procedure or module called from the defining procedure.

In the previous example, the value of &&TYPE is available only to the procedure that is called SCHEDULE.


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