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: 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
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 Write out NODUPS but just from one file Jay Villaverde DFSORT/ICETOOL 8 Fri Jul 14, 2017 12:44 am
No new posts Loading data to table gives wrong for... Raghu navaikulam DB2 18 Thu Jul 13, 2017 2:11 pm
No new posts How to add header with Date(YYMMDD) i... Rajan Moorthy DFSORT/ICETOOL 2 Thu Jul 06, 2017 11:44 pm
No new posts How to generate a new unique Input fi... for1ranjith CLIST & REXX 11 Sat Jul 01, 2017 12:09 pm


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