DATA Step, Macro, Functions and more

Scheduling SAS Jobs

Not applicable
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,
Super Contributor
Posts: 474

Re: Scheduling SAS Jobs

Posted in reply to deleted_user

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

AT scheduler for Windows:

CRON scheduler for UNIX:

Cheers from Portugal.

Daniel Santos @
Super Contributor
Super Contributor
Posts: 3,176

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.
Not applicable
Posts: 0

Re: Scheduling SAS Jobs

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