SAP Knowledge Base Article - Preview

3673856 - srv_descfmt parameter length is max if the value is greater than 255 - SAP OS

Symptom

Execute a query with a parameter value greater than 255 characters, the call to the srv_descfmt function to retrieves the parameter information will returns the value for the "maxlength" field to 2147483647,  which is the maximum size for a positive int.

However, when the length of the "@p_param" parameter is less than 255 characters, everything is fine, and we receive the correct value.


Read more...

Environment

  • SAP Sybase Software Developer Kit (SDK) 15.7
  • SAP Adaptive Server Enterprise (ASE) Software Developer Kit (SDK) 16.0

Keywords

KBA , BC-SYB-OS , Open Server , Problem

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.