SAP Knowledge Base Article - Preview

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

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 Developer Kit (SDK) 15.7
  • SAP Adaptive Server Enterprise (ASE) Software Developer Kit (SDK) 16.0
  • SAP Adaptive Server Enterprise (ASE) 15.7
  • SAP Adaptive Server Enterprise (ASE) 16.0
  • jConnect

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 for Me (Login required).

Search for additional results

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