BookmarkSubscribeRSS Feed
eugeniothierry
Fluorite | Level 6

Hi,

I need to optimize and simplify an egp, final users have v7.1. 

They asked me to avoid code nodes and keep the project built with simple task blocks, having self-maintenance in mind.

I have two identical branches that run over different periods of time. They need two input prompts each.

For now I isolated those branches in different process flows.

I want users to be able to modify both at the same time if needed.

I wonder if there is a way to loop a sequence of tasks or a process flow.

Thank you!

Eugenio

1 REPLY 1
Kurt_Bremser
Super User

There are always moments where the helpers and wizards run out of steam, and this is one of them.

You cannot loop a node in a process flow back to another node in the same flow. And a node can only be present in one process flow. Using it in another process flow means making a separate copy in that flow that no longer is tied to the original.

To run code repeatedly in one execution, you need to use macro language or other means like CALL EXECUTE, and that means code nodes.

To reuse code, you have to store it in a .sas file and %INCLUDE that wherever needed.

sas-innovate-white.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9.

 

Early bird rate extended! Save $200 when you sign up by March 31.

Register now!

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 523 views
  • 1 like
  • 2 in conversation