By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,334 Members | 1,328 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,334 IT Pros & Developers. It's quick & easy.

Create DB2 LOGS

P: n/a
Hi!

Is there a command that I can issue to create transaction logs prior to
connecting to the database? The connect itself can be a lengthy operation
if you have large transaction logs. :))

Best regards,
Kovi
--
-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
| In A World Without Fences Who Needs Gates? |
| Experience Linux. |
-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
Mar 21 '07 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Gregor Kovač wrote:
Hi!

Is there a command that I can issue to create transaction logs prior to
connecting to the database? The connect itself can be a lengthy operation
if you have large transaction logs. :))
Would the ACTIVATE DATABASE command be the right thing for you?

--
Knut Stolze
DB2 z/OS Utilities Development
IBM Germany
Mar 21 '07 #2

P: n/a
Knut Stolze wrote:
Gregor Kovač wrote:
>Hi!

Is there a command that I can issue to create transaction logs prior to
connecting to the database? The connect itself can be a lengthy operation
if you have large transaction logs. :))

Would the ACTIVATE DATABASE command be the right thing for you?
Yes, it does sound promising. :)
If it also creates transaction logs if I issue ACTIVATE DATABASE right after
RESTORE then it is the right thing.

Best regards,
Kovi
--
-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
| In A World Without Fences Who Needs Gates? |
| Experience Linux. |
-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
Mar 21 '07 #3

P: n/a
Gregor Kovač wrote:
Knut Stolze wrote:
>Gregor Kovač wrote:
>>Hi!

Is there a command that I can issue to create transaction logs prior to
connecting to the database? The connect itself can be a lengthy
operation if you have large transaction logs. :))

Would the ACTIVATE DATABASE command be the right thing for you?

Yes, it does sound promising. :)
If it also creates transaction logs if I issue ACTIVATE DATABASE right
after RESTORE then it is the right thing.
Yes, it does. ACTIVATE pretty much does everything explicitly what is done
implicitly during the first connect to the database.

--
Knut Stolze
DB2 z/OS Utilities Development
IBM Germany
Mar 21 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.