Symptom
- A numeric column invovled in bulk operations fails
- When using a numeric (as opposed to decimal) field on ASE and using python bulk operations to load data, a failure will occur:
Traceback (most recent call last):
File "blktypes_num.py", line 105, in <module>
blk.rowxfer([s, i, f, d, n, ti, da, ts, b])
sybpydb.ProgrammingError: ('blk_bind(): blk layer: user error: The scale field of the CS_DATAFMT structure has an illegal value of -2562.', 5)
Read more...
Environment
- SAP Sybase Software Developers Kit (SDK) 15.7 SP130
- SAP Sybase Software Developers Kit (SDK) 16.0
- SAP Adaptive Server Enterprise (ASE) 15.7
- SAP Adaptive Server Enterprise (ASE) 16.0
- Open Client Client-Library
- Adaptive Server Enterprise extension module for Python
Product
SAP Adaptive Server Enterprise 15.7 ; SAP Adaptive Server Enterprise 16.0 ; SAP Adaptive Server Enterprise SDK 16.0 ; Sybase Software Developer Kit 15.7
Keywords
772750, CR772750, blktypes.py, blk.rowxfer, TDS , KBA , BC-SYB-SDK , SDK , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , Known Error
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.