Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
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    Post subject: how to save the output of the Query from QMF to a PS or PDS.
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    Post subject:
Reply with quote

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

Active Member


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

PostPosted: Thu Jan 17, 2008 6:16 pm    Post subject:
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    Post subject: Re: how to save the output of the Query from QMF to a PS or
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    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Join in SQL Query vickey_dw DB2 2 Tue Jan 17, 2017 12:15 am
No new posts Incorrect output when trying to add n... monica1 PL/I & Assembler 10 Fri Jan 13, 2017 5:02 pm
This topic is locked: you cannot edit posts or make replies. MQ setup query mohitsaini Java & MQSeries 4 Sun Jan 08, 2017 1:53 am
No new posts DB2 query Using Recursion, Converting... smilewithashu2 DB2 1 Tue Jan 03, 2017 12:50 pm
No new posts SQL query to run through list of valu... Ni3-db2 DB2 14 Wed Dec 14, 2016 9:52 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us