Post your complete(*) question in a new thread of your own.
*) Include your code, and the entire log of the failing step. Unless you use one of the SASHELP datasets, post example data in a data step with datalines.
... View more
Just as Art.T said. You just need to change a little code like: if gender= 'F' then _gender = 0; else if gender= 'M' then _gender = 1; else if gender= 'U' then _gender = -1; drop gender; run; Ksharp
... View more
Good catch Mike. If these are indeed $4 cause of death codes then the OP must be sure to understand the usage of the : comparison modifier.
... View more