DB2 Version 9.7 for Linux, UNIX, and Windows

Response file installation using a batch file (Windows)

You can use a batch file to start a response file installation.

About this task

To start a response file installation using a batch file:

Procedure

  1. Edit or create your response file.
  2. 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%
    where /U specifies the location of the response file and echo %ERRORLEVEL% specifies that you want the batch process to display the installation return code.
  3. Run the batch file, using the ese.bat command issued from a command prompt.