Hey buddy, do like this ok
data frequency(keep=admitdate1 where=(admitdate1 between between '01Jan2003'd and
'30Jun2006'd));
input admitdate1 date9.;
format AdmitDate mmddyy10.;
datalines;
01Apr2002
01Apr2004
01Apr2005
01Apr2006
;
title "Frequency of Admissions";
proc print data=frequency ...
Thanks in advance.
Input data is
SampleId sal dob phone
10-1xxx-001 37645 04/23/1978 728364539
10-2xxx-002 38746 05/23/1967 938746355
10-4yyy-511 49875 01/11/1987 938874653
10-2zzz-411 48765...
I just joined a company.They have assigned me a simple job.Here is what it looks like.Please respond
Thanks in advance.Only the difference between input and output is that 10 is replaced by 20,30 and 40 and
all the data sets are concatenated. Plzz help otherwise my job is in danger.
Input data...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.