Dear all,
am tring to convert all character variables to numeric in my table. I saw a very nice post on SAS support. Which I think will perfectly work for me. My only problem is that I get an error message saying:
ERROR: The length of the value of the macro variable RENAM_LIST (65540) exceeds the maximum length (65534). The value has been truncated to 65534 characters.
proc sql noprint;
select trim(left(name)), trim(left(newname)),
trim(left(newname))||'='||trim(left(name))
into :c_list separated by ' ', :n_list separated by ' ',
:renam_list separated by ' '
from mytable;
quit;
I tried to use length= 65534 behind :renam_list separated by ' '
but it seems to be the wrong syntax. Is it any way possible to assign lengths to c_list, n_list and renam_list here?
Thanks
... View more