Re: 4GL interrupt handling
Posted in 1998
LTBeason wrote: > > I am currently writing a program in 4GL that is basically a > daemon process, with no screen i/o. > > Does anyone know of any Informix methods for handling > interrupts other than the DEFER INTERRUPTS statement, > which is for screen i/o. I need to build some interrupt > handling into the program, but have no real ideas how to > do so. > > It has been suggested that I write a c function to do the > interrupt handling. Is this possible ?? > > Any and all ideas, suggestions, tips and pointers would > be gratefully accepted. > > Thanks, > > Lem Beason > MIC, Inc. > ltbeason@aol.com DEFER INTERRUPT works for non-screen processing too. You might want to set OPTIONS SQL INTERRUPT ON. A possible problem is that daemons are expected to deal with signal 15 so you might need a C routine for this. -- Peter Lancashire Information Systems Specialist, Bayer plc Eastern Way, Bury St Edmunds, Suffolk, IP32 7AH, UK Tel: +44-1635-562258, Fax: +44-1635-562281 Mail: Peter.Lancashire.PL1@bayer.co.uk --- My Internet plumbing does not allow me to mail and post news together. Sorry. All opinions are my own and not those of Bayer plc. --- Join Infuse, the UK Informix User Group at http://www.infuse.org.uk/