1. If you have SAS Enterprise Guide installed
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.