473,387 Members | 1,745 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

DB2 DAILY CHECK LISTS SCRIPT

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
3 2437
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
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
VSH
Thank you friends. Very usable information

cheers

satish

May 3 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

17
by: Dave Smithz | last post by:
Hi there, A PHP application I built has a section which lists a number of members to a club whose names each appear with a check box beside them that can be ticked. These check boxes are part...
15
by: Xah Lee | last post by:
Here's the belated Java solution. import java.util.List; import java.util.ArrayList; import java.lang.Math; class math { public static List range(double n) { return range(1,n,1); }
0
by: Alex82 | last post by:
I can't use it....for example i have to create a column that accept values between 1 to 120...i can't enumerate all of them....or i have to accept a value different from NULL if an other column has...
1
by: Frank | last post by:
Coming from Oracle background: How do you carry thiese admin tasks in SQL 2000 Environment : Check instance availability Check listener availability Check alert log files for error messages...
3
by: braders00 | last post by:
Dear All, I would like to run a script on a daily basis that queries a DATE field in one of my tables. I want to do this to establish the age of my table entry by comparing with the current...
3
by: dm1608 | last post by:
I have an Ecommerce application that uses mostly ASP and a bit of ASP.NET. Monitoring the servers memory via SNMP every 5 minutes would indicate that there is a memory leak somewhere within the...
2
by: V_S_H_Satish | last post by:
Dear Friends I am working as oracle and ms sql dba from last 4 years. My company recently migrated to DB2 databases. So i am very much new to db2 database Can any one pls provide script to...
1
by: Papajo | last post by:
Hi Does anyone have a script or tutorial on sending out a daily email at the same time each day to the same email addy, it would be sending a report. Thanks for any help. Joe
1
by: swethak | last post by:
hi, i have a code to disply the calendar and add events to that. It works fine.But my requirement is to i have to disply a weekly and daily calendar.Any body plz suggest that what modifications i...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.