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.
steven — — source: Usenet: comp.databases.informix
"Mark Denham" <mkdenham@comcast.net> wrote in message news:<bjr874$do4$1@terabinaries.xmission.com>...
> Looks like you have a programatic error.
>
> onstat -g ses 14 indicates:>
> > Sess SQL Current Iso Lock SQL ISAM F.E.
> > Id Stmt type Database Lvl Mode ERR ERR Vers
> > 14 - - - Not Wait -349 0 7.22
>
> The sql error is -349 which means "database not open". This error occurred
> when the insert statement was processed.
>
> I think you need to review your code.
>
> Mark
>
> sending to informix-list
Oh! thank you. The error is not in my code but in a config file, for
my code read the config file to know what database it should operate
on. After correct the db name spelling in the config, the program
performance well.
But it still keep confusing me that just a failed EXEC SQL DATABASE
command can pull the Informix so slow. :-(
-
steven@lczmsoft.com
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.