Wednesday, November 4, 2015

pattern5.InheritByIncludeMacro

/*
The %INCLUDE command can be used in the following contexts:
?Lines can be included from an external named text file
?Files can be included from a SAS Catalog
?Previously submitted lines can be included by number (feeling lucky?)
?Lines can be entered interactively (terminated with a %RUN command)
*/

%include 'E:\ChenyxFiles\2014.Study.TrainingCertificate\SAS.Victoria\SAS.DS2\SASUniversityEdition\myfolders\Macro.OOP\Analysis\prjName\macro\freqmeans.sas';
%include  'E:\ChenyxFiles\2014.Study.TrainingCertificate\SAS.Victoria\SAS.DS2\SASUniversityEdition\myfolders\Macro.OOP\Analysis\prjName\macro\sumdollar.sas';

/*then call the macro*/
%freqmeans;
%sumdollar;

No comments:

Post a Comment