1 min read

3 Ways to Convert SAS Datasets to Plain Codes

1. If you have SAS Enterprise Guide installed

Try one of Chris Hemedinger’s EG plug-ins, “_Data Set to DATA Step_”. Chris also wrote a post for it, Turn your data set into a DATA step program.

2. If you need to embed the dataset to SQL Clauses

Use one of Eric Gebhart’s ODS tagsets, “SQL Tagset”.

3. If you want to make your hands dirty…

You can also take a bite of some SAS base codes by Rick Langston. Check out his 2011 paper, Recreating SAS Data Sets via SAS Code Generation.