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
 
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: 290
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 Update table without cursor Ron Klop DB2 3 Wed Oct 11, 2017 1:06 pm
No new posts Table(Unicode(Graphic) table) loading... muralikrishnan_new DB2 0 Thu Oct 05, 2017 5:10 pm
No new posts sort records based on length exceeds ... maxsubrat DFSORT/ICETOOL 7 Wed Oct 04, 2017 4:48 pm
No new posts Addition of two records on 2 fields amar143 SYNCSORT 8 Tue Oct 03, 2017 11:14 am
No new posts Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am

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