Abstract: In the Clinical Trial reporting field we need to write SAS® programs for many activities such as Data Extraction, Data Creation, Report Generation and so on. In many situations, both SAS program file and the output of the program are required for submission. In SAS we can do Metaprogramming using SAS macro. If a SAS macro is already present for these kinds of task then we can generate submission ready SAS code file by using some options with the macro. This paper illustrates how SAS macro options MPRINT and MFILE can be used to generate SAS code file. In addition to these options, this paper explains various techniques required for generation of efficient SAS code. We will show an illustration of SAS graph code generator utility developed using SAS and EXCEL. This paper is intended for experienced SAS programmers who have a basic understanding of the SAS macro language.
Publication Year: 2012
Publication Date: 2012-01-01
Language: en
Type: article
Access and Citation
AI Researcher Chatbot
Get quick answers to your questions about the article from our AI researcher chatbot