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.

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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