BookmarkSubscribeRSS Feed
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. 

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
Opal | Level 21

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.

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.
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



Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

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.

Get the $99 certification deal.jpg



Back in the Classroom!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 4 replies
  • 3 in conversation