jdravk@speech2.cs.cmu.edu (Jeanette Dravk) (01/05/91)
The following code gets me a SYBECONN error from dbopen().  [i.e. "Unable to
connect: SQL Server is unavailable or does not exist."]  It's worked
before at my previous job but the first time I try it here it dies a gruesome
death.
Any ideas are sincerely welcome.
jeanette-
----
DBPROCESS	*dbp;
LOGINREC	*login;
main()
{
.
.
.
sybase_login();
.
.
.
}
int sybase_login()
{
	if (dbinit() == FAIL)
		return 0;
	dberrhandle(err_handler);
	dbmsghandle(msg_handler);
	login = dblogin();
	DBSETLUSER(login, "foo");
	DBSETLPWD(login, "foobar");
	dbp = dbopen(login,NULL);
	return(1);
}
[Where DSQUERY has already been set].
-- 
#*#*#*#*#*#	Transient Creature of the Wide, Wild World	#*#*#*#*#*#*#*
   "Time is not linear to me, it is a nebulous web of existential freedom."