BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
JonathanV
Fluorite | Level 6

hi,

Im not so much experienced yet but when I need to use "RUN BRANCH'' I have i problem:  When that specific procesflow that I run, includes a datastep to IMPORT a file, that datastep will NOT run AUTOMTICALLY. Everytime. I need to run that step manually.

 

So i maybe found a workaround, and that is to use PROGRAM, to start running this branch and this specific import datastep. To make a long story short; is there a code that i can add in PROGRAM, to start running a specific datastep (in this case, an IMPORT DATASTEP)

 

Thanks!

Jonathan

1 ACCEPTED SOLUTION

Accepted Solutions
ChrisHemedinger
Community Manager

To force a program in the flow to run before other steps, try adding a custom Link to connect the steps.  Right-click on the program and select Link To:

 

ChrisHemedinger_0-1593877699966.png

 

Link it to the immediate next task that needs the program as a prerequisite:

 

ChrisHemedinger_1-1593878357808.png

When you run the flow, EG will ensure the linked objects run in sequence.

SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!

View solution in original post

1 REPLY 1
ChrisHemedinger
Community Manager

To force a program in the flow to run before other steps, try adding a custom Link to connect the steps.  Right-click on the program and select Link To:

 

ChrisHemedinger_0-1593877699966.png

 

Link it to the immediate next task that needs the program as a prerequisite:

 

ChrisHemedinger_1-1593878357808.png

When you run the flow, EG will ensure the linked objects run in sequence.

SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 858 views
  • 1 like
  • 2 in conversation