Cynthia, Thank you for your reply. Yes, I have changed the output to html in EG. My string is of the following format. I tried it by using the code you have provided. proc print data=sashelp.class (obs=2); run; %let str2=%str(aaaaaaaaaaaaaaaaaaaaaaaaaaaaa, bbbbbbbb, bbbbbbb - c.e. fffffffffffffffffffffffff. ggg g'h hhhh. iiiiiiiiiiiiiiiiii. Jjjjjjjjjjj. kkkkk, llllllll, mmmm.); ODS text="&str2"; Also tried with ODS html text. I do not get any result or an error message. It just keeps on running. Not sure if it was required but I also tried masking the special characters in the string. That didn't work either. Vikas
... View more