Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 10473

Re: stop scheduled job

$
0
0

$x = SQL('DS_hana_store', 'select V from "CPM_SAP"."TESTX"  where I = 1');

 

ifthenelse( $x = 'SUCCESS', 0, raise_exception('Exit Job'));

 

I have the above in mind . In a script I read via SQL , a field in a table which has values 'SUCCESS' or 'Fail' .

 

and then if its a fail , then exit the JOB .

 

How do I do this ?


Viewing all articles
Browse latest Browse all 10473

Trending Articles