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
 

 

Transfering selected records from VSAM file to a DB2 table.

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

New User


Joined: 07 Mar 2006
Posts: 16

PostPosted: Fri Mar 17, 2006 11:24 am    Post subject: Transfering selected records from VSAM file to a DB2 table.
Reply with quote

Hi folks,

I have a technical issue over here with me.

I am extracting the records (about 18 million records) from a VSAM file and loading it into a DB2 table.

On the very next day some of the records (say 1 million records) in the VSAM file are getting changed/updated. Now, I want to load only these changed records from VSAM file to the same DB2 table and not all the 18 million records. So what kind of DB2 utility I need to use for that...please throw ur suggestions
Back to top
View user's profile Send private message

ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Fri Mar 17, 2006 5:34 pm    Post subject:
Reply with quote

I think you can use the LOAD utility without the REPLACE keyword. The LOAD utility is documented in the fine manual.

O.
Back to top
View user's profile Send private message
martin9

Active User


Joined: 01 Mar 2006
Posts: 288
Location: Basel, Switzerland

PostPosted: Fri Mar 17, 2006 6:24 pm    Post subject:
Reply with quote

hy nitinkhobragade1,

at the end you want only the changed records,
or those from the day before and the changed records.
if you want only the changed records, then do it the
same way as for the 18million records the day before.

with the LOAD utility this is the fastest way to insert records...

martin9
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 Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts Check if any Detail records and extra... V S Amarendra Reddy SYNCSORT 19 Mon May 08, 2017 8:54 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am
No new posts File processing vishwakotin Mainframe Interview Questions 9 Fri Apr 28, 2017 11:38 am


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