Using QMF


Running a procedure

To run a procedure, on the QMF command line, enter:

RUN PROC procname

The QMF commands you specify in a linear procedure run in the order they appear in the procedure. The QMF commands you specify in a procedure with logic run in the order that is specified by the logic of the procedure.

If the QMF commands in the procedure run a query or display a query or form, they change the contents of the temporary storage areas DATA, FORM, or QUERY. This occurs just as if you entered each command separately on the QMF command line.

If an error occurs while a linear procedure is running, QMF stops running the procedure. The PROC panel displays the command that contains the error the top of the panel. The error message at the bottom of the screen provides information on correcting the error.

If an error occurs while a procedure with logic is running, the logic of the procedure determines when the procedure ends and what displays. For more information, see Using REXX error-handling instructions in procedures with logic.

If ISPF is available on your system, you can use the QMF batch application to run the procedure while you are doing other work at your terminal. For more information, see the QMF Reference, SC26-4716-05.


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