SAP Knowledge Base Article - Preview

1903025 - Error 155: This routine cannot be called when the command structure is idle. - SAP ASE

Symptom

  • Executing multiple select statements in a batch job from an Open Client (ctlib) app.
  • These errors happen on different queries and are random:
     
    Severity=0; number=155; origin=1; layer=1
    ct_bind(): user api layer: external error: This routine cannot be called when the command structure is idle.
    Severity=0; number=155; origin=1; layer=1
    ct_fetch(): user api layer: external error: This routine cannot be called when the command structure is idle.

Read more...

Environment

  • SAP Adaptive Server Enterprise (ASE) 15.7 prior to SP50
  • SAP Adaptive Server Enterprise (ASE) 15.7 prior to SP100
  • SAP Sybase Software Developers Kit (SDK) 15.x

Product

SAP Adaptive Server Enterprise 15.7 ; Sybase SDK 15.0 ; Sybase SDK 15.5 ; Sybase SDK 15.7

Keywords

TDS, ctlib, ctlibrary, binding, multiple, packets, threaded, mode, kernel, token, DONE_COUNT, TDS_DONE, CR721809, CR#721809, 721809 , 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.