folks, could you please tell me which function to use to correct the name sothat either I get rid of ; and , or replace ; with , and use translate function in my output .csv file? I am unable to read the data to begin with. thanks in advance. data check; input name $150.; name_correct=compress(name,'',''); cards; daniel - height 72 inches, weight 250 pounds;race african american jack - height 60 inches, weight 150 pounds,race Caucasian Lee - height 75 inches, weight 175 pounds,race mixed ; run; data _null_; set check; file "path.csv"; put 'demographics'; put 'name'; run;
... View more