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

Option to append the new records/data using Load utility?


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

New User


Joined: 30 Jan 2007
Posts: 10
Location: Hyderabad

PostPosted: Thu Apr 23, 2009 12:28 pm
Reply with quote

Hi,

i have a query:

While using DB2 load utility (DSNUTILB), what is the option to append the new records/data to already existing rows?

Thx
Back to top
View user's profile Send private message
srikanthkailasam

New User


Joined: 13 Nov 2006
Posts: 24
Location: Bengalooru

PostPosted: Thu Apr 23, 2009 10:30 pm
Reply with quote

In SYSPUNCH, give RESUME YES. This will add new rows to the DB without replacing the existing rows.
Code:
LOAD DATA REPLACE YES LOG NO INDDN SYSREC00 INTO TABLE COMPANY_NAME   
Back to top
View user's profile Send private message
sushanth bobby

Senior Member


Joined: 29 Jul 2008
Posts: 1020
Location: India

PostPosted: Fri Apr 24, 2009 12:25 am
Reply with quote

Tara,

As srikanth said with RESUME YES but not as in the code.
LOAD DATA RESUME YES INTO TABLEDSN8910.DEPT

Thank You,
Sushanth
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 save SYSLOG as text data via P... All Other Mainframe Topics 4
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
No new posts Store the data for fixed length COBOL Programming 1
No new posts Load new table with Old unload - DB2 DB2 6
Search our Forums:

Back to Top