IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to use proc in QMF ?


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
esaccy
Currently Banned

New User


Joined: 19 Feb 2005
Posts: 22

PostPosted: Wed Oct 25, 2006 5:36 pm
Reply with quote

How to use proc in QMF ?
Back to top
View user's profile Send private message
MFRASHEED

Active User


Joined: 14 Jun 2005
Posts: 186
Location: USA

PostPosted: Thu Oct 26, 2006 8:51 pm
Reply with quote

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]
Code:

LIST PROC
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Proc print in Mainframe All Other Mainframe Topics 4
No new posts trying to set return code in PROC JCL & VSAM 15
No new posts Execute DSNTEP2 in REXX which is call... CLIST & REXX 4
No new posts proc step return code to override in ... JCL & VSAM 3
No new posts Can we pass cobol pointer to cobol-db... DB2 4
Search our Forums:

Back to Top