Installer 10.15 | Complete Installation and Upgrade Information for Software AG Products | Installing Software AG Products On Premises | Installing Products, Creating Database Components, and Connecting Products to Database Components | Installing Products Using Software AG Installer and Creating Database Components Using Database Component Configurator | Create Database Components Using Database Component Configurator | Examples | Pass Parameters to Database Component Configurator Using a Shell Script or Bat File
 
Pass Parameters to Database Component Configurator Using a Shell Script or Bat File
You can create a shell script or bat file that passes parameters, including passwords, to the Database Component Configurator.
This Linux shell script passes parameters to the Database Component Configurator:
% echo './bin/dbConfigurator.sh
--component "ISI" --action "drop" --version latest
--url "jdbc:wm:oracle://host:port;serviceName=name"
--user "user" --password "password"
--admin_user "admin_user" --admin_password "admin_password"
--dbms Oracle --dbname "name" --tablespacedir "c:\\app\\test"' > run-isi-drop.sh
% sh ./run-isi-drop.sh
This Windows bat file passes parameters to the Database Component Configurator:
c:\dir\>echo bin\dbConfigurator.bat
--component "ISI" --action "drop" --version latest
--url "jdbc:wm:oracle://host:port;serviceName=name"
--user "user" --password "password"
--admin_user "admin_user" --admin_password "admin_password"
--dbms Oracle --dbname "name" --tablespacedir "c:\\app\\test" > run-isi-drop.bat
c:\dir\>.\run-isi-drop.bat