SAP Knowledge Base Article - Preview

2215570 - JS agent fails to get results of job execution from ASE worker jsj__RunSQLJob: jsd_GetResults() failed - SAP ASE


  • After an abnormal shutdown of the Job Scheduler (JS) due to various problems, the job scheduler fails to restart automatically after reaching "max js restart attempts".
  • The following error messages are displayed in the Job Scheduler Log (JSAGENT.log) :

jsj_RunSQLJobcb: Job SQL failed.
jsd_GetResults: callback to fetch results failed
jsj__RunSQLJob: jsd_GetResults() failed for xid <number>
jsj__RunSQLJob() failed for xid <number>
JS: Task/Agent connection terminated.
Job Scheduler failed to receive communication buffer while reading message type.
Connection to Job Scheduler task terminated unexpectedly with error -4
SYB_JSAGENT waiting for connection



  • SAP Adaptive Server Enterprise (ASE) 15.7 and 16.0.
  • SAP Adaptive Server Enterprise for Business Suite 15.7 and 16.0 
  • Job Scheduler


SAP Adaptive Server Enterprise 15.7 ; SAP Adaptive Server Enterprise 16.0


JS Agent, Job Scheduler, connection lost, job failed, resources , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , BC-DB-SYB , Business Suite on Adaptive Server Enterprise , 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.