Building a SAS Macro is a three step process. First one is Building basic framework. Second one is checking what portion of text is need to generated through parameters. Building the macro through basic frame and parameters.