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.
Neil Truby — — source: Informix-list mailing list archive (1991-1998)
aaa@bbb.ccc wrote:
> Is it possible to set up shell scripts to do this, or run these queries from
> the Unix command prompt.
>
$INFORMIXDIR/bin/dbaccess < tonyf.sql > tonyf.out
or
$INFORMIXDIR/bin/dbaccess > tonf.out << EOP
database db1;
select * from table1;EOP
Make sure that you have the Informix variables set appropriately; e.g.
$INOFMRIXSERVER, $ONCONFIG.
Neil
Your privacy choices
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.