Re: Getting Database Name
Posted in 1994
Roger Meyers — — source: Informix-list mailing list archive (1991-1998)
} } J. David Schronce (david@cssnet.sanford.nc.us) wrote: } > Is their any way to get the current active databse name from inside a 4GL } > program in a RDS environment? I have a program that requires different } > actions dependent on the current active database name. I have the } > database name set as a unix environment variable. I guess if I can't } > read it directly from inside informix, I could try to read it from } > Unix... } > } An obvious solution in your case is to get it from the environment variable with a fgl_getenv() call... Roger Meyers -- roger@stratsoft.com Strategic Software Solutions