I have this currently: %Macro checksourcetable; %IsReadyToRun (%str(&PROGRAMNAME.), %sysfunc(dequote(&TD_ASOFDT.))); %if &rl_result_value. eq %str(N) %then %do; %queueprocess(&rl_process_id.,0.5); %RecordLog(%str(Requeue the process as the input tables have not completely loaded)); %ProcessFooter; %abort cancel; %end; %else %do; %put 'Source tables available'; %RecordLog(%str(All source tables are available.)); %end; %Mend checksourcetable; Currently at %abort cancel, it ends abruptly, instead I want it to go out of the macro to the end of the program and end. How can i change this?
... View more