![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Dear All Can I know how can I get the last backup status for a db2 database from the system tables..? Any SQl statement to get that details?? Regards Santhosh |
#3
| |||
| |||
|
|
list history command or if you are on V8 FP 9 and above, admin_list_hist table function Sathyaram Santhosh wrote: Dear All Can I know how can I get the last backup status for a db2 database from the system tables..? Any SQl statement to get that details?? Regards Santhosh |
#4
| |||
| |||
|
|
Dear Sir what about in FP 6? I have a installation with FP6.. Regards Santhosh Sathyaram Sannasi wrote: list history command or if you are on V8 FP 9 and above, admin_list_hist table function Sathyaram Santhosh wrote: Dear All Can I know how can I get the last backup status for a db2 database from the system tables..? Any SQl statement to get that details?? Regards Santhosh |
#5
| |||
| |||
|
|
Dear All Any help from anyone? I tried , could't able to findout SQL statements to get the back details from FP <9 |
#6
| |||
| |||
|
|
In article <1153359241.103471.308100 (AT) b28g2000cwb (DOT) googlegroups.com>, kollam68 (AT) yahoo (DOT) com says... Dear All Any help from anyone? I tried , could't able to findout SQL statements to get the back details from FP <9 You can't. You need to open a DB2 Command Window and issue the 'db2 list history' command or write a C program calling the needed API (db2HistoryOpenScan etc.). There's a sample in the SQLLIB\samples\C\dbhistfile.sqc |
#7
| |||
| |||
|
|
Dear Gert sir Thanks for the reply.. But could't able to see the dbhistfile.. My plan is to write a java program that runs from my desktop, connect to all our Db2 instances and then collect the backup information from all instances. Then email to our mail box. If I have the SQL stmt, I can do it in java.. That is why i ask this qn |
![]() |
| Thread Tools | |
| Display Modes | |
| |