Host variable <str> is based on a structure defined more than once. Explanation: The named host variable is based on a structure that is defined more than once in the file being precompiled. Either the user defined the structure more than once in a single C procedure (which is illegal in any C program), or there is more than one procedure that defines the structure (legal in C, but the SQL C precompiler does not recognize that the structures are in two different procedures and generates this error).