Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives.

** Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives. **

There are bascially 2 ways to share data among procedures and data steps in SAS. The first way is to use datasets (or SQL table/views), and the second way is to use global macro variables. None of the solutions are elegant in my opinion as both datasets and global variables are “global”, however, that is you what you can do in SAS.