BookmarkSubscribeRSS Feed
shparber_m
Fluorite | Level 6

I have two branches in my EG Process Flow, that start from the same table.

I want one branch to run and another one not to run based on a condition or a parameter.

For example, if &rear_run=1 then Brach A runs else Branch B runs.

How do I do it?

Thank you

1 REPLY 1
andreas_lds
Jade | Level 19

Depending on the version of EG used, there should be an option to add condition when you right-click on a program. For more information, please have a look at the docs: https://documentation.sas.com/doc/en/egdoccdc/8.2/egug/p13s5c5jc3zgo3n18q122ixerw9v.htm

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

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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