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

DB2 DAILY CHECK LISTS SCRIPT

P: n/a
VSH
Dear Friends

First i like to introduce myself. I am satish working as Oracle and Ms-SQL
DBA from last 4yrs.

My compnay recently introduced DB2 Database in one of our projects.

I installed DB2 8.1 successfully.

I have some doubts in DB2 Can any one of you pls provide the following
outputs.

1. Is there any select statement or any table to see the instance status.

2. Select statement or any table to see Database Status

3. Database backup status whether it is successful or not.

4. Is there any select statment to see list of all archive log files.

5. pls provide any sample script where i can execute all above commands in
one script.

I need to prepare checklists like as follows

Instance Name
Instance Status
Database Name
Database Status
Backup Startup
Backup Endtime

Appreciate your help

cheers

satish

Apr 30 '06 #1
Share this Question
Share on Google+
3 Replies


P: n/a
VSH wrote:
Dear Friends

First i like to introduce myself. I am satish working as Oracle and Ms-SQL
DBA from last 4yrs.

My compnay recently introduced DB2 Database in one of our projects.

I installed DB2 8.1 successfully.

I have some doubts in DB2 Can any one of you pls provide the following
outputs.

1. Is there any select statement or any table to see the instance status.

2. Select statement or any table to see Database Status

3. Database backup status whether it is successful or not.

4. Is there any select statment to see list of all archive log files.

5. pls provide any sample script where i can execute all above commands in
one script.

I need to prepare checklists like as follows

Instance Name
Instance Status
Database Name
Database Status
Backup Startup
Backup Endtime

DB2 provides a lot of admin table functions.
For example:
http://publib.boulder.ibm.com/infoce...n/r0012548.htm
You can also get the DB and DBM configuration.
Just check the list of table functions in the SQL Ref.
Make sure you're on Db2 V8.1.9 (aka V8.2.2) or higher to get the full
benefit.

Cheers
Serge
--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab
Apr 30 '06 #2

P: n/a
VSH wrote:
Dear Friends
[snip]
I need to prepare checklists like as follows

Instance Name
Instance Status
Database Name
Database Status
Backup Startup
Backup Endtime

Appreciate your help

cheers

satish


Didn't you ask this same question a week or so ago? Yup, here we go:

http://groups.google.com/group/comp....se_frm/thread/
5f030376568c9515/2332888e7b4b4813#2332888e7b4b4813

Was there something wrong / incomplete with the two responses you
received? If so, please elaborate and explain what was missing.
Dave.
--

Apr 30 '06 #3

P: n/a
VSH
Thank you friends. Very usable information

cheers

satish

May 3 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.