Creating Microsoft SQL Server tables for schedulers

This topic describes how to create tables for schedulers on Microsoft SQL Server 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. See the "Creating Microsoft SQL Server databases for schedulers" topic for more information.

About this task

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

Procedure

  1. Open a command-line window.
  2. Change to the directory where the configuration scripts for scheduler are located. This is the Scheduler subdirectory of the IBM WebSphere Application Server installation directory.
    [Windows] On Windows systems, enter:
    cd %app_server_root%\Scheduler
    [AIX HP-UX Solaris] On UNIX systems, enter:
    cd $app_server_root/Scheduler
  3. Use a text editor to edit the schema creation script, createSchemaMSSQL.sql, according to the instructions at the beginning of the file.
    Tip: When setting the table prefix, capitalize all characters.
  4. Create the schema:
    1. Verify that you have administrator rights for the database system. The user ID you use to create the schema must be the one that you configure WebSphere Application Server to use when accessing the database.
    2. Run the following script to create the schema (tables and views) :
      isql -S <servername> -U<userid> -P<password> -D<databaseName> -i<script name> 

Results

The Microsoft SQL Server tables and schema for 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    

Terms of Use | Feedback

Last updated: Aug 29, 2010 10:43:27 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=v602web&product=was-nd-mp&topic=tsch_microadmin
File name: tsch_microadmin.html