You must either use SQLPREPARE( ) first or include a SQL statement in the call to SQLEXEC( ).
Include a SQL statement directly in SQLEXEC( ) or call SQLPREPARE( ) before calling SQLEXEC( ).
Call SQLPREPARE( ) again.