BookmarkSubscribeRSS Feed
Eddie305
Fluorite | Level 6

Hi all,

Just want to know if anyone has experience using SAS Studio to create a master flow and then run multiple sub-flows to make the master flow as the Job scheduler to run its sub-flows. 

 

My question is how to set the job dependency of these sub-flows (seems that swimlanes is a good starting point) but want to know how to execute two sub-flows in parallel if the up-stream flow is completed.

 

Viya Job and Execute is not suitable for this implementation, and we do not have a plan to install a third-party scheduler like Airflow in our environment.

 

Regards,

Eddie

 

1 REPLY 1
LinusH
Tourmaline | Level 20

I don't have SAS Studio (Viya 4) at my fingertips, but I found a post that shows that in Viya 3.3 it was possible to set the execution mode to Parallel for a flow. I hope they didn't take that option away....?

https://blogs.sas.com/content/sgf/2016/04/06/sas-studio-parallel-process-flows/

 

Otherwise your next best option is to not use the sub flow feature, but rather define your flows dependencies in SAS Job Flow Scheduler:

https://documentation.sas.com/doc/en/sasadmincdc/v_063/caljobs/titlepage.htm

 

 

Data never sleeps

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

Develop Code with SAS Studio

Get started using SAS Studio to write, run and debug your SAS programs.

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
  • 1 reply
  • 1159 views
  • 0 likes
  • 2 in conversation