I have a dataset 'wineA', here is the code I have to use, but I cannot read this dataset. I need some help with adding the code of reading 'wineA' into the following code. data wineA2; input dummy $ @@; length gender $ 1; n_char = length(dummy); gender = substr(dummy,n_char,1); age = substr(dummy,1,n_char-1); if last eq 'F' then Female=input(first,5.); else if last eq 'M' then Male=input(first,5.); run; proc print data=wineA2; run;
... View more