Straightforward Coding (from Fraktal SAS Programming)

Aus phenixxenia.org
Zur Navigation springen Zur Suche springen

Because it is the most prominent type in a professional senior SAS programmer’s life’s production (the Oeuvre), we will describe SAS Macro ("MACRO") coding as 1st segment type.

As we remember from the run group segment type example, code segments are verbatim encapsulated by an initializing statement that is accompanied by a corresponding termination statement. MACRO definitions are defined by using these two specific statements:

%MACRO name;
program code
%MEND name;
%NAME;