Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 965
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 Subtract the ZD fields to provide neg... Balaryan DFSORT/ICETOOL 4 Wed Oct 11, 2017 10:51 pm
No new posts HEX value search in a DB2 query maxsubrat DB2 2 Wed Oct 04, 2017 3:04 pm
No new posts Where is output from PARM ABEXIT (SNA... packerm CA Products 3 Thu Sep 28, 2017 4:06 pm
No new posts Garbage on output file Hervey Martinez SYNCSORT 4 Wed Sep 27, 2017 12:50 am
No new posts it is possible output a SET value fro... Martylin JCL & VSAM 5 Fri Sep 22, 2017 7:08 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us