Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Which system catalog view contains the backup information

Status
Not open for further replies.

ifxtechie

Technical User
Dec 22, 2000
127
US
Hi,
Can anybody pls tell me which system catalog view contains the backup information. I know by using the file-structure or file name this can be evaluated, but I want to extract from system catalog tables.
thanks in advance
Ifxtechie
 
Assume you mean the one that has details of all the image copies taken?

SYSIBM.SYSCOPY
 
My experience is DB2 v.7 OS390/ZOS. SYSIBM.SYSCOPY contains Image Copy rows. I use the following to list image copies.

SELECT DBNAME, TSNAME, DSNUM, ICTYPE, "TIMESTAMP", ICBACKUP
, DSNAME, HEX(START_RBA), SHRLEVEL, OTYPE
WHERE DBNAME LIKE '????????%'
AND TSNAME LIKE '????????%'
AND ICTYPE IN('F','I')
ORDER BY DBNAME, TSNAME, DSNUM, "TIMESTAMP" DESC
;

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top