Re: ps -f
Posted in 1994
In <33afmn$qlu@ceylon.gte.com> bauer@gtetel.com (Danni Bauer) writes: >maury@bnr.ca wrote: >> Now for another question, to follow up. I need to create and use >> a unique unix file name inside the stored procedure. We were trying >> to append a process id to the file /tmp/Up_file to do this, but >> cannot. We tried to use the gettimeofday command to use the longint >> value of time down to microseconds, but you cannot pass a variable >> back from c to the stored procedure. Any other ideas? The winner gets >> a night in a bar at the next Informix User Conference. >Could you have the C program get the time and then call the stored >procedure and pass the time Into the stored procedure? >Danni You could also use the C-function mktemp to create a temp-file and then pass the tempfilename with ESQL into a table from which you can read the name from your stored procedure. Peter