DATA Step, Macro, Functions and more

how to schedule a sas program for daily bases without schedule project option in SAS EG

Reply
Occasional Contributor
Posts: 13

how to schedule a sas program for daily bases without schedule project option in SAS EG

Hi Team,

 

I have a sas program which helps me to find the space in server and want to execute this program daily bases. In my EG 'schedule project' option is not working. is there any other way to schedule the sas execution of that program. 

I will highly appreciate the help.

 

thanks,

Abhishek 

Super User
Posts: 9,612

Re: how to schedule a sas program for daily bases without schedule project option in SAS EG

Posted in reply to abhityagi

On which platform is your SAS running?

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
How to convert datasets to data steps
How to post code
Frequent Contributor
Posts: 79

Re: how to schedule a sas program for daily bases without schedule project option in SAS EG

Posted in reply to abhityagi
Scheduling in SAS EG has always been a little mess as you need to be fully aware of the operating system your OS is running on.

It could work by creating a vbscript which SAS EG can create for you from dropdown and then you can schedule the same in windows task scheduler using the cscript.exe tool.
However the server where this vbscript file should be run on,should be windows.

As your SAS EG is working as headless server, i.e its GUI is on windows and the OS where it submits the job for execution is Unix and unix doesn't have the cscript.exe tool to run the vbscript or any other windows tools for that matter.

So you won't be able to schedule this program.

Cheers from India!

Manjeet
Ask a Question
Discussion stats
  • 2 replies
  • 108 views
  • 1 like
  • 3 in conversation