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

refresh data from production - update only option


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
jzhardy

New User


Joined: 31 Oct 2006
Posts: 89
Location: brisbane

PostPosted: Mon May 06, 2019 5:06 pm
Reply with quote

Is it possible to load an extract file (in DSNTIAUL format) as an update, rather than an insert ? My motivation for doing this is to gain efficiency by separating the inserts (which correspond to new records in production), from the updates. At the load stage, I want to insert all to cover the new records, and update only for updates (rather than implement the updates as delete / update).

or is there a utility that will recast the rows in the load file as SQL updates by reference to the catalogue ?
Back to top
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 2632
Location: NYC,USA

PostPosted: Thu May 16, 2019 9:45 pm
Reply with quote

If you have millions records and only few gets change everyday then try to find the Delta records by using DFSORT any other product at your site comparing current vs last dataset, write a program to use MERGE.
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 View GDG data which is copied from a ... JCL & VSAM 2
No new posts JCL (SET) variables in input stream data JCL & VSAM 0
No new posts Issues with outrec overlay while extr... SYNCSORT 7
No new posts compare two file to find position/dat... SYNCSORT 2
No new posts Secondary index error while loading d... IMS DB/DC 2
Search our Forums:

Back to Top