Hello SAS Community,
My name is Yosia Hadisusanto. I live in Hannover, Germany, and work as a freelance statistical programmer for the pharmaceutical industry.
For my daily work I wanted a SAS editor where I can debug DATA steps and macros, customize it to the way I work, and search and filter a data set easily. So I built one: DataStep Studio, a VS Code extension for SAS programming. It works with SAS OnDemand for Academics and is built for SAS 9.4 servers as well (IOM, the connection SAS Enterprise Guide uses).
I only have access to SAS OnDemand for Academics, so I need others to try and test it: above all with a SAS 9.4 server at their company, and on Windows or Linux. Please tell me what works and what doesn't. More features will come.
Install: in VS Code open Extensions (Ctrl+Shift+X), search DataStep Studio, Install. Marketplace page: https://marketplace.visualstudio.com/items?itemName=datastep-labs.datastep-studio
What it does
proc so + Enter writes the whole PROC SORT with DATA= and BY filled in.%INCLUDE "macros/setup.sas" and relative paths work.age > 14) and Jump to Cursor.The macro debugger
Debugging a macro usually means MPRINT, MLOGIC and %PUT. In DataStep Studio you step through a macro like through any other program:
&name. for its value, or change a value to try another path through the macro.&i. = 3 stops a %DO loop only in its third pass.%EVAL(&n. * 2), or run SAS code inside the paused macro.The picture and the video use a small example: %sum_of_squares(4) adds 1² + 2² + 3² + 4² and calls %square for each number.
Getting started (about 5 minutes)
.sas file and press F4.The full manual is inside VS Code: DataStep Studio: Open Manual, short recipes in Open How-To Guide, and the videos in Watch the 2-Minute Tour and Watch the Macro Debugger Video.
What I would like to know
So far I could test it only with SAS OnDemand for Academics, and mainly on macOS. Reports from SAS 9.4 servers, Windows and Linux are especially welcome.
Please reply here, or use Q & A on the Marketplace page. DataStep Studio: Report a Problem copies an error message with the versions of VS Code, Java, Python and SASPy (home folders hidden) for you to paste.
Your data stays yours
DataStep Studio collects nothing: no telemetry, no usage data. Your code, data and logs go only to your own SAS session. The password stays in your system's keychain.
Editions
Community is always free: all run modes, the log views, the data viewer, the session views, autocomplete, the SAS Server window and project sync.
Professional adds the DATA step and macro debuggers, smart code, Enlarge/Optimize macro calls and Git on the SAS server. During Community Early Access, all Professional features are available free of charge. Early Access is temporary. Professional functionality may require a paid license following the Early Access period. Free Community functionality will remain available.
I am still thinking about how this will look after Early Access. For now, let's build this together and make an awesome SAS editor to work with.
Thank you for trying it!
DataStep Studio is an independent project and is not affiliated with or endorsed by SAS Institute Inc. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc.
For readers, I will point out that SAS developed and maintains an official SAS extension for VS Code.
There is a team of developers who respond to issues, add features, and take suggestions from the community. This official extension connects to SAS 9.4 and SAS Viya, and is used within solutions such as SAS Viya Workbench. Find it in VS Code or on the official marketplace here.
For readers, I will point out that SAS developed and maintains an official SAS extension for VS Code.
There is a team of developers who respond to issues, add features, and take suggestions from the community. This official extension connects to SAS 9.4 and SAS Viya, and is used within solutions such as SAS Viya Workbench. Find it in VS Code or on the official marketplace here.
It's your turn to help shape SAS Innovate 2027. Share your expertise and inspire the SAS community.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.