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 Import data in QMF

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
perez_a

New User


Joined: 02 Feb 2006
Posts: 25
Location: Italy

PostPosted: Tue Aug 07, 2007 2:38 pm    Post subject: How to Import data in QMF
Reply with quote

Hi friends,
can anyone help me.
I need to "import data" in qmf, but I don't know the syntax.
regards Alex
Back to top
View user's profile Send private message

dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6968
Location: porcelain throne

PostPosted: Tue Aug 07, 2007 3:07 pm    Post subject:
Reply with quote

Here is a link to the DB2 Vsn 9.1 Libarary. On the left side you will see QMF.
Back to top
View user's profile Send private message
Dingu

New User


Joined: 06 Jul 2007
Posts: 10
Location: Chentrappinni

PostPosted: Tue Aug 07, 2007 3:09 pm    Post subject:
Reply with quote

I hope you are asking about export data from a table and then importing the same to another table.

import table <tablename> from <export dsname>(action=append)

If you are not able to type this in commandline you could go to the proc option and then issue this command.
You can export the query results using the command
export data to <exportds name>

Thanks,
Prajesh
Back to top
View user's profile Send private message
hariibm

New User


Joined: 05 Feb 2007
Posts: 61
Location: Chennai

PostPosted: Tue Aug 07, 2007 3:55 pm    Post subject: Re: How to Import data in QMF
Reply with quote

Hi Prajesh,

Do you mean to say that a table can be loaded with the data from a dataset which is an unload of another table? Is that possible through QMF?

Please explain me as I have no idea of this feature..

And what if the table structure changes?

Hari.
Back to top
View user's profile Send private message
Prajesh_v_p

Active User


Joined: 24 May 2006
Posts: 133
Location: India

PostPosted: Tue Aug 07, 2007 5:17 pm    Post subject:
Reply with quote

Hari...

Table structure should match.. If you want to copy a few record from a test region region to other..This is really helpful.

It actually looks at the QMF header added by the export utility(at the time of export) to map the data to the tables. So this should map with the table you are going to load the data.

May be our experts can add more details..

Thanks,
Prajesh
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 Question related to Data dictionary f... rexx77 SYNCSORT 3 Thu Aug 31, 2017 7:23 am
No new posts Extract Data till prev hour balaji81_k DB2 16 Fri Aug 25, 2017 9:25 pm
No new posts FTP data transfer from PC to Mainfram... AJAYREDDY All Other Mainframe Topics 8 Wed Aug 23, 2017 9:59 pm
No new posts Unable to copy data from spool in a d... srikant314 JCL & VSAM 8 Fri Jul 28, 2017 9:10 pm
No new posts Paasing symbolic parameter to instrea... Robert Sample JCL & VSAM 2 Thu Jul 27, 2017 1:22 pm

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