Starting a DirectConnect server

In the past, you started a DirectConnect server using a command that used the direct executable itself. For example, the command, direct –Ssrvname, was the standard way to start an existing DirectConnect server. This method is still supported, but it has some limitations: For this command to work, all of the appropriate environment variables need to be set properly before the command is executed. Also, if multiple installations of DirectConnect exist on a single machine, each installation will need its own environment.

To provide some help with this, a batch file is provided with ECDA version 15.0 that sets the installation-specific variables before executing the direct –Ssrvname command. This script, called DCStart, requires that all the non-Sybase variables be set properly, and ensures that the environment variables that are specific to a ECDA installation are all correctly set.

To start a server, see “Starting the DirectConnect server” section in Chapter 4, “Installing DirectConnect Manager.”