Make an entry for the target server in sql.ini using dsedit.
Verify that there is an entry in sql.ini whose SERVERNAME element corresponds with the value of the DSQUERY environment variable.
See Chapter 8, “Using dsedit,” for information about adding information to sql.ini. See “The sql.ini file” for information about sql.ini.