Re: Error trapping
Posted in 2006
Topics: General Discussion
Guido Jimenez M. wrote: > Fellows, > > I am trying to trap SQL error using the SQL INTERRUPT ON statement, but > the program still abort when the user press the DEL key. Does 'stty -a' show the the 'intr' key is DEL or is that the 'quit' key? Check your users' key mappings! Art S. Kagel <SNIP>
Thank you Art for your response Everything is alright, intr = DEL; quit = ^\\; erase = ^H; kill = ^U ........, , in fact all programs work whit this, I use it in a INPUT or CONSTRUCT, etc. but with the OPTION SQL INTERRUPT ON the program abort when the user press the DEL KEY, I can't trap the error.This is the error message: "Program stopped at "co216m1.4gl", line number 118.SQL statement error number -213. Statement interrupted by user. " "Art S. Kagel" <kagel@BLOOMBERG.NET> wrote: Guido Jimenez M. wrote: > Fellows, > > I am trying to trap SQL error using the SQL INTERRUPT ON statement, but > the program still abort when the user press the DEL key. Does 'stty -a' show the the 'intr' key is DEL or is that the 'quit' key? Check your users' key mappings! Art S. Kagel --------------------------------- Get your email and more, right on the new Yahoo.com