def METHOD_NAME(self):
    # list installed sap dbs
    db_out = self.collect_cmd_output(
        "/usr/sap/hostctrl/exe/saphostctrl -function ListDatabases",
        suggest_filename="SAPDatabases"
    )
    if db_out['status'] != 0:
        return
    for line in db_out['output'].splitlines():
        if "Instance name" in line:
            fields = line.strip().split()
            dbadm = fields[2][:-1]
            dbtype = fields[8][:-1]
            sid = dbadm[3:].upper()
            if dbtype == 'db6':
                # IBM DB2
                self.add_cmd_output(
                    "su - %s -c \"db2 get dbm cfg\"" % dbadm,
                    suggest_filename="%s_%s_db2_info" % (sid, dbadm)
                )
            elif dbtype == 'sap':
                # SAP MAXDB
                sid = fields[2][:-1]
                self.add_copy_spec(
                    "/sapdb/%s/data/config/%s.pah" % (sid, sid)
                )
            elif dbtype == 'ora':
                # Oracle
                sid = fields[2][:-1]
                self.add_copy_spec("/oracle/%s/*/dbs/init.ora" % sid)
            elif dbtype == 'syb':
                # Sybase
                sid = fields[2][:-1]
                self.add_copy_spec("/sybase/%s/ASE*/%s.cfg" % (sid, sid))