BookmarkSubscribeRSS Feed
Quartz | Level 8

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



%put xxx;

data a;






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?

Rhodochrosite | Level 12

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>';



Or you can use background processing by specifying _ACTION=background. 



Vince DelGobbo




Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

Register now!

How to Concatenate Values

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.

Get the $99 certification deal.jpg



Back in the Classroom!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 1 like
  • 2 in conversation