Creating Sybase tables for schedulers

Create tables for schedulers on Sybase 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 Sybase databases for schedulers topic for more information.

About this task

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

Procedure

  1. Open a command-line window.
  2. Make sure that you have administrator rights for the database system.
  3. Make sure that you 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 beginning of the file.
      Tip: 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.

Ícone que indica o tipo de tópico Tópico de Tarefa



Ícone de registro de data e hora Última atualização: July 9, 2016 8:00
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=tsch_sybaseadmin
Nome do arquivo: tsch_sybaseadmin.html