Response files contain values that are used to answer questions during the installation process that you would normally answer. You should use a response file to uninstall a DB2® product, feature, or language if you are uninstalling from multiple machines that have identical DB2 images.
Before you begin the uninstallation, ensure that you have all the required user accounts to perform the uninstallation.
To silently uninstall DB2 products, features, or languages in a DB2 copy, use the db2unins command with the -u parameter.
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 parameter, 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: