SAP Knowledge Base Article - Preview

2333451 - SRVLIB: parameter with numeric datatype failed in cs_convert - SAP OS

Symptom

  • Reading a dynamic parameter containing a numeric datatype field in cs_convert()
  • Open Server error:
     
    cs_convert: cslib user api layer: common library error: The conversion/operation resulted in
    'Unknown token (token number = 215) TDS stream received'

  • Application error:
     
    16/03/17 12:43:14 DEBUG impl.DefaultConnectionTester: Testing a Connection in response to an Exception:
    com.sybase.jdbc4.jdbc.SybSQLException: ct_cursor(CURROWS): user api layer: external error: The command cannot be initialized after the cursor has been opened.
           at com.sybase.jdbc4.tds.Tds.processEed(Tds.java:4131)
           at com.sybase.jdbc4.tds.Tds.nextResult(Tds.java:3247)
           at com.sybase.jdbc4.tds.Tds.getDoneResult(Tds.java:3938)
           at com.sybase.jdbc4.tds.TdsCursor.doCurInfo(TdsCursor.java:964)
           at com.sybase.jdbc4.tds.TdsCursor.setFetchSize(TdsCursor.java:254)
           at com.sybase.jdbc4.tds.TdsCursor.fetch(TdsCursor.java:373)
           at com.sybase.jdbc4.tds.TdsCursor.fetch(TdsCursor.java:351)
           at com.sybase.jdbc4.jdbc.SybCursorResultSet.next(SybCursorResultSet.java:206)
     


Read more...

Environment

  • SAP Sybase Open Server 15.5 ESD
  • SAP Sybase Open Server 15.7
  • SAP Sybase Open Server 16.0
  • SAP Sybase OpenSwitch 15.1
  • jConnect
    • JDBC 7.0
    • JDBC 7.07

Product

SAP Open Server 16.0 ; SAP Open Server solution 15.7 ; SAP Open Switch 15.1

Keywords

Software Developer Kit, SDK, ASE, Adaptive Server Enterprise, CR, change record, report, request, Bug, OS, OpenServer, srv-lib, srv-library, ct_cmd_drop(), prec, scal, translation, convert, conversion, error, overflow, length, array, CS_NUMERIC, OpenSwitch, Open Switch, OSWT, CR796955, CR#796955, 796955 , KBA , BC-SYB-OS , Open Server , BC-SYB-SDK , SDK , BC-SYB-SWT , Openswitch , 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.