2262731 - Error "There is no host variable corresponding to the one specified by the PARAM datastream" when executing batch - SAP SDK | SAP Knowledge Base Article

SAP Knowledge Base Article - Preview

2262731 - Error "There is no host variable corresponding to the one specified by the PARAM datastream" when executing batch - SAP SDK

Symptom

Error occurred while executing a batch:

java.sql.BatchUpdateException: JZ0BE: BatchUpdateException: Error occurred while executing batch statement: There is no host variable corresponding to the one specified by the PARAM datastream. This means that this variable 'xxx' was not used in the preceding DECLARE CURSOR or SQL command.


Read more...

Environment

  • SAP Sybase Software Developers Kit (SDK) 15.5, 15.7 and 16.0
  • SAP Adaptive Server Enterprise (ASE) 15.5, 15,7 and 16.0
  • jConnect (jconn4.jar)

Product

SAP Adaptive Server Enterprise 15.7 ; SAP Adaptive Server Enterprise 16.0 ; SAP Adaptive Server Enterprise SDK 16.0 ; Sybase Adaptive Server Enterprise 15.5 ; Sybase SDK 15.5 ; Sybase Software Developer Kit 15.7

Keywords

java, jConnect, exception, CR764514, CR#764514, 764514, PARAMFMT.name, CallableStatement, jconn4.jar , KBA , BC-SYB-SDK , SDK , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , Bug Filed

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.