Re: WHENEVER ANY ERROR CONTINUE fails
Posted in 1998
You don't mention what version of the 4gl tools you are using. In 6.00, there was a nasty bug (discovered by me - oh joy!), that did not assign STATUS = SQLCA.ERRD[3]. The effect is that the 4gl program doesn't know it has an error and either coniues in an infinite loop, or just mysteriously ends. >HP-UX 10.20 Informix 7.21.UC1<BR> >All 4GL<BR> >A Library function in one module called from a function in another<BR> >library module.<BR> >The 2nd nested library module function has the "WHENEVER ANY ERROR<BR> >CONTINUE" statement, and then calls another function within its own<BR> >module. This called function has a PREPARE, which has a syntax error,<BR> >but instead of "CONTINUE"ing, it dies (no core dump, no nothing....but<BR> >to STDERR, a la WHENEVER ERROR STOP)....I've carefully studied the code,<BR> >and there are no intermediate functions which could change this.<BR> ><BR>