Hi there. I am a SAS Developer that deal with BASE SAS Programming and SAS Enterprise Case Management.
At the moment, I want to trigger a stored process code that only does Proc Sql to delete data from database.
However, once i integrate this trigger process in ECM XML file, it will prompt
The SAS program did not produce any output.
I then put a dummy command
%stpbegin;
%put xxx;
data a;
b=1;
run;
%stpend;
Still, it will either redirect me to the result page of dataset a or totally blank if i remove that datastep.
Is there a way that i can just put PROC SQL delete statement into the stored process script and it will only execute the Delete statement without my ECM redirecting me to anywhere?
Specify a value for the _STATUS_MESSAGE macro variable to avoid the "no output" message:
proc sql; ... ; quit;
%let _STATUS_MESSAGE=Program finished.;
If you need a more elaborate message then you can use DATA step code:
proc sql; ... ; quit;
data _null_;
file _webout;
put '<h1>Program finished.</h1>';
run;
Or you can use background processing by specifying _ACTION=background.
Vince DelGobbo
SAS R&D
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.