1.carpenter's books and sample code https://support.sas.com/carpenter https://sasinstitute.redshelf.com/app/ecom/book/1878414/carpenters-complete-guide-to-the-sas-macro-language-third-edition-1878414-9781629592688-art-carpenter
2.user guide
3.SAS Technical Papers https://support.sas.com/rnd/app/stat/papers/index.html