Working with procedures
A procedure is a set of commands that enable you to run queries, print reports, import and export data, as well as perform other functions.
Use the Procedure window to create, open, display, and run procedures. A procedure is a set of QMF procedure commands that enable you to run queries, print reports, import and export data, as well as perform other functions. Procedures can be saved in a repository, in a QMF catalog, or to a file. All commands issued through procedures are governed by your resource limits. Procedures can contain:
- any QMF procedure command
- comment lines
- blank lines
- RUN commands that run other procedures or queries
- substitution variables
Note:
- QMF supports legacy job files. You must convert the legacy job files before they can be run. For Windows operating systems, you can schedule converted job files to run using the Windows Scheduler. You can also run converted job files from the QMF for Workstation command line.
- QMF supports procedures with logic
(REXX procedures). Procedures with
logic include REXX language directives.
Users must have OBJECTREXX installed to run procedures with logic.Restriction: REXX procedures are not supported in QMF for Workstation.