program define sascfa,eclass
version 11.0
syntax anything [if] [in] ,partition(numlist) varname(string) lisrel(string) [batch]
preserve
*%macro CFA (dataset= , listeItems= , partition= , varname= , lisrel=);

tosas `if' `in' , pgm(%include 'C:\ado\macros SAS\MACRO cfa.sas';%CFA(dataset=stata,listeItems=`anything', partition=`partition', varname=`varname',lisrel=`lisrel');) `batch'


end
