Creating Apache Derby tables for schedulers

This topic describes how to create tables for schedulers on Apache Derby databases, using data definition language (DDL) or structured query language (SQL) files.

Before you begin

This task requires you to configure a database and make it available. Refer to the Creating Cloudscape databases for schedulers topic, for more information.

About this task

To create tables for schedulers on Apache Derby databases, using data definition language (DDL) or structured query language (SQL) files, use these steps.

Procedure

  1. Open a command-line window.
  2. Create the schema.
    1. Using a text editor, edit the script, %app_server_root%\Scheduler\createSchemaMod1Derby.ddl, according to the instructions at the top of the file.
      Attention: When setting the table prefix, capitalize all characters.
    2. Enter one of the following commands.
      Attention: Apache Derby provides both an embedded and network server version. This example is for the embedded version of Apache Derby. See the Apache Derby product documentation for more details on running DDL scripts.
      On Windows® systems (using the example name, scheddb):
      %app_server_root%\derby\bin\embedded\ij.bat %app_server_root%\Scheduler\createSchemaMod1Derby.ddl
      On UNIX® systems (using the example name, scheddb):
      %app_server_root%/derby/bin/embedded/ij.sh %app_server_root%/Scheduler/createSchemaMod1Derby.ddl

Results

The Apache Derby tables and schema for the scheduler exist.



In this information ...


IBM Redbooks, demos, education, and more

(Index)

Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

Task topic Task topic    

Terms of Use | Feedback

Last updatedLast updated: Sep 19, 2011 5:16:49 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=matt&product=was-base-iseries&topic=tsch_cloudadmin
File name: tsch_cloudadmin.html