BookmarkSubscribeRSS Feed
Citrine10
Obsidian | Level 7

hi there

Is there a way for me to code something in SAS that will go through the various jobs running on Flow Manager. If for example 4 programs are running then I want it to exit before starting a new instance.

This is to reduce the strain on our service therefore I would like to keep a log and control the jobs with a sas program instructing the jobs. 

4 REPLIES 4
LinusH
Tourmaline | Level 20

Not sure exactly what your reuirements are, but aren't defining dependencies etc a way of controlling just that?

By coding on the side you'll might end up with two points of control, and a grey zone on what the scheduler does, and your programs.

For specfic dependencies that is hard to define in Flow Manager/scheduler, you could absolutely write programs/build DI Studio jobs that could end in a return code of your cohice, hence imapcting the rest of the flow.

Data never sleeps
SASKiwi
PROC Star

I believe there is an option to limit the number of jobs running at the same time if that is what you mean. New jobs will just stay in a waiting state until a running job finishes.

Citrine10
Obsidian | Level 7
Thank you, how do I limit them? Is there a way for when a job is exited, the next one runs based on a condition e.g. if condition = true (job ran successfully) then program can continue else if indicator is false then exit.
LinusH
Tourmaline | Level 20

Oh, so you are using IBM Platform Suite for SAS as a scheduiler?

What version, and what license do  you have?

Platform (or Spectrum LSF) have support for prioritization and queues (depending on your license).

Data never sleeps

sas-innovate-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 4 replies
  • 1134 views
  • 0 likes
  • 3 in conversation