The sql.ini file contains information about the network locations of servers. Open Client and Open Server use sql.ini as a limited-function directory service. sql.ini also serves as a default if an external directory service fails. By default, Open Client and Open Server products look for sql.ini in the %SYBASE%\ini directory.
Open Client uses the network information provided by the query line of a sql.ini file entry to connect to the server.
Open Server uses the network information provided by the master line of a sql.ini file entry to listen for client connection requests.
An application can specify a different location for Open Client and Open Server products to look for sql.ini. See ct_config in the Open Client Client-Library/C Reference Manual and srv_props in the Open Server Server-Library/C Reference Manual for more information.Use dsedit to edit sql.ini. See Chapter 8, “Using dsedit,” for instructions about using dsedit.