Installing > Installing a Development Environment > Completing postinstallation configuration tasks > Creating a database on IBM DB2
Creating and configuring a DB2 database with scripts
Ant scripts are provided for creating and configuring a basic test database. They use the database properties from your Bootstrap.properties file.
Note: The db2_createdb.xml restart.db2 script restarts your DB2 system.
To create a database, issue the following commands:
ant -f %CURAMSDEJ%\util\db2_createdb.xml ant -f %CURAMSDEJ%\util\db2_postconfig.xml -Ddb2.dir=db2_directory ant -f %CURAMSDEJ%\util\db2_createdb.xml restart.db2 ant -f %CURAMSDEJ%\util\db2_optimizedbrecreation.xmlwhere db2_directory is the DB2 installation path. By default, c:\IBM\SQLLIB.
If you have any problems with creating the database, you can run the following script to drop the database and try again:
ant -f %CURAMSDEJ%\util\db2_createdb.xml dropdb
Error 404 - Not Found Error 404 - Not Found
The document you are looking for may have been removed or re-named. Please contact the web site owner for further assistance.