You can assign a value to a substitution variable using the RUN command:
RUN PROC SCHEDULE (&&TYPE='VACATION'
"RUN PROC SCHEDULE (&&TYPE='VACATION'"
If you issue the QMF RUN command from within a PROC or QUERY panel, you do not need to specify the PROC or QUERY object types. RUN assumes these values when you invoke it from their respective panels.
The value of &TYPE is available only to the procedure called SCHEDULE.
In this example:
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.
[ Previous Page | Next Page | Contents | Index ]