DATA Step, Macro, Functions and more

Scheduling SAS Jobs

Reply
N/A
Posts: 0

Scheduling SAS Jobs

Hi All,

I want to run my SAS job in 3rd bank working day of every month, how I can schedule my sas job that will run in 3rd bank working day of every month.

I hope my question is clear ;-)

Please suggest me how can I do that.

Thanks in Advance,
Pradeep.
Super Contributor
Posts: 474

Re: Scheduling SAS Jobs

Posted in reply to deleted_user
Hi.

A costless solution, would be to rely on your operating system scheduler.

AT scheduler for Windows: http://support.microsoft.com/kb/313565

CRON scheduler for UNIX: http://www.rahul.net/raithel/MyBackPages/crontab.html

Cheers from Portugal.

Daniel Santos @ www.cgd.pt
Super Contributor
Super Contributor
Posts: 3,174

Re: Scheduling SAS Jobs

Posted in reply to DanielSantos
To accommodate a "business day" schedule, you must create a process/program that identifies and counts business-day of the month. One method is to determine what days-of-the-week you consider to be business days (not presuming a Monday through Friday schedule), then also define a SAS format that lists the holidays of the year, then also define/test for fixed-dates of every year that are also considered holidays.

With this information and using a SAS program, you can count from the start-date of any month (using the INTNX function) and determine what date is considered the relative third business date of the month.

Scott Barry
SBBWorks, Inc.
N/A
Posts: 0

Re: Scheduling SAS Jobs

Thanks Daniel and sbb :-)
Ask a Question
Discussion stats
  • 3 replies
  • 160 views
  • 0 likes
  • 3 in conversation