An invalid SQL pass-through (SPT) function call has been made while a SQLMORERESULTS(В ) call was expected to continue the SPT call sequence in progress.
Call SQLCANCEL(В ) to cancel the SPT sequence or make valid SPT calls to finish the call sequence.