Straightforward Coding (from Fraktal SAS Programming)
Version vom 29. Januar 2014, 16:31 Uhr von Wolf-Dieter Batz (Diskussion | Beiträge) (Wolf-Dieter Batz verschob die Seite Straightforward Coding ( from Fraktal SAS Programming) nach Straightforward Coding (from Fraktal SAS Programming), ohne dabei eine Weiterleitung anzulegen)
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;