Tom, Very helpful script, very glad I found it. However, it works for me only for character variables. When I have only numerical variables (not mixed with character once) and try to transform them, I have an error: ERROR: Too many variables defined for the dimension(s) specified for the array d. array d {40} drugdose:; do index=1 to 40; drugdoses = d[index]; output; end; What did I miss? Thank you, Val
... View more