Re: scope of WHENEVER statement
Posted in 2000
Aaaargh! Please contact the IIUG and ask them to sort this out, I shouldn't be getting these emails, but I'm getting one every few minutes, I think from anyone and everyone who posts a message to IIUG, i.e.: spam. Dom --- Obnoxio The Clown <obnoxio@hotmail.com> wrote: > From: "Pirn, Peeter" <PPirn@lnc.com> > > > >If I have a WHENEVER statement somewhere else than > in main(), will it not > >catch SQL errors in main()? Will it catch all SQL > errors in functions (in > >functions...) called by the function in which it > was defined? > > I seem to recall that WHENEVER ERROR is a compiler > flag -- so it depends on > where it is in the program, and it is valid from > there to the end of the > file (or the next WHENEVER ERROR). > > HTH. > ______________________________________________________ > Get Your Private, Free Email at > http://www.hotmail.com > > __________________________________________________ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com