Setting the Environment
Use the following procedure to set the environment.
To set the environment
In a DOS window, navigate to the
siebel_server\BIN
directory.Run the siebenv.bat file.
Caution: If you do not run siebenv.bat, you might encounter the following error message: “Unable to start common api. Error in DATAExpStartApis function."Set the environment variables.
Note: Syndexp.exe will not detect nodes in a clustered environment successfully unless you manually set CLUSTER_NETWORK_NAME in either siebenv.bat or syndexp.bat.Refer to the command line arguments listed in the following table for multiple variables that are specific to the user environment. For more information on administering data extracts, see Siebel Remote and Replication Manager Administration Guide.
Note: Syndexp command line arguments are case sensitive. Also, arguments that contain path names or spaces should be enclosed in double quotes (“"
).Argument Meaning Comments /A
Create Attachment
Default: Y
/C
ODBC Data Source
Default Environment Variable: SIEBEL_DATA_SOURCE
/D
Siebel Table Owner
Required
/E
Extract Rule Name
Required
/F
File Server Directory
Default Environment Variable: SIEBEL_FSRV_ROOT.
This File System parameter can use the absolute path to the
\att
directory or the Universal Naming Convention (UNC).Examples:
-
syndexp /f "d:\Siebel\FS\att"
-
syndexp /f \\MACHINENAME\FS\att
/G
Group Code
Required
/L
Log File
Default: syndexp.log
/N
Repository Name
Default Environment Variable: SIEBEL_REPOSITORY
/P
Password
Required
/Q
Log Frequency
Default: -1
/R
Read Consistency
Default: N
/S
Use Sequence Number
Default: N
/T
Data File Type
Default: compressed
/U
Username
Required
/V
AppServer name
Required. This is the logical name of the Siebel Server (not the host name).
/X
Appserver Home Directory
Default Environment Variable: SIEBEL_HOME
-