MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Use of LOG in LOAD utility

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database
View previous topic :: View next topic  
Author Message
kingo1984
Beginner


Joined: 24 Jan 2007
Posts: 1
Topics: 1

PostPosted: Thu Jan 25, 2007 1:00 am    Post subject: Use of LOG in LOAD utility Reply with quote

Hi,
I liked to know or can anyone explain me why we use LOG NO or YES
in the LOAD utility.
Back to top
View user's profile Send private message Send e-mail
hareshh
Beginner


Joined: 13 Dec 2006
Posts: 16
Topics: 0

PostPosted: Thu Jan 25, 2007 3:36 am    Post subject: Reply with quote

Hi kingo1984,

Please check link:

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/dsnugh13/2.12.2.4.10?SHELF=&DT=20020826194002&CASE=

Regards,
Haresh
Back to top
View user's profile Send private message
CZerfas
Intermediate


Joined: 31 Jan 2003
Posts: 211
Topics: 8

PostPosted: Thu Jan 25, 2007 9:51 am    Post subject: Reply with quote

Besides LOBs, you have to answer the question: Do I want to be able to recover this tablespace which DB2 utilities?

If yes, you have to use LOG YES in the Load statement and pay an extra CPU/IO price for that, or you use LOG NO and start an imagecopy utility directly after the load or use the implicit imagecopy capability of the load utility.

If no, you have to be able to build the table data from scratch.

regards
Christian
Back to top
View user's profile Send private message
kingo
Intermediate


Joined: 01 Sep 2006
Posts: 167
Topics: 40
Location: chennai

PostPosted: Wed Feb 07, 2007 6:05 am    Post subject: Reply with quote

I have one more question so what does this LOG info contain?
For example
If i have run a LOAD utility to insert some 100000 recs does it contain LOG info of each and every record?

Thanks,
Kingo
_________________
IF YOU ARE NOT FOCUSSED ON GOAL ALL YOU SEE IS OBSTACLE.
Back to top
View user's profile Send private message Yahoo Messenger
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Wed Feb 07, 2007 6:30 am    Post subject: Reply with quote

kingo,

LOG Tells whether logging is to occur during the RELOAD phase of the load process. YES Specifies normal logging during the load process. All records loaded are logged.

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
kingo
Intermediate


Joined: 01 Sep 2006
Posts: 167
Topics: 40
Location: chennai

PostPosted: Wed Feb 07, 2007 7:36 am    Post subject: Reply with quote

Can we give LOG NO with both REPLACE and RESUME ?


Regds,
Kingo
_________________
IF YOU ARE NOT FOCUSSED ON GOAL ALL YOU SEE IS OBSTACLE.
Back to top
View user's profile Send private message Yahoo Messenger
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Wed Feb 07, 2007 8:52 am    Post subject: Reply with quote

kingo wrote:
Can we give LOG NO with both REPLACE and RESUME ?


Regds,
Kingo


Yes you Can

Also check this link which explains all the Options that can be used

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DSNUGH13/2.12.1.2?SHELF=&DT=20020826194002&CASE=



Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
kingo
Intermediate


Joined: 01 Sep 2006
Posts: 167
Topics: 40
Location: chennai

PostPosted: Wed Feb 07, 2007 9:20 am    Post subject: Reply with quote

Thanks Kolusu Very Happy

Regds,
Kingo
_________________
IF YOU ARE NOT FOCUSSED ON GOAL ALL YOU SEE IS OBSTACLE.
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group