Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Obnoxio The Clown — — source: Informix-list mailing list archive (1991-1998)
>Is there a command line syntax I could use to list all databases in a
>dbspace?
>
>I can test the existence of a specific database by attempting to open
>the database with a sql statement, but I want to display a list of all
>databases in the current instance of the engine.
>
>Any ideas?
With IDS, you can say:
DATABASE sysmaster;
select name
FROM sysdatabases;
For OnLine 5 there are C or ESQL/C programs at http://www.iiug.org
With SE, you have to trawl through your DBPATH and list all the .dbs
directories.
HTH.
Get Your Private, Free Email at http://www.hotmail.com
Your privacy choices
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.