BookmarkSubscribeRSS Feed
deleted_user
Not applicable
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
3 REPLIES 3
deleted_user
Not applicable
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.
sas_
Fluorite | Level 6
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.
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
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.

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 1042 views
  • 0 likes
  • 3 in conversation