Keep the following guidelines in mind when you write procedures with logic:
"RUN QUERY MYQUERY (&&DEPT=38, ", "&&DIV='EASTERN'"
Because this statement is a QMF command that is split into two lines, both lines are enclosed in quotes. The continuation character is placed at the end of the first line, outside the quotes.
You cannot use a continuation character in a comment line, command keyword, or substitution variable name. You can use a continuation character in a substitution variable value, if you enclose the value in single quotes.
You can type comments between continuation lines.