SAS Enterprise Guide

Desktop productivity for business analysts and programmers
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.

Register for SAS Innovate 2025!! The premier event for SAS users, May 6-9 in Orlando FL. Sign up now for the best deals!

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

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