Where do I find the DATA step debugger on SAS Studio? Is there one, or its only for SAS EG?
Thanks!
SAS Studio now offers the DATA step debugger. It's part of the SAS Viya versions of SAS Studio, which includes SAS Studio 5.2, and then all versions of SAS Viya 2020.1 and later. You can start the Debugger by clicking Debug on the toolbar in the program window, then click the "bug" icon in the margin area. Here are screenshots:
For earlier versions of SAS Studio, you may want to try KurtBremser's recommendation from this post https://communities.sas.com/t5/SAS-Analytics-U/Debug-option-in-Data-Step-does-not-work/td-p/197405
As you know, you can also use the DATA step debugger in SAS Enterprise Guide. Here are a few more resources that may interest you as well on this topic:
SAS Studio now offers the DATA step debugger. It's part of the SAS Viya versions of SAS Studio, which includes SAS Studio 5.2, and then all versions of SAS Viya 2020.1 and later. You can start the Debugger by clicking Debug on the toolbar in the program window, then click the "bug" icon in the margin area. Here are screenshots:
For earlier versions of SAS Studio, you may want to try KurtBremser's recommendation from this post https://communities.sas.com/t5/SAS-Analytics-U/Debug-option-in-Data-Step-does-not-work/td-p/197405
As you know, you can also use the DATA step debugger in SAS Enterprise Guide. Here are a few more resources that may interest you as well on this topic:
Thank you! I do not have SAS EG, only Studio.
Use the put statements. For example,
data storm_complete;
set pg2.storm_summary_small(obs=5);
putlog "Putlog after set statement";
put _all_;
run;
produces the following in the log
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.
Find more tutorials on the SAS Users YouTube channel.