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

Active User


Joined: 31 Oct 2006
Posts: 131
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: 3051
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 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
No new posts JCL EXEC PARM data in C Java & MQSeries 2
Search our Forums:

Back to Top