Hi Guys, I've lost so much time trying to figure out why something that used to work in the past now it does not. Generally the issue is with the standard ODS html output. I have macros that automatically generates reports. However for some of them the goal is to have 2 procedures outputted into a single html file: This is the code that used to work fine in the past: ODS HTML file = "path\Report1.html"; proc freq data = data; table var1; run; proc freq data = data2; table var5; run; ODS HTML CLOSE; Now it simply creates 2 html files with the output for each of the procedures named Report1.html and Report2.html. I tried to play with the system options but couldn't really figure it out why it does that. I did managed to get them outputted into 1 html with the following code: filename example "path\Report1.html" mod; ODS HTML body=example(nobot) anchor = "first"; proc freq data = data; table var1; run; ODS HTML CLOSE; ODS HTML body=example(notop) anchor = "second"; proc freq data = data2; table var5; run; ODS HTML CLOSE; filename example clear; Nevertheless, the output still does not match the old one in terms positioning among rows and there is also no a separating line between the 2 outputs and since I'm using another VBA macros on those reports it makes everything a mess. If someone could help me out with that, I would be eternally grateful. Thank you in advance. Regards, Georgi
... View more