If you have DB2 products installed in various installation paths, you must run this command separately from each installation path. Sample response file, db2un.rsp, is in DB2DIR\install, where DB2DIR specifies the path where the DB2 product was installed.
If you have a clustered environment, before uninstalling your DB2 product you must run the db2mscs command, with the -u option, from the same server that originally ran the db2mscs command to create the failover infrastructure. For details, see the db2mscs command.
To perform an uninstallation: