Desktop productivity for business analysts and programmers

How I can run highlighted one piece code instead of whole program in EG ?

Accepted Solution Solved
Reply
Contributor Ivy
Contributor
Posts: 73
Accepted Solution

How I can run highlighted one piece code instead of whole program in EG ?

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 


Accepted Solutions
Solution
‎04-12-2017 03:05 PM
Super Contributor
Posts: 284

Re: How I can run highlighted one piece code instead of whole program in EG ?

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


All Replies
Solution
‎04-12-2017 03:05 PM
Super Contributor
Posts: 284

Re: How I can run highlighted one piece code instead of whole program in EG ?

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"?

Community Manager
Posts: 2,696

Re: How I can run highlighted one piece code instead of whole program in EG ?

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.

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

Discussion stats
  • 2 replies
  • 181 views
  • 0 likes
  • 3 in conversation