I think you have left out ODS ESCAPECHAR
Here are the first four lines, which work for me
%let pgm = l_test ;
ods escapechar='^';
ods tagsets.rtf file = "abc.rtf";
proc report nowd data=class
PS: In the future, please do not attach files. Any time you need to show us output, make a screen capture and include it in your reply using the "Insert Photos" icon, which looks like a little camera. In particular, many people refuse to download Microsoft Office documents as they can besecurity threats.
... View more