Response file installation using a batch file (Windows)
You can use a batch file to start a response file installation.
To start a response file installation using a batch file:
- Edit or create your response file.
- Create your batch file using a text editor. For example, create a batch file called ese.bat with the following content to install Db2® Enterprise Server Edition:
c:\db2ese\setup /U c:\PROD_ESE.rsp echo %ERRORLEVEL%
/Uspecifies the location of the response file and
echo %ERRORLEVEL%specifies that you want the batch process to display the installation return code.
- Run the batch file, using the ese.bat command issued from a command prompt.