Hi
I have a task of creating Alerts upon certain condition.
Task-Provide an alert for any card with $10000 or more in cash loads in 30 days.
Can anyone please tell how to create Alerts in SAS
Waiting for your replies!!!
Thanks
Sarvendra
The process we use requires you to:
That'll do it nicely!
Thanks a lot Bailey for the reply.but can you please elaborate step 2 and 3.how email can be genrated inside a maco and
how job can be scheduled using SAS console..can u give any detailed document link as i dont have much exp in SAS management console
Thanks
unfortunately, the scheduling is site specific.
As for the email in a macro...
%macro tst();
all of your code...
proc sql noprint;
select count(*)
into :recs
from work.final_output;
quit;
%if &recs ne 0 %then %do;
filename mailit email;
data _null_;
file mailit
to=('emailaddress')
from=('from email address')
sender='Sender'
Subject="subject"
;
Line1= 'email text line 1';
Line2= 'email text line 2';
Line3 = "Syscc = &syscc";
put Line1;
put Line2;
put Line3;
put ;
put ;
put "This email address is not monitored for replies.";
put ;
run;
%end;
Much Thanks Bailey
But I did not get the line "unfortunately, the scheduling is site specific."..what does it mean?
it means that you should talk to your site administrator or SAS support for more details.
To provide a little bit more detail on scheduling...you can only schedule from SAS Management Console if the SAS LSF scheduler is installed as part of your SAS Server installation.
You need to find out what scheduling facilities you have available to you before we can offer further advice - as per DBailey.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.
Select SAS Training centers are offering in-person courses. View upcoming courses for: