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 Problem reading GTF trace output danik56 ABENDS & Debugging 7 Thu Mar 16, 2017 1:02 pm
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm
No new posts JCL to Set Return code based on DB2 S... vinu78 DB2 17 Mon Mar 13, 2017 9:47 pm
No new posts How to get current date -1 and curren... murali.andaluri DFSORT/ICETOOL 3 Wed Mar 08, 2017 2:09 pm
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm


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