Solved

Get list of Sybase servers

Posted on 2007-04-05
4
1,316 Views
Last Modified: 2012-05-05
I have a Windows Application which has to list down all the Sybase database servers in the network. Please tell me how can I get the list of all the sybase instances in the network.
0
Comment
Question by:mahanatti
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 19

Accepted Solution

by:
grant300 earned 25 total points
ID: 18868555
You cannot get them out of thin air.  Sybase ASE does not broadcast it's existence so there is no way to discover them.

Sybase Open Client (what you will be using even if you have an ODBC application), uses a configuration file that contains the address and port of each of the server you intend to connect to.  On windows, that file is called SQL.INI.  In the rest of the world it is called INTERFACES.

There is a tool in the Sybase windows client suite called DSEDIT that you can use to maintain the SQL.INI file.

Normally what you would do is create one master SQL.INI file with all of the servers in it then distribute that to every windows box.  You may be able to use a third part tool to create a unix-style link in windows (yes, NTFS supports it under the covers but, of course microsquish chose not to expose it in explorer or the command line) to the master SQL.INI file on a shared drive someplace.

Regards,
Bill
0
 
LVL 2

Assisted Solution

by:shakir77
shakir77 earned 25 total points
ID: 19032652
Try reading sybase server interface file which lists all the server ( if properly maintained by respective group)  - Rest all other methods are more of hacking - hence not even explaining

0

Featured Post

Enroll in June's Course of the Month

June’s Course of the Month is now available! Experts Exchange’s Premium Members, Team Accounts, and Qualified Experts have access to a complimentary course each month as part of their membership—an extra way to sharpen your skills and increase training.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
Learn why we support net neutrality and why the topic is important to all internet users.
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

690 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question