Siebel Marketing Guide > Initializing Siebel Marketing > Setting Up Target Group Segmentation on a UNIX Platform >

Setting Up Environment Variables for Target Group Segmentation


The Marketing administrator must setup and export environment variables on the machine that runs Siebel Server to allow Target Group Segmentation to work in a UNIX environment.

To set and export environment variables

  1. Install the Siebel Analytics client and identify the ODBC data source name (default is AnalyticsWeb) so that you can use this name in subsequent tasks.
  2. If Siebel Analytics is already installed, you can verify the ODBC data source name later in this section.

  3. Before starting the Siebel Server, source the siebenv.csh file to make sure that the Siebel environment variables are set.
  4. Siebenv.csh is in the [Siebel Server install directory]/siebsrvr subdirectory.

  5. Set and export the following environment variables:
    1. SIEBEL_UNIXUNICODE_DB=ORACLE
    2. The value of this variable must always be ORACLE, no matter what database you use.

      NOTE:  Setting the value to ORACLE makes sure that the Merant driver manager is loaded.

    3. SAID=[Siebel Analytics client install directory]
  6. Make sure that $SAID directory is included and correct in the library path using one of the following steps:
  7. LD_LIBRARY_PATH=$SAID/Bin:$SAID/odbc/lib:$LD_LIBRARY_PATH

    LIB_PATH=$SAID/Bin:$SAID/odbc/lib:$LIB_PATH

    SHLIB_PATH=$SAID/Bin:$SAID/odbc/lib:$SHLIB_PATH

  8. Execute the following command to make sure that the Analytics ODBC libraries are registered.
  9. regedit -c -s $SAID/setup/sa.reg

  10. Open the userodbc.reg file in the $SAID/setup directory and identify the ODBC data source name for Analytics.
  11. If you used the default ODBC data source name (AnalyticsWeb), the ODBC entry looks like the following statement:

    HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\[AnalyticsWeb]

  12. Execute the following command:
  13. regedit -c -s $SAID/setup/userodbc.reg

    This step allows Marketing to access the Analytics ODBC data source.

After completing this task, the Marketing administrator needs to configure the odbc.ini file. For instructions, see Configuring the Odbc.ini File for Target Group Segmentation.


 Siebel Marketing Guide 
 Published: 23 June 2003