DATA Step, Macro, Functions and more

SHEDULEING

Reply
N/A
Posts: 0

SHEDULEING

Hi ,

Could you please help me to know how to do sheduling the jobs in BATCH MODE in WINDOW environment

I GOT PROGRAMS TO BE RUN DAILY BASE . SO I WANT TO AUTOMATE AND SHEDULE IN WEEK LIKE MONTH

MANY THANKS

CHANDRA
Trusted Advisor
Posts: 2,113

Re: SHEDULEING

Use the "Scheduled Tasks" activity under the Control Panel in Windows. If you don't see it, that means that your IT group has disabled it and you need to get them to put it back.

You also need to read the SAS documentation on how to run SAS in batch from the command line, you will have to add the parameters that are included in the file association under Windows.

I find it easier to create a Windows batch file (.BAT extension) that includes the SAS command, get that running from the command line, and then add the batch file (or just copy-n-paste if it is just one line) to the scheduled tasks activity.

Doc Muhlbaier
Duke
N/A
Posts: 0

Re: SHEDULEING

Hi DUKE,

GOOD TO HERE YOU . U R RIGHT I CANT C ANY THING UNDER WINDOWS MAY BE DISABLED .

COULD YOU PLEASE SEND ME THE COMMAND I NEED TO RUN WITH .BAT EXTENTION .
I GOT SAS IN ONE DRIVE AND CODE NEED TO BE RUN IS OTHER DRIVE

MANY THANKS,
CHANDRA.
Trusted Advisor
Posts: 2,113

Re: SHEDULEING

search support.sas.com for

command line batch windows

and you'll find

http://www2.sas.com/proceedings/forum2008/017-2008.pdf
Ask a Question
Discussion stats
  • 3 replies
  • 128 views
  • 0 likes
  • 2 in conversation