Re: Upgrade from 5 to 7
Posted in 1997
In article <5jqn8n$cr0@cssun.mathcs.emory.edu>, Jonathan Leffler
<johnl@informix.com> writes
>>From: "Paul Mosser" <pmosser@primenet.com>
>>Date: 25 Apr 1997 07:49:02 -0700
>>X-Informix-List-Id: <news.37130>
>>
>>Rudy Fernandes <rferdy@kuwait.net> wrote:
>>>Richard Spitz <spitz@ana.med.uni-muenchen.de> wrote:
>>>>John F. Tosh wrote:
>>>>> I am currently creating a document to support my reasoning for upgrading
>>>>> our Informix database from version 5 to 7 [...]
>>> We've recently done the 4.1 -> 6.04 trip. While the code has to
>>> be recompiled, the incompatibilities we faced were few. In
>>> fact, we found only two.
>>
>>I have heard that the "notfound" syntax (as in 'if status=notfound...') is
>>no longer valid in 6.x. Can anyone confirm / refute that???
>
>Consider it refuted!
>
>At the very least, I'd be more than greatly astonished if that had changed
>between the two versions as the lexical analyser and grammars are the same
>(identical) for the two versions, so it would take explicit effort on the
>part of the maintenance team to make that change.
>
>And, in any case, here's a successful compilation on Solaris 2.5.1 with
>I4GL 6.04.UC1:
>
>$ c4gl -V
>INFORMIX-4GL Version 6.04.UC1>Software Serial Number INF#J081894
>$ c4gl -c kk.4gl
>$ cat kk.4gl
>FUNCTION f()>
> IF STATUS = NOTFOUND THEN
> DISPLAY "not found"
> ELSE
> DISPLAY "was found (or an error occurred)"
> END IF
>
>END FUNCTION
>$
>
>Please berate your source of information for propagating unsubstantiable
>rumours!
>
>Yours,
>Jonathan Leffler (johnl@informix.com) #include <witticism.h>
Using 4GL 6.00 on an SCO 3.2.4cv2 box status=notfound always returns
false even when no rows are found!!! 6.03 fixes this bug....
--
David Williams