Creating Apache Derby tables for schedulers

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 Apache Derby 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.
Task topic    

Terms and conditions for information centers | Feedback

Last updated: April 17, 2014 10:32 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=phil&product=was-express-iseries&topic=tsch_cloudadmin
File name: tsch_cloudadmin.html