*EZincinc1st01.sps 12-29-2003 FY 2001 *Creates output for the first footnote on the last page of the profile. *This gives the number of children in care on the first day but counted as entries because they left and returned during the report period. get file='c:\cfsr\EZdata\EZentry01c.sav'. if ((totalrem=2) and ((yrmoda(rem1yr,rem1mo,rem1da)<= yrmoda(2000,09,30)) and (yrmoda(dlstfcyr,dlstfcmo,dlstfcda)>=yrmoda(2000,10,01))))inc=1. FILTER OFF. USE ALL. SELECT IF((YRMODA(latremyr,latremmo,latremda) <= yrmoda(2000,09,30)) or (inc=1)). EXECUTE . FILTER OFF. USE ALL. SELECT IF((inc=1) | ((YRMODA(dodfcyr,dodfcmo,dodfcda) >= yrmoda(2000,10,01)) | (MISSING(dodfcyr) & MISSING(dodfcmo) & MISSING(dodfcda)))). execute. FREQUENCIES VARIABLES=inc /ORDER ANALYSIS .