DATA Step, Macro, Functions and more

How to turn a data set into a DATA step program in Base SAS

Reply
Frequent Contributor
Posts: 96

How to turn a data set into a DATA step program in Base SAS

Hi there,

I am trying to create data step program by reading an existing table. Apart from DATA to DATA Step Macro by Jedi, is there any way to address the need. 

 

Thank you in advance for your kind reply.

 

Regards,

 

 
Swain
Super User
Posts: 10,476

Re: How to turn a data set into a DATA step program in Base SAS

Don't know about jedi.

 

Instructions here: https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-dat... will show how to turn an existing SAS data set into data step code that can be pasted into a forum code box using the {i} icon or attached as text to show exactly what you have and that we can test code against.

Super User
Posts: 17,776

Re: How to turn a data set into a DATA step program in Base SAS

This code is originally from Mark Jordan aka SAS Jedi. 

 

What specifically about that macro/process doesn't meet your needs? 

 

 

Ask a Question
Discussion stats
  • 2 replies
  • 111 views
  • 0 likes
  • 3 in conversation