Is there a way to make dbaccess shut up?
Posted in 1996
Robert Walters — — source: Informix-list mailing list archive (1991-1998)
I'm working on a shell script (HP-UX & V7.2) and when I pipe
a query to dbaccess, I can't seem to turn off the messages
about connecting and disconnecting.
Is this possible.
For example:
echo " select t.tabname from systables t, sysdepend d
where t.tabid = d.dtabid
and d.dtype = 'V'
and d.btabid = (
select tabid from systables
where tabname = '$2')" |
dbaccess $1 > x.out
gives me a list of tables in x.out, but I get this junk
on the screen
Database selected.
No rows found.
Database closed.
Any idea how to get rid of this stuff?
Bob Walters walterba@norand.com