HI, Closed accounts are to be created by applying condition - ( if M1 = "0-DPD" AND M13=" " THEN IT IS A CLOSED ACCOUNT) - THIS is to be checked for the M13, M14, M15 AND SO ON I want the both the counts and row percentages of each row(m1 value) ending up in a given column( m13 value). /*Sample data*/ DATA TEST; INFILE DATALINES DELIMITER=','; INPUT CUSTOMER_NO M1$ M2$ M3$ M4$ M13$ M14$ M15$ M16$ ; DATALINES ; 1,0-DPD,0-DPD,1-30DPD,0-DPD, ,1-30DPD,31-60DPD,31-6-DPD 2,1-30DPD,0-DPD,1-30DPD,0-DPD,31-60DPD,1-30DPD,31-60DPD,31-6-DPD 3,0-DPD,0-DPD,1-30DPD,0-DPD,1-30DPD,1-30DPD,31-60DPD,31-6-DPD 4,31-60DPD,0-DPD,1-30DPD,0-DPD,0-DPD,1-30DPD,31-60DPD,31-6-DPD 5,91+DPD,61-90DPD,31-60DPD,1-30DPD,31-60DPD,1-30DPD,31-60DPD,31-6-DPD ; RUN;
... View more