home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / database / informix / 2350 < prev    next >
Encoding:
Internet Message Format  |  1992-11-09  |  1.5 KB

  1. Path: sparky!uunet!mcsun!sunic!isgate!krafla!gaukur
  2. From: gaukur@rhi.hi.is (Kristjan Gaukur Kristjansson)
  3. Newsgroups: comp.databases.informix
  4. Subject: Re: defer interrupt.
  5. Message-ID: <5579@krafla.rhi.hi.is>
  6. Date: 9 Nov 92 13:22:18 GMT
  7. References: <5576@krafla.rhi.hi.is> <1992Nov8.025246.23843@informix.com>
  8. Sender: usenet@rhi.hi.is
  9. Lines: 30
  10. Nntp-Posting-Host: dyngja
  11.  
  12. >Did you read pages S-29 - S-32 (in the English version, anyway) of the 
  13. >4GL 4.1 Supplement document? If so, what was unclear?
  14.  
  15. Yes I've read them, but maybe theres something wrong with my configuration.
  16. In my test exemplar I'm interrupting a foreach loop thats fetching rows
  17. and getting some of them into a report.
  18.  
  19. I started with 'whenever error call error_func' and when I hit ctrl-c the
  20. program goes to that function (usually with status = -213) and then goes to
  21. the int_flag check.
  22.  
  23. I also tried it without the 'whenever' statement and then the prog. breaks
  24. right away with errors -229 and -103 (illegal key descriptor).
  25.  
  26. So is it maybe something wrong with my termcap?
  27.  
  28. Also one comment on the int_flag testing; if youre interrupting open, fetch,
  29. close statements (with something in between) do you have to test the int_flag
  30. after every statement (because you never know in loops where the ctrl-c will
  31. hit)?  That seems like a whole lotta work for just wanting to be able to
  32. stop long queries.
  33.  
  34. (config. I-Online 4.1, IBM/RS-6000 AIX 3.1)
  35.  
  36.                 With thanks in advance
  37.  
  38.                     Gaukur
  39.  
  40. Disclaimer: Our god is what is left when every god has been counted and said:
  41.         No, not him, not him.    --Halldor Laxness.
  42.