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.
How do I switch between instances in Informix? I'd like to look at
things in one instance, then be able to switch and use another
instance. How do I do this?
Norm
web_djs wrote:
>How do I switch between instances in Informix? I'd like to look at
>things in one instance, then be able to switch and use another
>instance. How do I do this?
>
> Norm
>
>
By assigning a new value to INFORMIXSERVER variable.
↪ replying to web_djs
Art S. Kagel — — source: Usenet: comp.databases.informix
On Tue, 17 Jun 2003 16:16:28 -0400, web_djs wrote:
> How do I switch between instances in Informix? I'd like to look at
> things in one instance, then be able to switch and use another instance.
> How do I do this?
>
> Norm
Live during a session? Or from session to session?
The former can be accomplished using CONNECT TO and SET CONNECTION. The
latter by changing INFORMIXSERVER between sessions. You can see an
example of using multiple connections in my dostats and dbcopy utilities
(in the package utils2_ak available for download from the IIUG Software
Repository).
Art S. Kagel
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.