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

Hello, 

 

I just swiched from PC SAS to SAS EG 7.1.

I tried to run code step by step, however EG run the whole program instead of  highlighted part of program.

 

I am wondering the solution of this.

 

Thank you very much, 
Ivy 

1 ACCEPTED SOLUTION

Accepted Solutions
collinelliot
Barite | Level 11

If you highlight a section of code and hit F3, it doesn't run just the selected segment? Or right click and say "run selection"?

View solution in original post

2 REPLIES 2
collinelliot
Barite | Level 11

If you highlight a section of code and hit F3, it doesn't run just the selected segment? Or right click and say "run selection"?

ChrisHemedinger
Community Manager

As @collinelliot says, highlight and F3 should do it.  Note that you have to run complete steps (procs or DATA step or macro/global statements).  You can't run partial steps within EG.


If you're looking to debug a DATA step (run one line at a time and inspect results), check out the DATA step debugger.

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

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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
  • 2 replies
  • 34718 views
  • 2 likes
  • 3 in conversation