Unix Technical Forum

Re: Error trapping

This is a discussion on Re: Error trapping within the Informix forums, part of the Database Server Software category; --> Thank you Art for your response Everything is alright, intr = DEL; quit = ^\; erase = ^H; kill ...


Go Back   Unix Technical Forum > Database Server Software > Informix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-20-2008, 12:59 PM
Guido Jimenez M.
 
Posts: n/a
Default Re: Error trapping


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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:31 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com