Re: 4GL question
Posted in 2000
"Carlson@WHSmith" wrote: > > William Rice wrote: > > > > Do you mean propagated back to the shell through $? (this is the only way > > I know of signal information of a called process is passed on) > > > > That's it . . . . > > I'm aware of the 'exit program' functionality, but that presupposes a > planned exit from the program. I'm looking for a way to trap an > unexpected "program clobber" (e.g.. KILL, instance drops, etc.) and send > it back to the shell. Yes, that's what I mean. I remember 4GL doing things in an unexpected way, and you've got to use trap otherwise the shell will get clobbered as well. If I get time I will have a look at it, but I'm a bit snowed under at the moment. Cheers, -- Mark. +----------------------------------------------------------+-----------+ | Mark D. Stock mailto:mdstock@mydas.freeserve.co.uk |//////// /| | http://www.informix.com http://www.informixhandbook.com |///// / //| | http://www.iiug.org +-----------------------------------+//// / ///| | |What year 2000 bug? year 2000 bug? |/// / ////| | |year 2000 bug? year 2000 bug? year |// / /////| | |2000 bug? year 2000 bug? year 1900 |/ ////////| +----------------------+-----------------------------------+-----------+