Help using Base SAS procedures

Create schedule in code

Reply
N/A
Posts: 0

Create schedule in code

i need to create schedule in the code ,such that everyday,it should take the current date and run for that date.

I need the program or the code to create the schedule

Thanks
N/A
Posts: 0

Re: Create schedule in code

Posted in reply to deleted_user
on *nix:
1) Create sh script with sas program invoke (RTM - sysin)
2) Use CRON as schedule tool

on Windows
1) Create bat script...
2) Use Windows Schedule Manager to run bat files.
Contributor
Posts: 66

Re: Create schedule in code

Posted in reply to deleted_user
Hi
u can do scheduling by shedule task manager .First write your code in sas and save it.Then copy that path in text and copy the path of your sas.exe in to that text.

First give your sas.exe path then add "path" -sysin then your code path " path"
then save that text in bat extension.

"C:\Program Files\SAS\SAS 9.1\sas.exe" -sysin "C:\Documents\shdule.sas"
it will be like this.

Go to shedular task give the .bat path then give shceduling it will run.
Super Contributor
Super Contributor
Posts: 3,174

Re: Create schedule in code

The SAS support http://support.sas.com/ website has this type of topic-related DOC and supplemental technical and conference reference material. Here is a useful Google advanced search argument to use to search for the subject:

using windows task scheduler site:sas.com

Scott Barry
SBBWorks, Inc.
Ask a Question
Discussion stats
  • 3 replies
  • 142 views
  • 0 likes
  • 3 in conversation