You can create two types of procedures to run QMF commands. Create a linear procedure to run a series of QMF commands. Create a procedure with logic to run a series of QMF commands under program control. The commands are run based on REXX logic you add to the procedure.
Use linear procedures if you are using QMF in the CICS environment. If you are using QMF in the CMS or TSO environments, you can also use REXX statements and functions to create procedures with logic.
You can also build procedures that include QMF objects and commands in a Windows environment supported by the DB2 QMF for Windows feature. You build these procedures by using simple Windows application macro languages and application building toolkits. These include nearly all Windows suites, applications, and development environments today. See Appendix C. The DB2 QMF High Performance Option for more information.