SAP Knowledge Base Article - Preview

2400937 - Print statement in a stored procedure may produce error 2805 - SAP ASE


  • When ASE is configured with these configuration parameters:
    • 'statement cache size'
    • 'enable literal autoparam'
    • 'abstract plan load' OR session level setting 'set plan load on'
  • An execute on a procedure with a 'print' statement causes error 2805 in ASE errorlog:

Error: 2805, Severity: 18, State: 20
Bad pointer 0x0x149a844b8 encountered while remapping stored procedure 'sp_dbcc_run_configreport'.

Must re-create procedure.



  • SAP Adaptive Server Enterprise (ASE) 15.7 & 16.0


SAP Adaptive Server Enterprise 15.7 ; SAP Adaptive Server Enterprise 16.0 ; Sybase Adaptive Server Enterprise 15.5


enable literal autoparam, abstract plan load, enabled, Error 2805, Msg 2805, Severity 18, State 20, parameterize, print, CR742158, CR#742158, 742158 , KBA , 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 ONE Support launchpad (Login required).

Search for additional results

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