BookmarkSubscribeRSS Feed
Eddie305
Obsidian | Level 7

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

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.

Explore 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
  • 1679 views
  • 0 likes
  • 2 in conversation