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.