SAP Knowledge Base Article - Preview

2854642 - Job scheduler - Setting job status SAP ASE

Symptom

  1. Looking for information on more complex queries for Job Scheduler. 
  2. All the predefined job templates provided with Job Scheduler end with the following code:

    if( @user_code < 0 )
    begin
    print "ase_js_cmd: sp_sjobsetstatus @name='%1!',
    @option='exit_code=2, user_code=%2!'",
    @js_runid, @user_code
    end
    else
    begin
    print "ase_js_cmd: sp_sjobsetstatus @name='%1!',
    @option='exit_code=1, user_code=0'",
    @js_runid
    end

    Is ase_js_cmd: sp_sjobsetstatus documented??? 


Read more...

Environment

SAP Adaptive Server Enterprise (ASE) any version

Product

SAP Adaptive Server Enterprise 16.0

Keywords

jsagent, Job Scheduler, JS , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , How To

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.