WAS v8.5 > Administer applications and their environment > Welcome to administering Scheduler service > Manage schedulers > Create the database for schedulers > Create scheduler tables using DDL files

Create Sybase tables for schedulers

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

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

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

  1. Open a command-line window.
  2. Make sure that we have administrator rights for the database system.
  3. Make sure that we have the Distributed Transaction Management (DTM) option for Sybase ASE installed.

    1. Set enable DTM to 1 in the Sybase server configuration.

    2. Set enable xact coordination to 1 in the Sybase server configuration.

    3. Add the dtm_tm_role role to the Sybase administration user ID. For example, enter the user ID sa.

    4. Restart the Sybase server.

  4. Use the Sybase isql utility to create a database. For example, enter the database name scheddb. See your Sybase product documentation for details.

  5. Create the schema:

    1. Using a text editor, edit the following script according to the instructions located at the top of the file.

      When setting the table prefix, capitalize all characters.

        app_server_root\Scheduler\createSchemaMod1Sybase12.ddl

    2. Enter the following command:

        isql -S <servername> -U <userid> -P <password> -D scheddb -i createSchemaMod1Sybase12.ddl


Results

The Sybase tables and schema for scheduler exist.


Related


Create Sybase databases for schedulers


Reference:

Data source minimum required settings, by vendor


+

Search Tips   |   Advanced Search