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 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 copying data without knowing location arunsoods DFSORT/ICETOOL 6 Thu Jul 20, 2017 1:03 pm
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Loading data to table gives wrong for... Raghu navaikulam DB2 18 Thu Jul 13, 2017 2:11 pm
No new posts SQL - select data available in index Nileshkul DB2 3 Mon Jun 26, 2017 1:30 am
No new posts NDM syntax checking without actually ... GAPX1 All Other Mainframe Topics 0 Wed Jun 07, 2017 2:36 am


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