Help using Base SAS procedures

Using Task Scheduler to Run SAS

Reply
Occasional Contributor
Posts: 8

Using Task Scheduler to Run SAS

Hello,

 

I have this program to run a sas program, but instead it just opens the program after complaining that dat file "sysin" not found

 

The program is below

 

start/w F:\SASHome\SASEnterpriseGuide\5.1\SEGuide.exe –sysin C:\Users\matovua_sas\programs\rundailystatus.sas 

 

Thank you

Super User
Posts: 3,252

Re: Using Task Scheduler to Run SAS

The -SYSIN option only applies to the SAS.EXE program not to SEGUIDE.EXE.

Occasional Contributor
Posts: 8

Re: Using Task Scheduler to Run SAS

Thank you, Now without it it opens the program only, what can i do
Community Manager
Posts: 2,953

Re: Using Task Scheduler to Run SAS

To use SAS Enterprise Guide to run a batch SAS job, you have to use the automation API.  It's simple, but it will require a few lines of VBScript or PowerShell code.

 

See this blog post for more details:

 

 

Chris

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