SAS Tutorial | Creating a Custom Step, Part 3: Coding Your Step

SAS Users
541 views March 31, 2025

In this SAS How To Tutorial (part three of a four-part series) Senior Analytical Training consultant Danny Modlin shows you how to modify code for use in a custom step and how to connect it to the step’s GUI. As always, Danny gives you thoughtful tips to improve the functionality of your code and custom steps. Be sure to explore Danny’s companion blogs, Taking the Next Step in SAS Studio Customization: Part 1 and Part2. The blog posts include the code Danny uses in the video. Copy and paste the code to follow along in your own SAS Studio environment! Taking the Next Step in SAS Studio Customization: Part 1 – https://communities.sas.com/t5/SAS-Communities-Library/Taking-the-Next-Step-in-SAS-Studio-Customization-Part-1/ta-p/902996 Taking the Next Step in SAS Studio Customization: Part 2 – https://communities.sas.com/t5/SAS-Communities-Library/Taking-the-Next-Step-in-SAS-Studio-Customization-Part-2/ta-p/908218 Chapters 00:00 – Introduction 01:33 – Exploring the code 03:35 – Creating the procedure block 05:29 – Creating the PROC line 07:05 – Incorporating options 09:17 – Creating the input lines 12:00 – Alternative approaches 13:05 – Conclusion Blog Posts by Danny ◉ Taking the Next Step in SAS Studio Customization: Part 1 – https://communities.sas.com/t5/SAS-Communities-Library/Taking-the-Next-Step-in-SAS-Studio-Customization-Part-1/ta-p/902996 ◉ Taking the Next Step in SAS Studio Customization: Part 2 – https://communities.sas.com/t5/SAS-Communities-Library/Taking-the-Next-Step-in-SAS-Studio-Customization-Part-2/ta-p/908218 Related Videos ◉ Creating a Custom Step, Part 1: Planning Your Step – https://youtu.be/_wO0Wua9kpg ◉ Creating a Custom Step, Part 2: Building the GUI – https://youtu.be/meFdpcr3BpI ◉ Creating a Custom Step, Part 3: Coding Your Step – current video ◉ Creating a Custom Step, Part 4: Running Your Step – https://youtu.be/OZY1BDazWtA ◉ Create Custom Steps with SAS Studio – https://www.youtube.com/watch?v=yKdCwNLEhUI ◉ How to Download a Custom Step from the SAS GitHub Repository https://www.youtube.com/watch?v=_AoRxXP31N4 SUBSCRIBE TO THE SAS USERS YOUTUBE CHANNEL #SASUsers #LearnSAS https://www.youtube.com/SASUsers?sub_confirmation=1 ABOUT SAS SAS is a trusted analytics powerhouse for organizations seeking immediate value from their data. A deep bench of analytics solutions and broad industry knowledge keep our customers coming back and feeling confident. With SAS®, you can discover insights from your data and make sense of it all. Identify what’s working and fix what isn’t. Make more intelligent decisions. And drive relevant change. CONNECT WITH SAS SAS ► https://www.sas.com SAS Customer Support ► https://support.sas.com SAS Communities ► https://communities.sas.com SAS Analytics Explorers ► https://explorers.sas.com Facebook ► https://www.facebook.com/SASsoftware X ► https://www.twitter.com/SASsoftware LinkedIn ► https://www.linkedin.com/company/sas Blogs ► https://blogs.sas.com RSS ► https://www.sas.com/rss

Keyboard shortcuts

On. Switch them off if they collide with your assistive tools; ? still opens this sheet.

Go to

Press g then the letter.

  • gh Latest
  • gs Sources
  • gm Media
  • gv Videos
  • gp Podcasts
  • gc Calendar
  • gd Decoder
  • gz Dataviz
  • ga Datasets
  • gb Blog
  • gk Markets
  • gj Careers
  • gn Prompt Notebook

On this page

  • / Focus search, where there is one
  • t Back to top
  • ? This list
  • Esc Close