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

how to save the output of the Query from QMF to a PS or PDS.


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
anandhi28

New User


Joined: 07 Mar 2005
Posts: 8
Location: Bangalore

PostPosted: Thu Jan 17, 2008 5:42 pm
Reply with quote

I have run a query in QMF and want to save the results of that query into a PS or PDS .. The Spufi option is not available for the production environment.
Back to top
View user's profile Send private message
raak

Active User


Joined: 23 May 2006
Posts: 166
Location: chennai

PostPosted: Thu Jan 17, 2008 5:51 pm
Reply with quote

EXPORT REPORT TO 'psname'
Back to top
View user's profile Send private message
Phrzby Phil

Senior Member


Joined: 31 Oct 2006
Posts: 1042
Location: Richmond, Virginia

PostPosted: Thu Jan 17, 2008 6:16 pm
Reply with quote

Most tools use F1 for Help. Try that before asking - you'll become the expert.

From QMF - F1 - (4)QMF Commands - (20)Export Command, the first page:

Code:
                           Help: EXPORT command                           
                                                          1   to 13  of 419
The EXPORT command sends:                                                 
                                                                           
o   Queries, forms, procedures, reports, and data from QMF temporary       
    storage to a TSO data set.                                             
o   Queries, forms, procedures, and tables from the database to a TSO data
    set.                                                                   
o   Charts from QMF to a GDDM partitioned data set that contains GDF files.
                                                                           
The syntax for exporting objects from QMF temporary storage is different   
from the syntax for exporting objects from the database.                   
                                                                           
+--- Export a QMF QUERY or PROC from temporary storage -------------------+
|                                                                         |
Back to top
View user's profile Send private message
Claudete Bertochi

New User


Joined: 20 Feb 2006
Posts: 1

PostPosted: Mon Jan 21, 2008 9:16 pm
Reply with quote

anandhi28 wrote:
I have run a query in QMF and want to save the results of that query into a PS or PDS .. The Spufi option is not available for the production environment.


Use EXPORT DATA TO 'XXXX.XXXX' to save the result of the query [/quote]
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 -> DB2

 


Similar Topics
Topic Forum Replies
No new posts TRIM everything from input, output co... DFSORT/ICETOOL 1
No new posts Sortjoin and Search for a String and ... DFSORT/ICETOOL 1
No new posts RC query -Time column CA Products 3
No new posts Joinkeys - 5 output files DFSORT/ICETOOL 7
No new posts OUTFIL with SAVE option DFSORT/ICETOOL 7
Search our Forums:

Back to Top