$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 ?