Re: (not-so-) Unknown error -1176
Posted in 1996
In article <4nbden$dhf@cssun.mathcs.emory.edu>,
Alan Goodman <alan@dssmktg.com> wrote:
>Hi,
>I have a menu that generates a forms error -1176, which is an unknown
>error according to Informix.
Not hardly. Unless you mixed older tools with newer ones and installed
the older last, you would get this message for -1176:
.-1176
A COMMAND KEY value occurs elsewhere in the current menu.
There is a very detailed release note that describes this issue
and the migration implications. See the entry in
$INFORMIXDIR/release/TOOLREL_6.03 entitled:
36970: MENU COMMAND KEY CONFLICTS AND NEW ERROR NUMBER -1176
*Please* read it.
>Attached below is a example program that demonstrates the error if the
>remarked out "Exit" command option is used instead of the 3 separate exit
>commands that follow it.
It's no "error" -- 4GL is doing the right thing, something it failed to
do before 4.14/6.02. You have a COMMAND entry and a COMMAND KEY entry
that are colliding on the 'e' initial keystroke. This is illegal (and
just plain illogical to attempt).
>Has anyone seen this before?
>
>BTW: this code (with the offending line enabled) works on SCO using
>INFORMIX 4GL 6.01.UD5 and online 7.10.UC2, also runs fine on HP using 4GL
>4.10, 4.12 and on sco using same 4GL versions.
It "runs fine" on those releases if you never actually lead with the
'e' keystroke! If you *did*, you'd get a botched continuation prompt.
Please, folks: READ the release notes before switching versions. Some
of us take great care in preparing them for just this reason.
>Alan Goodman | Data Systems Support
--
(c) 1996 Alan Denney aland@informix.com
Amount former Congressman Dan Rostenkowski of
Chicago was fined for his mail-fraud convictions: $100,000
Amount he will continue to draw
from a Congressional pension even while in prison: $100,000 per year.