Desktop productivity for business analysts and programmers

How to schedule SAS to execute program?

Reply
New Contributor
Posts: 4

How to schedule SAS to execute program?

Ideally, I want the process to be as follow

Step 1 = Open SAS
Step 2 = Run codes
Step 3 = Save and Close SAS
Valued Guide
Posts: 2,111

Re: How to schedule SAS to execute program?

You can just schedule the project. You probably need to upgrade to the regular edition; LE is obsolete.
New Contributor
Posts: 4

Re: How to schedule SAS to execute program?

Thanks Doc@Duke

Would you mind listing all steps involved to schedule progects to run overnight?
I've got a full version at work. Problem is that I keep getting a vbscript error message when scheduling on SAS EG.
Valued Guide
Posts: 2,111

Re: How to schedule SAS to execute program?

In EG 4.3, I just select

file --> schedule project

and then fill in the blanks.
Community Manager
Posts: 2,693

Re: How to schedule SAS to execute program?

Samuel, you should work with SAS Technical Support on this. They can probably get you fixed up quickly.

Chris
Contributor
Posts: 28

Re: How to schedule SAS to execute program?

Let's work as we're in sas 9.2 Smiley Wink

export your program and put it on the server,

create à .bat file to execute your sas program and shedule it on the server.

example bat file : J:\SAS\Config\Lev1\SASApp\BatchServer\sasbatch.bat -log N:\SAS\Config\Lev1\Logs\jobs\programlog_ -batch -noterminal -logparm "rollover=session"  -sysin J:\SAS\Config\Lev1\SASApp\SASEnvironment\SASCode\yourprogram.sas

Ask a Question
Discussion stats
  • 5 replies
  • 222 views
  • 0 likes
  • 4 in conversation