Siebel Data Warehouse Installation and Administration Guide > Installing and Configuring Siebel Data Warehouse >

Creating Siebel Stored Procedures for DB2-UDB


The DAC uses siebstat and siebtrun stored procedures when running ETL processes. Typically, these stored procedures will be available in your Siebel OLTP; they may not be available on the data warehouse database.

To verify the existence of these procedures, follow the steps below.

Creating stored procedures must be performed by the database administrator.

To create DB2 stored procedures

  1. Refer to folder SiebelAnalytics\dwdb\siebproc. It contains complied Siebel stored procedures for all platforms.
  2. Copy the stored procedures into the appropriate directory on the DB2 server side, for example, d:\Program Files\SQLLIB\function directory for Windows.

    If your DB2 environment is 32-bit, copy siebproc. If it is 64-biy, copy siebproc64 and rename it to siebproc.

    This directory also contains the files siebproc.sql and sqlproc.ksh file, which are used to create the function.

    Once these procedures are created, you can verify that they exist. After the test is complete, you can drop the table TEST_SIEBPROC.


 Siebel Data Warehouse Installation and Administration Guide
 Published: 11 March 2004