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.

Learn from the Experts! Check out the huge catalog of free sessions in the Ask the Expert webinar series.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 33066 views
  • 2 likes
  • 3 in conversation