How Adaptive Server determines which directory service entry to use

Adaptive Server uses directory services to determine the address at which it should listen for clients. When you start Adaptive Server, it performs the following steps:

  1. It looks for the server name supplied in the command line -s option. If the server name is not supplied in the command line:

  2. It determines its own name by checking the value of the DSLISTEN environment variable. If the DSLISTEN environment variable is not set, then it assumes that the server name is SYBASE.

  3. Looks in directory services for an entry whose name matches the name found in the steps above.

  4. It uses the network information provided by the directory services entry it has found to listen for client connections.