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

New User

Joined: 31 Oct 2006
Posts: 94
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: 2884
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 how to update an ISR appl var from an... TSO/ISPF 8
No new posts pass data as symbolic parameter from ... CLIST & REXX 2
No new posts How to display the leading zeros of a... DB2 5
No new posts Library member auto insert option TSO/ISPF 3
No new posts Decompress data from JMR log file Compuware & Other Tools 4
Search our Forums:

Back to Top