473,804 Members | 3,058 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2453
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/
5f030376568c951 5/2332888e7b4b481 3#2332888e7b4b4 813

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
2769
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 of a form which amongst other submit buttons has a one particular submit button that if checked will send the form data (using GET) to a script that will email all the checked members.
15
2676
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
1570
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 a certain values, otherwise the first must be NULL, it's impossible to use enum to do this! ----- Original Message ----- From: "Michael Brunson" <brunson@intercosmos.com> To: "Alex82" <alex_82@tin.it> Cc: <mysql@lists.mysql.com> Sent: Tuesday,...
1
2398
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 Clean up old log files before log destination gets filled Analyze tables and indexes for better performance Check tablespace usage
3
1723
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 date. Could someone please give me a few pointers on how to get started in solving this. I just read somewhere about cron jobs but I've never used them?
3
1540
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 application. Of course, the vendor says its a "Microsoft IIS" issue and tells us to reboot the server each day or kill the worker process for IIS. We're currently rebooting our server at 4 AM each night. This is a really lame idea, in my...
2
8805
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 do daily db2 check lists. The following colums i need in the daily check lists
1
1540
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
3465
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 have to made in my code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type"...
0
9569
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10558
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10318
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9130
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6844
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5503
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4277
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3802
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2975
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.