I am struggling to put the value of an array into a put statement array newvar [*] var1 var2; array oldvar [*] _var1 _var2; do i=1 to dim(newvar); newvar(i)=oldvar(i); if length(oldvar(i)) >10 then put 'ALERT P: ' newvar(I) ' is over 200 characters for subject ' subject; end; Each time I do this it resolves to value of var1 rather than 'var1'.
... View more