SAP Knowledge Base Article - Preview

2094205 - Batched SQL statements using host variables fail with not initialized error message


  • Running certain batched SQL prepared statements in IQ that utilise host variables across a TDS client connection can intermittently fail in IQ.  
    This is an example of the failure messages seen.

I. 07/08 11:12:11. 0000000343    O/S Err#: 0, ErrID: 9216 (df_Exception); SQLCode: -1001036, SQLState: 'QFA32', Severity: 14
I. 07/08 11:12:11. 0000000343 [20545]: Host variable 'p4' is not initialized,
-- (df_Heap.cxx 2711)



  • All versions of SAP IQ servers running on unix
  • TDS client application running batched prepared statements utilizing host varaibles to pass paramenters into IQ


SAP IQ 16.0 ; SAP Sybase IQ 15.2 ; SAP Sybase IQ 15.4 ; Sybase IQ 12.7


PreparedStatement, JDBC, TDS, getConnection, createStatement, abort, semi colon, semicolon, , KBA , BC-SYB-IQ , Sybase IQ , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.