Platform : Shell script & DB2 v9.1 , 9.5 , Linux A simple shell script that returns: database status instance status last backup The column headers are created :Server,Instance,Database,DB_Status,Lats_backup,instance_status The next line establishes a process exists for that instance , you may need to consider what value you use for $User on that line. That's what I'm using as the input for the instance name .If the process exists the instance is available The script iterates through all databases in a DB2 instance .A connect is created to derive value for last backup , then disconnect. The database status is... Read more →