Configuring database

About this task

To configure database, do the following steps:

  1. Create the database and database tables in DB2® for the sample:
    1. Locate the createTable.ddl script file. You can find the scripts in the following path:<toolkit_root>/samples/BTTJumpStartSampleRCPClient.zip/BTTJumpStartSampleRCPClient/DB2_setup/.
    2. Exact the DB2_setup folder to a folder, for example:
      <toolkit_root>/samples/DB2_setup
      .
    3. From a DB2 command window prompt, use the cd command to go to the directory: <toolkit_root>/samples/DB2_setup.
    4. Create database and database tables, using the following commands: db2 -tvf createTable.ddl.
  2. Import the data to the database, using the commands:importData.bat.