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
Frequent Contributor
Frequent Contributor
Posts: 78
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
PROC Star
Posts: 295

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
PROC Star
Posts: 295

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,887

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
  • 530 views
  • 0 likes
  • 3 in conversation