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

Load Replace and Load Resume


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

New User


Joined: 18 Dec 2008
Posts: 24
Location: Newyork

PostPosted: Fri Dec 19, 2008 9:50 pm
Reply with quote

I have the below syntax for Load Replace.
LOAD DATA REPLACE
LOG NO
INDDN SYSREC00
INTO TABLE ABC.XYZ.

Can some one tell me what is the significance of LOG NO?

Also if I already have 100 records in the table and I want to continue loading it, will the below command work?
LOAD DATA RESUME
LOG NO
INDDN SYSREC00
INTO TABLE ABC.XYZ.
Back to top
View user's profile Send private message
shrinivasabharathi_b

New User


Joined: 04 Nov 2008
Posts: 11
Location: Chennai

PostPosted: Sat Dec 20, 2008 3:29 pm
Reply with quote

LOG - tells logging required during the reload phase,

and when you mention NO - no logging of records will happen during load process..

it sets copy pending restriction against the table space / partitions..
Back to top
View user's profile Send private message
shrinivasabharathi_b

New User


Joined: 04 Nov 2008
Posts: 11
Location: Chennai

PostPosted: Sat Dec 20, 2008 3:32 pm
Reply with quote

this might be useful for u .. I took it from DB2 util guide

RESUME
Tells whether records are to be loaded into an empty or non-empty table
space. For nonsegmented table spaces, space occupied by rows that have
been marked as deleted or by rows of dropped tables is not reused.
Attention: Specifying LOAD RESUME (rather than PART integer
RESUME) tells LOAD to drain the table space, which can inhibit concurrent
processing of separate partitions. If you want to process other partitions
concurrently, use “Into-table-spec” on page 176 to specify PART integer
RESUME.
NO
Loads records into an empty table space. If the table space is not
empty, and you have not used REPLACE, a message is issued and the
utility job step terminates with a job step condition code of 8.
For nonsegmented table spaces containing deleted rows or rows of
dropped tables, using the REPLACE keyword provides increased
efficiency.
The default is NO, unless you override it with PART integer RESUME
YES.
YES
Loads records into a non-empty table space. If the table space is
empty, a warning message is issued, but the table space is loaded.
Loading begins at the current end of data in the table space. Space
occupied by rows marked as deleted or by rows of dropped tables is
not reused.
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 Replace each space in cobol string wi... COBOL Programming 3
No new posts Load new table with Old unload - DB2 DB2 6
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts How to load to DB2 with column level ... DB2 6
No new posts REASON 00D70014 in load utility DB2 6
Search our Forums:

Back to Top