Appendix D: %make_define SAS Macro

%make_define SAS Macro

Additional SAS Code Comments

In this appendix, we present the %make_define SAS macro that is used in Chapter 2 to create the SDTM define.xml and again in Chapter 6 to create the ADaM define.xml. The program is annotated with numbered bullets for additional commentary that appears at the end of this appendix. See support.sas.com/publishing/authors/index.html.

%make_define SAS Macro

*---------------------------------------------------------------*;

* %make_define creates the define.xml file for the SDTM and ADaM.  

* It creates define.xml based on the contents of a set of metadata

* tabs found in an Excel spreadsheet.

*

* PARAMETERS:

*            path = System path to where the SDTM or ADaM ...

Get Implementing CDISC Using SAS now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.