BookmarkSubscribeRSS Feed
a_ramos
Obsidian | Level 7

How do I remove the auto generated page break in these 2 proc report with html output?

It generates this code snippet that I want to remove: <p style="page-break-after: always;"><br></p>

 

PROC TEMPLATE;
DEFINE TAGSET TAGSET.CUSTOM;
PARENT=TAGSETS.HTML4;
EMBEDDED_STYLESHEET=OFF;
END;
RUN;

ODS TAGSET.CUSTOM FILE=REPORT OPTIONS(PAGEBREAKS="NO");
ODS NOPTITLE NOPROCTITLE;
PROC REPORT DATA=EMAIL_TRAT NOWD HEADLINE HEADSKIP
STYLE(REPORT)= {BACKGROUND = WHITE FONT_SIZE = 8PT FONT_SIZE = 9PT JUST=LEFT}
;RUN;

PROC REPORT DATA=EMAIL_TRAT2 NOWD HEADLINE HEADSKIP
STYLE(REPORT)= {BACKGROUND = WHITE FONT_SIZE = 8PT FONT_SIZE = 9PT JUST=LEFT}
;RUN;
ODS TAGSET.CUSTOM CLOSE;

1 REPLY 1
a_ramos
Obsidian | Level 7

hahaha I'm even ashamed. The problem was the 's'. just set OPTIONS(PAGEBREAK="NO")

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 380 views
  • 0 likes
  • 1 in conversation