I am an experienced Informix 4gl user and have made much use of the Whenever statement.

Recently I have inherited a program with no Whenever clauses in it.

I have assumed up until now that WHENEVER ERROR defaults to CONTINUE - but this program is compiling as WHENEVER ERROR STOP.

This can be seen in the ec which contains calls to fgl_fatal after every SQL statement.
e.g.
$ begin work;
status = sqlca.sqlcode;
if (status < 0)
{
fgl_fatal(fgl_modname, 73, status);
}


The manual appears to back my assumption.

Is there some compiler directive in operation or is my interpretation of the manual - or the manual itself - wrong.

I do not want to change the behaviour of this module - so I am reluctant to enter WHENEVER statements into it.