Oninit:
 
Utility: listdb5.ec

Synopsis: Simple program that uses an undocumented library function to list all
	of the databases on an instance.  

Author(s): Art Taylor, updated by Art S. Kagel

Version(s) supported: 5.xx, 6.0x, 7.xx

Revision: 1.3

File(s): listdb5.ec

Comments: Note that the problems the previous version had with R7.xx databases
	has been resolved.  The code is now sufficiently dynamic to handle 
	larger servers which, it turns out, was the real problem.  The code 
	will now handle up to 500 databases, controlled by the #define DB_MAX. 

	FYI as of IDS Ver 7.30 and SDK 2.10 the library call which this uses
	has been documented in the ESQL/C manual and so this version has a
	future. 

Release Notes:
	Revision 1.3 cleans up the runtime interface, adds a usage option (-?) 
	and a Version option (-V) which includes copyright information.

View