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: 964
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 How to save expanded jcl's into one l... krishna417 CLIST & REXX 10 Thu Jul 27, 2017 2:45 pm
No new posts Read two inputs and write into output... murali.andaluri DFSORT/ICETOOL 6 Wed Jul 26, 2017 7:35 pm
No new posts How to add header with Date(YYMMDD) i... Rajan Moorthy DFSORT/ICETOOL 2 Thu Jul 06, 2017 11:44 pm
No new posts JES2 doesn't honor the priority of th... Aron Lendvai JCL & VSAM 8 Thu Jun 29, 2017 1:41 pm
No new posts Dynamic output file creation in cobol... smileheal COBOL Programming 7 Thu Jun 15, 2017 10:53 pm


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