473,603 Members | 2,652 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 2446
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
2752
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
2653
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
1561
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
2391
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
1714
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
1529
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
8781
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
1535
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
3439
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
7997
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
7929
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
8419
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...
1
8065
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
6737
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...
1
5882
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5441
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
3954
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1522
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.