Re: 4GL - Database Names
Posted in 1996
Appart from setting up another instance of the database (OnLine or SE?) your only option is to modify the programs. That's easy however, and I think it's described in the FAQ. Edward Bidinotto <bidinott@ucar.edu> wrote: :I am working in an environment where the programmers have hard-coded the :database name in their 4GL code. :We are running Informix 5.0 and I wanted to know how can I pass in a :different database name on the fly to override the hard-coded one that :currently exists in all their programs. :I'm sure there is a variable that can be read in or passed in to say :what database name I want. :The only other option is for the programmers to take this hard-coded :database name out of their 300+ programs. :Any suggestions would be appreciated. :Tks :Ed :-- :---------------------------------------------------------------------------- :Ed Bidinotto bidinott@ucar.edu Nils.Myklebust@idg.no NM Data AS, P.O.Box 9090 Gronland, N-0133 Oslo, Norway My opinions are those of my company The Informix FAQ is at http://www.iiug.org