SAP Knowledge Base Article - Preview

2356316 - ASE 632 error seen when using bcp with a large textsize parameter


When using bcp to extract text or image data and the -T textsize value exceeds 2147483647 (the max value), this will result in bcp sending a negative value for textsize.

As a result, a 632 error can be seen in the errorlog

Error: 632, Severity: 20, State: 2
Attempt to move memory with an incorrect length of -424509440. Maximum allowed length is 16384.
nserver: invalid send count -424509210



  • SAP Adaptive Server Enterprise (ASE)
  • Sybase SDK

Problem has been seen and reproduced on

  • Solaris on Sparc 64bit


SAP Adaptive Server Enterprise 15.7 ; Sybase SDK 15.7


      Sybase, ASEServer, SAPASE, dataserver, CR801151, CR#801151, 801151

  , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , BC-SYB-SDK , SDK , 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.