You can use substitution variables in &proclis and procedures with logic, just as you can in queries.
A substitution variable is any variable that you can use in a QMF command; QMF manages these variables for you. A substitution variable is always preceded by an ampersand (&).
You can supply a value for a variable in the following ways: