IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to Import data in QMF


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
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
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: 6966
Location: porcelain throne

PostPosted: Tue Aug 07, 2007 3:07 pm
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts How to save SYSLOG as text data via P... All Other Mainframe Topics 4
No new posts Store the data for fixed length COBOL Programming 1
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts SCOPE PENDING option -check data DB2 2
No new posts Check data with Exception Table DB2 0
Search our Forums:

Back to Top