Jing He wrote:
>
> Guys,
>
> I have a problem with a 4GL program. It was complied under HP-UX A.09.04
> and on-line 5.01.UD1. It runs fine. When I recomplie this 4GL program
> under HP-UX B.10.20 and on-line 5.08.UD1, it has a problem to run it. The
> problem happens when it tries to call a C function. The error message is
> this:"FORMS statement error number -1320. A function has not returned the
> correct number of values expected by the calling function". What does this
> mean? But when I run the old executible code under new environment, it is
> OK. I do not change the 4GL and C program. It seems that the interface has
> changed under HP-UX B.10.20 and on-line 5.08.UD1. Someone has ideas?
It means that, somewhere in the program, there is a mismatch between the
number of RETURNed variables from a function and the number of variables
expected by the RETURNING clause on the function call. I know that
Informix 4GL tightened up its error checking between 4.1x to 6.0x; maybe
that's the case in this situation.
Hope it helps
John Carlson
Informix DBA
WH Smith, Inc.