Ignore the original post. Found the trick. Replace original PUT with:
%scan(&vars,&varn)=compress(%scan(&vars,&varn),'"');
put q+(-1) "%scan(&vars,&varn)" q+(-1) ' : ' q+(-1) %scan(&vars,&varn) +(-1) q+(-1);
where q = '"'
... View more
Pardon the newbie question! Thru trial and error I've gotten to this statement:
%bquote(put) "%scan(&vars,&varn)" %scan(&vars,&varn);
which gives me output like:
PATID00136201
almost what I want, but I need it formatted as:
"PATID" : "00136201"
Any help greatly appreciated!
... View more