Thank you Paul, This works.
One more question taht you very likely know how to answer.
Your input code to read the SAS dataset is:
input date_all :mmddyy. (date_c1 C1 date_c2 C2 date_c3 C3 date_c4 C4 ) (:mmddyy10. :32.);
You had 3 variables (C1,C2, C3), I just added one more to see if I could run your code with one more variable, and I did. But I need to add 470 more variables C1., C2,......C470 and the corresponding dates date_c1 ... date_c470
Do you know how to write a simple input statement to read the 470 variables and dates ?
Thank you again.
Tomas
... View more