If I run the DB2 LOAD utility LOG NO REPLACE is all the data externalised to DASD immediatley ? I.e. if I ran DSN1COPY against the underlying VSAM dataset immediately (without stopping pageset) would all rows be copied ?
Software/Hardware used:
ASKED:
March 5, 2008 4:59 PM
UPDATED:
December 7, 2009 7:16 PM
what is the use of COPYPEND in the below SYSIN
LOAD DATA RESUME YES LOG NO NOCOPYPEND
CAN ANYONE PLEASE LET ME KNOW
NOCOPYPEND is used to eliminate the copy pending status which gets set on the tablespace because of use of LOG NO in the SYSIN defination.
but remember, when you specify NOCOPYPEND you are assuming absolute responsibility for the recoverablity of the data.
One of DB2′s priorities is to protect the data, that is to ensure the data is recoverable. When you turn off the copy pending flag, YOU are now responsible. Not DB2.
Go ahead and use NOCOPYPEND, but please understand the (possible) ramifications.
Steve