08-29-2017 08:08 AM
While schedling the sas code using Windows schedular it is sending few mails as blank to the users ,while the same code is running in sas studio it is perfectly working.
Please guide me is there any solution/forums available to solve this issue.
Thanks in advance
08-30-2017 05:24 PM
It sounds like you're getting different behavior when you execute SAS code under a scheduler than when you run it interactively through SAS Studio. There are a number of ways to schedule a SAS job. Check out this blog for info. It would be good to know if you could run this code directly as a batch script (in a .bat file), taking the scheduler out of the picture.
As to other forums you might consult, SAS Programming is a good option if you're just talking about submitting standard .sas code.
08-31-2017 03:00 PM
when you schedule via Win Scheduler, are you simply using .sas programs that have been created in BASE SAS, or, are you scheduling through SAS EG, exporting through SAS EG? (which, too, uses the Win Task Scheduler)
When you create a .sas and schedule it with the WIn Task Scheduler, SAS has nothing to do with the process, all it does is run the job you schedule in batch. When you use SAS Studio, it uses the email addresses that are either stored in metadata, or, entered manually.
You said that some emails are send blank, does that mean some users reveive emails that are ok when being
sent via code/Win Task Scheduler?