Re: HPUX10.10/4gl 6.01UD3
Posted in 1997
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL
The Guru wrote: > > Hello All, > We have a HP9000 running HP/UX 10.10 with > informix4gl 6.01UD3. > The problem we are having is that 4gl seems to > be treating an interrupt as a hard exit. > Our 4gl progs the programs simply quit instead of > getting the interrupt and setting int_flag. > Any one else ever experience this? Ideas or help? > Thanks > James Tibbets > Rankin Tech. Group > Phoenix, Az. Recognizing that your tag is "The Guru" I still have to follow standard customer support procedures and ask the obvious question first: Have you set DEFER INTERRUPT in the main function? If so, then what key are you using for your interrupt? Ctrl-C? Delete? Ensure that the correct key is set-up using the UNIX stty command: $> stty intr <whatever key it is> Also, Informix has an interrupt key and a separate Quit key (Ctrl-\\). If you use the Quit key it will work as a hard exit, unless you also put the DEFER QUIT command in your main function. check the manual for this, for there is an associated quit_flag variable. Best regards, Nigel -- +--------------------------------------------------------------------+ | Name : Edmund Nigel Gall Address: 9A Stanmore Avenue | | Title : Account Executive Port of Spain | | Company : Stratis Caribbean Ltd. Trinidad & Tobago, W.I. | | | | Contact Information: | | Office Personal | | Voice : (809) 623 6530/1 (809) 662 6611 | | Fax : (809) 623 8370 (809) 662 6611 | | Email : ngall@stratis-caribbean.com nigelg@trinidad.net | +----------------- http://www.stratis-caribbean.com -----------------+