Re: How to tbstat ??
Posted in 1994
On 8 Dec 1994 pss@kpdp wrote: > I would like to get the status of an online from within a C program. > > Instead of having to do a popen("tbstat -"). I wonder if anybody knows a > better way of doing it, something like get_online_status() or what ever > Informix has called it. There gotta be a function somewhere that does the > job. > > Looking forward to any good ideas > This is probably not the good idea you are looking for, anyway, In version 6, you can do a SQL statment to the sysmaster database to get those information you specify from within a 4GL or embedded language product. I have not come across any such function before version 6. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Calvin Ng email: <calvinng@technet.sg> --------------------------------------------------------------------------- [DISCLAIMER] Me, and me alone, am responsible for the words above. The opinions are entirely mine unless specifically stated otherwise, and definitely must NOT be interpreted as those of my employer. --------------------------------------------------------------------------- I'm a new Netizen. My personal page will soon be there. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=