# File lib/dbd_db2/DB2.rb, line 138
    def ping
      begin
        stmt = execute("SELECT 1 FROM SYSCAT.TABLES")
        stmt.fetch
        stmt.finish
        return true
      rescue DBI::Error, DBI::Warning
        return false
      end 
    end