Select Page

Macro Programming is very useful for automating the programming code. It is used when repetion of work is there, in simply manner it avoids the hard coding program. It is a case sensitive so carefully assigned the macro variables, but proper knowledge of SAS is required to write Macro code.

SAS Macro are useful when we want to execute the same set of sas statements again and again. This is the ideal case using macro rather than typing or coping(pasting) sas statements.

Macro is recognized by macro triggers known as Percentage (%) and ampersand (&).There are two components of macro programming

1.Macro

2. Macro variables—- Macro variables are two types named as local and global macro variables

Local macro variables are local in scope by name itself indicating, it is written inside the programming code where as global macro variables are written in anywhere in program means global in scope. To creating macro variable using the following syntax

%let< Macro variable name >= value

%global<macro variable name>= value

%local<Macro variable name>= value

SAS advanced programming certification online class near me

Durga Online Trainer is an offering SAS advanced programming certification online classes in India. If you are looking SAS Online Course near me then you are the top place. Our trainer provides vast knowledge from basic to advance level. So don’t be late join demo classes today.