Your SAS programs, embedded in web apps and elsewhere

How to supress SP output

Reply
Contributor
Posts: 20

How to supress SP output

Hi there.

I've implemented a SP process based application, to be used in EGuide, where although i produce lots of output i do not want it to appear in my project flow after the SP execution. In my Development server this works fine, but when i migrated the App to Prod the results appear linked to my SP in the project flow, after execution.

How can i supress the SP output?
Contributor
Posts: 20

Re: How to supress SP output

Auto replying for someone who eventually has the same problem as i did!

The solution i found is to put the following code at the biginning of the SP code:

[pre]
%global _result;

%let _result=STATUS;
[/pre]

This way only the status of the stored process is outputed and all other outputs are supressed.
Ask a Question
Discussion stats
  • 1 reply
  • 206 views
  • 0 likes
  • 1 in conversation