Uninstalling databases in silent mode
Remove databases with the database wizard in silent mode.
Before you begin
Ensure that the wizard has created the response.properties file in the user_settings/lcWizard/response/dbWizard directory.
Note: To
create a response file, run the wizard in standard mode and specify
that you would like to create a response file. You can modify the
existing response file or create your own, using a text editor.
About this task
Procedure
-
(DB2® on Windows™ OS.) You must perform DB2® administration
tasks with full administrator privileges.
- Logged in as the instance owner, open a command prompt and change to the DB2® bin directory. For example: C:\Program Files\IBM\SQLLIB\BIN.
- Enter the following command: db2cwadmin.bat. This command opens the DB2® command line processor while also setting your DB2® privileges.
- From the command prompt, change to the directory where the wizard is located.
- Launch the wizard by running the following command:
- AIX®: ./dbWizard.sh -silent response_file
- Linux®: ./dbWizard.sh -silent response_file
- Microsoft® Windows®: dbWizard.bat -silent response_file
where response_file is the file path to the response file.Note: If the path to the response_file contains a space, this parameter must be enclosed in double quotation marks (").