Running the setup script with command line options

The setupGSDB script lets you provide information on the command line to reduce the number of prompts from the script.

Procedure

From a command line, run the script for your operating system.
Operating system script
Windows setupGSDB.bat
UNIX setupGSDB.sh
You can run the setupGSDB scripts with the following options:
-createdb
Creates the database. This option drops any existing database with the same name. It creates the required bufferpool and table space.
-database
Specifies the name of the database. This value overrides the default value of GDSB.
-userid administration_user_ID
Specifies the name of the DB2 administrator user ID that is used to create the database.
-password administration_user_ID
Specifies the password for the DB2 administrator user ID.
-noprompt
Indicates that no prompts will display. This option runs the script in silent mode. Any missing information causes the script to fail.


Feedback | Information roadmap