Architecting, installing and maintaining your SAS environment

Related to scheduling reports to user mails using windows schedular

Reply
New Contributor
Posts: 2

Related to scheduling reports to user mails using windows schedular

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

SAS Employee
Posts: 102

Re: Related to scheduling reports to user mails using windows schedular

Posted in reply to sai_prasad

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.

SAS Super FREQ
Posts: 299

Re: Related to scheduling reports to user mails using windows schedular

Posted in reply to sai_prasad

Hi,

 

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?

 

Thanks

Anja

Ask a Question
Discussion stats
  • 2 replies
  • 143 views
  • 0 likes
  • 3 in conversation