Oninit Logo
The Down System Specialists
+1-913-674-0360
+44-2081-337529
Partnerships Contact
Finderr

-689 Global variable variable-name declared inconsistently.

Two or more procedures were executed that defined the same global variable with different data types.

Example of error:

CREATE PROCEDURE test1() DEFINE GLOBAL glob INT DEFAULT 10; ... END PROCEDURE

CREATE PROCEDURE test2() DEFINE GLOBAL glob CHAR (9) DEFAULT USER; ... END PROCEDURE

Correction: Declare global variables consistently. (Using appropriate naming conventions would be useful.) Two variables of the same data type but different lengths are considered inconsistent.