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

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



Secure your spot at the must-attend AI and analytics event of 2024: SAS Innovate 2024! Get ready for a jam-packed agenda featuring workshops, super demos, breakout sessions, roundtables, inspiring keynotes and incredible networking events.


Register by March 1 to snag the Early Bird rate of just $695! Don't miss out on this exclusive offer. 


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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

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