DATA Step, Macro, Functions and more

Multi Thread/Instance

Reply
Occasional Learner
Posts: 1

Multi Thread/Instance

I currently have a SAS EG project that loops though a list of other projects - of which there are around 30 - and runs them sequentially throughout the day.

It’s just a simple DO loop that uses %INCLUDE to run the selected project during the loop.

I was wondering whether it was possible to run these projects from within the loop using separate threads in order to cut down the run time of the overall project?
Super Contributor
Posts: 280

Re: Multi Thread/Instance

Hi,

 

You can use SYSTASK within your Macro Loop. Here a Paper on this topic More Th an Batch – A P roduction SAS ® Framework

 

Hope this helps,

Ahmed

Ask a Question
Discussion stats
  • 1 reply
  • 42 views
  • 1 like
  • 2 in conversation