FUNCSEQ

The sequence of functions called is invalid.

Resolution:

Make sure that you follow the sequence specified by the ODBC documentation.