Thank you for your answer and your time. I tried to put ODS HTML but did not succeed in having a good output. So I will show it (in my first post my question was regarding formatting and the problem below is what I'm referring to - problem with borders).
My code that creates the PDF file consists only of ODS TEXT statements and PROC REPORT (multiple). Nothing else, I checked.
My current output looks like the attached file (an example).
As you can see there are borders around the text (ODS TEXT statements) but none for the tables (PROC REPORT part).
Ideally, I would like these borders to disappear for the ODS TEXT part and get some borders for the PROC REPORT part.
Thank you very much for your help.