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: 6970
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 Moving a COMP-3 Variable to a Numeric... ajayachander COBOL Programming 2 Thu Dec 14, 2017 5:46 pm
No new posts Extract record for change in combinat... Trinadh DFSORT/ICETOOL 6 Thu Nov 23, 2017 3:32 pm
No new posts Fetching data from JHS as per the cur... arunsoods All Other Mainframe Topics 4 Wed Nov 22, 2017 1:54 pm
No new posts Extract Record using range of Data scorp_rahul23 DFSORT/ICETOOL 3 Wed Nov 15, 2017 11:54 pm
No new posts Updating data from one file to other!!! Vignesh Sid SYNCSORT 1 Mon Nov 06, 2017 2:42 pm

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