MFRASHEED
Active User
Joined: 14 Jun 2005 Posts: 186 Location: USA
|
|
|
|
You can use proc in QMF to execute Queries and related Forms.
Example:
Code: |
SET PROFILE ( CONFIRM = NO )
RUN QUERY Q_TESTLIST ( FORM = F_TESTLIST)
PRINT REPORT ( WIDTH = 80 , PRINTER ' ' )
|
Here you need to save above proc as
SAVE PROC AS ProcName
And Query and form should be already available(saved).
To execute proc you would execute interactively just like a query, press PF2. Or you can execute proc in a JCL.
To list saved procs enter
[/code]
|
|