Re: Hangs when HIDE OPTION is used
Posted in 1994
->Robert Minter (rob@dssmktg.com) writes: -> -> When we use the HIDE OPTION statement within a menu, sometimes, depending -> on which options you hide, causes the session to hang when you use the up or -> down arrow keys. It happens both in RDS and C-Code. -> -> We are using INFORMIX-4GL Version 4.10.UC3 ( RDS Full Dev. ) -> INFORMIX-SQL Version 4.10.UD2 ( SE Engine ) -> INFORMIX-4GL Version 4.10.UC3 ( 4GL Full Dev. ) ->running on SCO 3.2.2 ->Lawrence W. Ciesla (ciesla@stairs.att.com) writes: -> ->We have seen this problem in a slightly different way. If your menu is ->larger than what can fit on a single screen so that the "..." appears on the ->right, and if the first option on the next screen is a "command key" option, ->then pressing the down arrow key will have disasterous consequences! We have ->found that the only solution is to avoid having the first option on the next ->page a command key. Sometimes, we simply re-arranged the order of the ->options. Other times, because of things like "hide option", this is ->unreliable, and we have resorted to changing the option names from: -> ->command key ("D") "aDd" -> ->to -> ->command "D:aDd" -> ->This is ugly, but seems the only workaround that will always work! ->Furthermore, in our application, when the 4GL hangs, the application process ->gradually sucks up more and more cpu time. We are running on a Sequent 750 ->with multiple processors, and a 4GL process that hangs this way can ->eventually consume nearly 100% of the processor it is attached to. Informix ->really needs to fix this one! Alan Popiel (alan@den.mmc.com) responds: This may be a port-dependent bug, or I may have just been lucky. On the one project on which I used compiled Informix-4GL 4.10.xx, we used the HIDE OPTION and SHOW OPTION *very* extensively. Our project ran on Sun Sparcs of various sizes, and we *never* encountered a problem with this feature. Larry did not identify the system on which he had his problems, but Robert identifies his as SCO 3.2.2. I have been told that Sun is one of Informix's primary development platforms. My lack of problems *may* indicate that the bug was introduced during port to other systems, or maybe our project was just lucky and never used the combination of whatever that causes the hang. I hope our lack of problems on Sun helps the Informix bug exterminators solve this one. I think the HIDE/SHOW OPTION is one of the best additions to 4GL at the 4.00/4.10 level. Regards, Alan ___________________________ ______________________| R. Alan Popiel |__________________________ \\ Internet: | Martin Marietta, SLS | / \\ alan@den.mmc.com | P.O. Box 179, M/S 3810 | Std disclaimers apply. / )Voice: | Denver, CO 80201-0179 USA | ( / 303-977-9998 |___________________________| (But you knew that!) \\ /________________________) (____________________________\\