I am running Sybase 5.0 I have a application made in power builder that has to access the database. I need to check to see if the database engine is running. If it is not i want to exit my application. The problem is every time I try to connect to the server though the client(using dbclient.exe for the odbc) I get a message window that pops up asking for a user name a password. Does anyone know how I can prevent this window from appearing or test to see if the database server is running before the window appears.