Re: Who in a Stored Procedure
Posted in 2003
You can run the system command in stored procedure to run any unix command or os level command but I am not sure how you will capture the output of that in ths stored procedure. --- Thomas Ronayne <trona@ameritech.net> wrote: > I need to capture the information contained in the > utmp file -- that > produced by, say, the UNIX "who" command -- so that > I can log the user, > line, time, and the "comments" (terminal name) with > a trigger and stored > procedure. > > User is easy -- is there any way to capture the rest > of that data in a > stored procedure? Will a stored procedure run a > system command, a > program (I can easily write what I need in C)? > > I've looked through "Answers Online" and can't find > anything like this > and would appreciate any advice. > > Thanks. > __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com sending to informix-list