multiple instances
Posted in 2003
Topics: General Discussion
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.
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