<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: First page is blank when using page break, define option PAGE, and LINE command in compute block in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/First-page-is-blank-when-using-page-break-define-option-PAGE-and/m-p/961849#M374948</link>
    <description>Thanks for your reply!&lt;BR /&gt;Could you please tell how to force repagination? I couldn't find anything about it.</description>
    <pubDate>Fri, 14 Mar 2025 07:09:27 GMT</pubDate>
    <dc:creator>RooRoo</dc:creator>
    <dc:date>2025-03-14T07:09:27Z</dc:date>
    <item>
      <title>First page is blank when using page break, define option PAGE, and LINE command in compute block</title>
      <link>https://communities.sas.com/t5/SAS-Programming/First-page-is-blank-when-using-page-break-define-option-PAGE-and/m-p/961533#M374854</link>
      <description>&lt;P&gt;Hello eveyone!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use SAS Enterprise Guide 8.5 with and have been struggling with the following issue for a few days.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I run the code below:&lt;/P&gt;&lt;PRE&gt;DATA AAA;
	SET SASHELP.CARS;
	PAGE_NO = FLOOR((_n_-1)/15)+1;
RUN;


ODS RTF(ID=INDA) FILE= "\\app01.icrc.local\Share\Projects\ROX_795_SC-332A\Biostatistics\Prog\A.rtf" CONTENTS=YES STARTPAGE=YES TOC_DATA;
PROC REPORT DATA=AAA(obs=100);
	COLUMNS PAGE_NO Make Model Type Origin DriveTrain MSRP Invoice EngineSize Cylinders Horsepower MPG_City MPG_Highway;
	DEFINE PAGE_NO / ORDER NOPRINT contents="";
	DEFINE Make / ORDER NOPRINT;
	DEFINE Model / 		DISPLAY ID STYLE(COLUMN)={CELLWIDTH=1IN};
	DEFINE Type / 		DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN};
	DEFINE Origin / 	DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN};
	DEFINE DriveTrain / DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN};
	DEFINE MSRP / 		DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN};
	DEFINE Invoice / 	DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN} contents="" PAGE;
	DEFINE EngineSize / DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN};
	DEFINE Cylinders / 	DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN};
	DEFINE Horsepower / DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN};
	DEFINE MPG_City / 	DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN};
	DEFINE MPG_Highway /DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN};

	COMPUTE BEFORE Make;
		LINE @1 " ";
		LINE @1 Make $16.;
		LINE @1 " ";
	ENDCOMP;

	break before page_no / page contents="";

	compute after _page_;
		line "Some text";
		line "Some other text";
	endcomp;

	compute after;
		line "End of Table";
	endcomp;


RUN;
ODS RTF(ID=INDA) CLOSE;&lt;/PRE&gt;&lt;P&gt;My purpose is to produce a report:&lt;/P&gt;&lt;P&gt;1) With page breaks (hence the line &lt;STRONG&gt;&lt;EM&gt;break before page_no / page&lt;/EM&gt;&lt;/STRONG&gt;);&lt;/P&gt;&lt;P&gt;2) With footnotes in every page and a messege in the end of table;&lt;/P&gt;&lt;P&gt;3) With page breakes before the column Invoice (hence &lt;EM&gt;&lt;STRONG&gt;DEFINE Invoice / ... PAGE&lt;/STRONG&gt;&lt;/EM&gt;);&lt;/P&gt;&lt;P&gt;4) With a line before every new group (hence the &lt;EM&gt;&lt;STRONG&gt;COMPUTE BEFORE Make&lt;/STRONG&gt;&lt;/EM&gt; block);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is that the generated report has the first page empty:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bild1.png" style="width: 605px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/105337i2D53B06A2561A3D2/image-size/large?v=v2&amp;amp;px=999" role="button" title="Bild1.png" alt="Bild1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Everything else works fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried some approaches. So, replacing &lt;STRONG&gt;&lt;EM&gt;break before page_no / page&lt;/EM&gt;&lt;/STRONG&gt; with &lt;STRONG&gt;&lt;EM&gt;break after page_no / page&amp;nbsp;&lt;/EM&gt;&lt;/STRONG&gt;solves this problem, but creates other ones (for example empty pages in the end).&lt;/P&gt;&lt;P&gt;Also, deleting the &lt;EM&gt;&lt;STRONG&gt;COMPUTE BEFORE Make&lt;/STRONG&gt;&lt;/EM&gt; block make thing better. But unfortunately, the line before every group is required.&lt;/P&gt;&lt;P&gt;Of course reducing column width (so that all columns fit in one page) helps too, but in real projects we often have reports with many columns.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope someone could help me with good advice. Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Tue, 11 Mar 2025 11:27:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/First-page-is-blank-when-using-page-break-define-option-PAGE-and/m-p/961533#M374854</guid>
      <dc:creator>RooRoo</dc:creator>
      <dc:date>2025-03-11T11:27:04Z</dc:date>
    </item>
    <item>
      <title>Re: First page is blank when using page break, define option PAGE, and LINE command in compute block</title>
      <link>https://communities.sas.com/t5/SAS-Programming/First-page-is-blank-when-using-page-break-define-option-PAGE-and/m-p/961622#M374882</link>
      <description>That is because you used PAGE option.&lt;BR /&gt;Get rid of this option:&lt;BR /&gt;DEFINE Invoice / 	DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN} contents="" PAGE;&lt;BR /&gt;---&amp;gt;&lt;BR /&gt;DEFINE Invoice / 	DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN} ;</description>
      <pubDate>Wed, 12 Mar 2025 03:03:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/First-page-is-blank-when-using-page-break-define-option-PAGE-and/m-p/961622#M374882</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2025-03-12T03:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: First page is blank when using page break, define option PAGE, and LINE command in compute block</title>
      <link>https://communities.sas.com/t5/SAS-Programming/First-page-is-blank-when-using-page-break-define-option-PAGE-and/m-p/961623#M374883</link>
      <description>&lt;P&gt;Or you could try wide layout by using "options orientation=" . And &lt;STRONG&gt;delete "ID" and "PAGE" option in DEFINE&lt;/STRONG&gt; statement.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;options orientation=landscape;&lt;/STRONG&gt;&lt;BR /&gt;ODS RTF(ID=INDA) FILE=.........................&lt;/P&gt;</description>
      <pubDate>Wed, 12 Mar 2025 03:19:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/First-page-is-blank-when-using-page-break-define-option-PAGE-and/m-p/961623#M374883</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2025-03-12T03:19:19Z</dc:date>
    </item>
    <item>
      <title>Re: First page is blank when using page break, define option PAGE, and LINE command in compute block</title>
      <link>https://communities.sas.com/t5/SAS-Programming/First-page-is-blank-when-using-page-break-define-option-PAGE-and/m-p/961632#M374887</link>
      <description>Thanks for your reply!&lt;BR /&gt;&lt;BR /&gt;Unfortunately, it wouldn't be enough to change the orientation because, as mentioned in the post, sometimes we have many columns, so that even the landscape orientation is not enough.&lt;BR /&gt;&lt;BR /&gt;And as all the columns don't fit in one page, removing ID and PAGE options is not a good option, without them the output is pretty chaotic.&lt;BR /&gt;&lt;BR /&gt;As is, ID and PAGE options work just fine, but only adding extra lines with "COMPUTE AFTER Make" block creates the issue, and only on the first page.&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Mar 2025 06:19:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/First-page-is-blank-when-using-page-break-define-option-PAGE-and/m-p/961632#M374887</guid>
      <dc:creator>RooRoo</dc:creator>
      <dc:date>2025-03-12T06:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: First page is blank when using page break, define option PAGE, and LINE command in compute block</title>
      <link>https://communities.sas.com/t5/SAS-Programming/First-page-is-blank-when-using-page-break-define-option-PAGE-and/m-p/961646#M374889</link>
      <description>&lt;P&gt;Interesting. You could try BY statement instead of PAGE option.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;DATA AAA;
	SET SASHELP.CARS;
	PAGE_NO = FLOOR((_n_-1)/15)+1;
RUN;

&lt;STRONG&gt;option nobyline;&lt;/STRONG&gt;
ODS RTF(ID=INDA) FILE= "c:\temp\A.rtf" CONTENTS=YES STARTPAGE=YES TOC_DATA;
PROC REPORT DATA=AAA(obs=100);
&lt;STRONG&gt;by PAGE_NO;&lt;/STRONG&gt;
	COLUMNS &lt;STRONG&gt;/* PAGE_NO */&lt;/STRONG&gt; Make Model Type Origin DriveTrain MSRP Invoice EngineSize Cylinders Horsepower MPG_City MPG_Highway;
&lt;STRONG&gt;/*	DEFINE PAGE_NO / ORDER NOPRINT ;*/&lt;/STRONG&gt;
	DEFINE Make / ORDER NOPRINT;
	DEFINE Model / 		DISPLAY ID STYLE(COLUMN)={CELLWIDTH=1IN};
	DEFINE Type / 		DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN};
	DEFINE Origin / 	DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN};
	DEFINE DriveTrain / DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN};
	DEFINE MSRP / 		DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN};
	DEFINE Invoice / 	DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN}  PAGE;
	DEFINE EngineSize / DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN};
	DEFINE Cylinders / 	DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN};
	DEFINE Horsepower / DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN};
	DEFINE MPG_City / 	DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN};
	DEFINE MPG_Highway /DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN};

	COMPUTE BEFORE Make;
		LINE @1 " ";
		LINE @1 Make $16.;
		LINE @1 " ";
	ENDCOMP;

&lt;STRONG&gt;/*	break before page_no / page contents="";*/&lt;/STRONG&gt;

	compute after _page_;
		line "Some text";
		line "Some other text";
	endcomp;

	compute after;
		line "End of Table";
	endcomp;


RUN;
ODS RTF(ID=INDA) CLOSE;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_0-1741765308689.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/105364i7C0924C9A44624DB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1741765308689.png" alt="Ksharp_0-1741765308689.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Mar 2025 07:46:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/First-page-is-blank-when-using-page-break-define-option-PAGE-and/m-p/961646#M374889</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2025-03-12T07:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: First page is blank when using page break, define option PAGE, and LINE command in compute block</title>
      <link>https://communities.sas.com/t5/SAS-Programming/First-page-is-blank-when-using-page-break-define-option-PAGE-and/m-p/961648#M374890</link>
      <description>&lt;P&gt;Thanks for the idea!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But looks like it doesn't work as desired.&lt;/P&gt;&lt;P&gt;First, it produces the line "End of Table" on every page instead of the actual end of the table.&lt;/P&gt;&lt;P&gt;Second, on some pages data appear even after the footnotes.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pic.png" style="width: 963px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/105365i8C127C7FFE2F37E7/image-size/large?v=v2&amp;amp;px=999" role="button" title="pic.png" alt="pic.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Mar 2025 08:18:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/First-page-is-blank-when-using-page-break-define-option-PAGE-and/m-p/961648#M374890</guid>
      <dc:creator>RooRoo</dc:creator>
      <dc:date>2025-03-12T08:18:02Z</dc:date>
    </item>
    <item>
      <title>Re: First page is blank when using page break, define option PAGE, and LINE command in compute block</title>
      <link>https://communities.sas.com/t5/SAS-Programming/First-page-is-blank-when-using-page-break-define-option-PAGE-and/m-p/961652#M374891</link>
      <description>&lt;P&gt;OK. you could make a macro to workaround with this question.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;DATA AAA;
	SET SASHELP.CARS(obs=100);
RUN;
proc sort data=AAA;
by Make;
run;
proc freq data=AAA noprint;
table Make/out=levels;
run;
data _null_;
 set levels;
 call symputx('last',Make);
run;






%macro report(level=);
PROC REPORT DATA=AAA;
where Make="&amp;amp;level.";
	COLUMNS  Make Model Type Origin DriveTrain MSRP Invoice EngineSize Cylinders Horsepower MPG_City MPG_Highway;
	DEFINE Make / ORDER NOPRINT;
	DEFINE Model / 		DISPLAY ID STYLE(COLUMN)={CELLWIDTH=1IN};
	DEFINE Type / 		DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN};
	DEFINE Origin / 	DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN};
	DEFINE DriveTrain / DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN};
	DEFINE MSRP / 		DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN};
	DEFINE Invoice / 	DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN}  PAGE;
	DEFINE EngineSize / DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN};
	DEFINE Cylinders / 	DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN};
	DEFINE Horsepower / DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN};
	DEFINE MPG_City / 	DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN};
	DEFINE MPG_Highway /DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN};

	COMPUTE BEFORE Make;
		LINE @1 " ";
		LINE @1 Make $16.;
		LINE @1 " ";
	ENDCOMP;


	compute after _page_;
		line "Some text";
		line "Some other text";
	endcomp;

%if &amp;amp;level.=&amp;amp;last. %then %do;
	compute after;
		line "End of Table";
	endcomp;
%end;
RUN;
%mend;



ODS RTF(ID=INDA) FILE= "c:\temp\A.rtf" CONTENTS=YES STARTPAGE=YES TOC_DATA;
data _null_;
 set levels;
 call execute(catt('%report(level=',Make,')'));
run;
ODS RTF(ID=INDA) CLOSE;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_0-1741768876498.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/105366i3282F66CA4117351/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1741768876498.png" alt="Ksharp_0-1741768876498.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Mar 2025 08:41:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/First-page-is-blank-when-using-page-break-define-option-PAGE-and/m-p/961652#M374891</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2025-03-12T08:41:25Z</dc:date>
    </item>
    <item>
      <title>Re: First page is blank when using page break, define option PAGE, and LINE command in compute block</title>
      <link>https://communities.sas.com/t5/SAS-Programming/First-page-is-blank-when-using-page-break-define-option-PAGE-and/m-p/961655#M374892</link>
      <description>&lt;P&gt;"compute after " would execute before "compute after _page_" , you would get reverse order of text , try to combine them together.&lt;/P&gt;
&lt;PRE&gt;DATA AAA;
	SET SASHELP.CARS(obs=200);
RUN;
proc sort data=AAA;
by Make;
run;
proc freq data=AAA noprint;
table Make/out=levels;
run;
data _null_;
 set levels;
 call symputx('last',Make);
run;






%macro report(level=);
PROC REPORT DATA=AAA nowd;
where Make="&amp;amp;level.";
	COLUMNS  Make Model Type Origin DriveTrain MSRP Invoice EngineSize Cylinders Horsepower MPG_City MPG_Highway;
	DEFINE Make / ORDER NOPRINT;
	DEFINE Model / 		DISPLAY ID STYLE(COLUMN)={CELLWIDTH=1IN};
	DEFINE Type / 		DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN};
	DEFINE Origin / 	DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN};
	DEFINE DriveTrain / DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN};
	DEFINE MSRP / 		DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN};
	DEFINE Invoice / 	DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN}  PAGE;
	DEFINE EngineSize / DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN};
	DEFINE Cylinders / 	DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN};
	DEFINE Horsepower / DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN};
	DEFINE MPG_City / 	DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN};
	DEFINE MPG_Highway /DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN};

	COMPUTE BEFORE Make;
		LINE @1 " ";
		LINE @1 Make $16.;
		LINE @1 " ";
	ENDCOMP;


	compute after _page_;
		line "Some text";
		line "Some other text";

&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;%if &amp;amp;level.=&amp;amp;last. %then %do;
                line " ";
		line "End of Table";
%end;&lt;/STRONG&gt;&lt;/FONT&gt;
	endcomp;

RUN;
%mend;



ODS RTF(ID=INDA) FILE= "c:\temp\A.rtf" CONTENTS=YES STARTPAGE=YES TOC_DATA;
data _null_;
 set levels;
 call execute(catt('%report(level=',Make,')'));
run;
ODS RTF(ID=INDA) CLOSE;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_0-1741769762522.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/105367i3299E300D2F5DF5E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1741769762522.png" alt="Ksharp_0-1741769762522.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Mar 2025 08:56:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/First-page-is-blank-when-using-page-break-define-option-PAGE-and/m-p/961655#M374892</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2025-03-12T08:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: First page is blank when using page break, define option PAGE, and LINE command in compute block</title>
      <link>https://communities.sas.com/t5/SAS-Programming/First-page-is-blank-when-using-page-break-define-option-PAGE-and/m-p/961675#M374895</link>
      <description>&lt;P&gt;Thanks for your effort!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But there's still some issues.&lt;/P&gt;&lt;P&gt;First, the line 'End of Table' is seen on the two last pages instead of only the last one.&lt;/P&gt;&lt;P&gt;Besides, for groups with few entries thewe will be pages with too much empty space, whereas groups with too many entries would cause other problems. This why controlled page breaks are important here.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Mar 2025 14:05:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/First-page-is-blank-when-using-page-break-define-option-PAGE-and/m-p/961675#M374895</guid>
      <dc:creator>RooRoo</dc:creator>
      <dc:date>2025-03-12T14:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: First page is blank when using page break, define option PAGE, and LINE command in compute block</title>
      <link>https://communities.sas.com/t5/SAS-Programming/First-page-is-blank-when-using-page-break-define-option-PAGE-and/m-p/961738#M374905</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/474125"&gt;@RooRoo&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Thanks for your effort!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But there's still some issues.&lt;/P&gt;
&lt;P&gt;First, the line 'End of Table' is seen on the two last pages instead of only the last one.&lt;/P&gt;
&lt;P&gt;Besides, for groups with few entries thewe will be pages with too much empty space, whereas groups with too many entries would cause other problems. This why controlled page breaks are important here.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Hint: when trying to create an exact appearance then provide an example of what the desired appearance actually is, as in a manually created document. That way we can tell if the result of a code suggestion does not actually meet requirement. Without a clear requirement you will get many "close but not quite" because we don't know the actual requirement.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Mar 2025 01:28:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/First-page-is-blank-when-using-page-break-define-option-PAGE-and/m-p/961738#M374905</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2025-03-13T01:28:54Z</dc:date>
    </item>
    <item>
      <title>Re: First page is blank when using page break, define option PAGE, and LINE command in compute block</title>
      <link>https://communities.sas.com/t5/SAS-Programming/First-page-is-blank-when-using-page-break-define-option-PAGE-and/m-p/961740#M374906</link>
      <description>&lt;DIV&gt;"First, the line 'End of Table' is seen on the two last pages instead of only the last one."&lt;/DIV&gt;
&lt;DIV&gt;Then using&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;PRE&gt;ODS TEXT='xxxxxxxx' ;&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;DIV&gt;to generate the last line&amp;nbsp; 'End of Table' at end of report, and get rid of&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;PRE&gt;%if &amp;amp;level.=&amp;amp;last. %then %do;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; line " ";
line "End of Table";
%end;&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;"&lt;SPAN&gt;Besides, for groups with few entries thewe will be pages with too much empty space, whereas groups with too many entries would cause other problems. This why controlled page breaks are important here."&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;You could use&amp;nbsp;STARTPAGE=NO to get compact layout.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;And you could also combine the page breaks and macro together.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;PRE&gt;DATA AAA;
	SET SASHELP.CARS;
RUN;
&lt;STRONG&gt;proc sort data=AAA;
by Make;
run;&lt;/STRONG&gt;
&lt;STRONG&gt;data AAA;
 set AAA;
 PAGE_NO = FLOOR((_n_-1)/15)+1;
run;&lt;/STRONG&gt;


proc sort data=AAA;
by Make;
run;
proc freq data=AAA noprint;
table Make/out=levels;
run;







%macro report(level=);
PROC REPORT DATA=AAA nowd;
where Make="&amp;amp;level.";
	COLUMNS PAGE_NO Make Model Type Origin DriveTrain MSRP Invoice EngineSize Cylinders Horsepower MPG_City MPG_Highway;
	DEFINE PAGE_NO / ORDER NOPRINT;
	DEFINE Make / ORDER NOPRINT;
	DEFINE Model / 		DISPLAY ID STYLE(COLUMN)={CELLWIDTH=1IN};
	DEFINE Type / 		DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN};
	DEFINE Origin / 	DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN};
	DEFINE DriveTrain / DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN};
	DEFINE MSRP / 		DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN};
	DEFINE Invoice / 	DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN}  PAGE;
	DEFINE EngineSize / DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN};
	DEFINE Cylinders / 	DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN};
	DEFINE Horsepower / DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN};
	DEFINE MPG_City / 	DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN};
	DEFINE MPG_Highway /DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN};

	COMPUTE BEFORE Make;
		LINE @1 " ";
		LINE @1 Make $16.;
		LINE @1 " ";
	ENDCOMP;


	compute after Make;
		line "Some text";
		line "Some other text";
	endcomp;
&lt;STRONG&gt;break&lt;/STRONG&gt; &lt;STRONG&gt;after&lt;/STRONG&gt; page_no / page contents="";
RUN;
%mend;



ODS RTF(ID=INDA) FILE= "c:\temp\A.rtf" CONTENTS=YES &lt;STRONG&gt;STARTPAGE=NO&lt;/STRONG&gt; TOC_DATA;
data _null_;
 set levels;
 call execute(catt('%report(level=',Make,')'));
run;
&lt;STRONG&gt;ods text='End of Table';&lt;/STRONG&gt;
ODS RTF(ID=INDA) CLOSE;
&lt;/PRE&gt;
&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_0-1741829379029.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/105389i0AF0A5E0879C8C20/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1741829379029.png" alt="Ksharp_0-1741829379029.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Thu, 13 Mar 2025 01:29:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/First-page-is-blank-when-using-page-break-define-option-PAGE-and/m-p/961740#M374906</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2025-03-13T01:29:44Z</dc:date>
    </item>
    <item>
      <title>Re: First page is blank when using page break, define option PAGE, and LINE command in compute block</title>
      <link>https://communities.sas.com/t5/SAS-Programming/First-page-is-blank-when-using-page-break-define-option-PAGE-and/m-p/961743#M374907</link>
      <description>&lt;P&gt;And I also found you could get job done with your original code by this one:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;DATA AAA;
	SET SASHELP.CARS;
RUN;
&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;proc sort data=AAA;
by Make;
run;
data AAA;
 set AAA;
 PAGE_NO = FLOOR((_n_-1)/15)+1;
run;&lt;/STRONG&gt;&lt;/FONT&gt;




ODS RTF(ID=INDA) FILE= "c:\temp\A.rtf" CONTENTS=YES STARTPAGE=YES TOC_DATA;
PROC REPORT DATA=AAA(obs=100);
	COLUMNS PAGE_NO Make Model Type Origin DriveTrain MSRP Invoice EngineSize Cylinders Horsepower MPG_City MPG_Highway;
	DEFINE PAGE_NO / ORDER NOPRINT contents="";
	DEFINE Make / ORDER NOPRINT;
	DEFINE Model / 		DISPLAY ID STYLE(COLUMN)={CELLWIDTH=1IN};
	DEFINE Type / 		DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN};
	DEFINE Origin / 	DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN};
	DEFINE DriveTrain / DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN};
	DEFINE MSRP / 		DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN};
	DEFINE Invoice / 	DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN} contents="" PAGE;
	DEFINE EngineSize / DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN};
	DEFINE Cylinders / 	DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN};
	DEFINE Horsepower / DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN};
	DEFINE MPG_City / 	DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN};
	DEFINE MPG_Highway /DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN};

	COMPUTE BEFORE Make;
		LINE @1 " ";
		LINE @1 Make $16.;
		LINE @1 " ";
	ENDCOMP;

	&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;break after page_no&lt;/STRONG&gt;&lt;/FONT&gt; / page contents="";

	compute after _page_;
		line "Some text";
		line "Some other text";
	endcomp;


RUN;
&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;ods text='End of Table';&lt;/STRONG&gt;&lt;/FONT&gt;

ODS RTF(ID=INDA) CLOSE;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_0-1741829782496.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/105390i3EFCC2A391D0566A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1741829782496.png" alt="Ksharp_0-1741829782496.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_1-1741829807909.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/105391i9522EF2A12663C51/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_1-1741829807909.png" alt="Ksharp_1-1741829807909.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Mar 2025 01:36:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/First-page-is-blank-when-using-page-break-define-option-PAGE-and/m-p/961743#M374907</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2025-03-13T01:36:58Z</dc:date>
    </item>
    <item>
      <title>Re: First page is blank when using page break, define option PAGE, and LINE command in compute block</title>
      <link>https://communities.sas.com/t5/SAS-Programming/First-page-is-blank-when-using-page-break-define-option-PAGE-and/m-p/961763#M374919</link>
      <description>Yes, you are totally right, I should have provided the desired appearence as describing such things only with words can be quite confusing &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Thu, 13 Mar 2025 08:38:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/First-page-is-blank-when-using-page-break-define-option-PAGE-and/m-p/961763#M374919</guid>
      <dc:creator>RooRoo</dc:creator>
      <dc:date>2025-03-13T08:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: First page is blank when using page break, define option PAGE, and LINE command in compute block</title>
      <link>https://communities.sas.com/t5/SAS-Programming/First-page-is-blank-when-using-page-break-define-option-PAGE-and/m-p/961766#M374920</link>
      <description>&lt;P&gt;That works fine, thank you!&lt;/P&gt;&lt;P&gt;But I just discovered something strange. I noticed there's two "first" pages. All further pages are numerated correctly.&lt;/P&gt;&lt;P&gt;Besides, in TOC there's unwanted Table1 which appears when using &lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;break after page_no&lt;/FONT&gt; / page contents="";&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt; instead of&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;break before page_no&lt;/FONT&gt; / page contents="";&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have any ideas?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Unbenannt.png" style="width: 571px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/105395iEAC40E1CF2A7F97A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Unbenannt.png" alt="Unbenannt.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Unbenannt2.png" style="width: 792px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/105396i0D5CBF11833EA243/image-size/large?v=v2&amp;amp;px=999" role="button" title="Unbenannt2.png" alt="Unbenannt2.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Mar 2025 09:01:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/First-page-is-blank-when-using-page-break-define-option-PAGE-and/m-p/961766#M374920</guid>
      <dc:creator>RooRoo</dc:creator>
      <dc:date>2025-03-13T09:01:09Z</dc:date>
    </item>
    <item>
      <title>Re: First page is blank when using page break, define option PAGE, and LINE command in compute block</title>
      <link>https://communities.sas.com/t5/SAS-Programming/First-page-is-blank-when-using-page-break-define-option-PAGE-and/m-p/961771#M374921</link>
      <description>&lt;P&gt;Actually I did not get any problem.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_0-1741857572781.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/105397iEB4747EAFE9E4A1F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1741857572781.png" alt="Ksharp_0-1741857572781.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_1-1741857601748.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/105398iE6B674FC5C343870/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_1-1741857601748.png" alt="Ksharp_1-1741857601748.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But if you really have this problem , you can use ~{thispage} to get the page number:&lt;/P&gt;
&lt;PRE&gt;&lt;STRONG&gt;option nodate nonumber;&lt;/STRONG&gt;
ODS RTF(ID=INDA) FILE= "c:\temp\A.rtf" CONTENTS=YES STARTPAGE=YES TOC_DATA;
&lt;STRONG&gt;title j=r "Page(*ESC*){thispage}";&lt;/STRONG&gt;
PROC REPORT DATA=AAA(obs=100);
&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_2-1741857736501.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/105399i459E1818C1E726E0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_2-1741857736501.png" alt="Ksharp_2-1741857736501.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_3-1741857754766.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/105400i9F86EC1DDE6F72B9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_3-1741857754766.png" alt="Ksharp_3-1741857754766.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;About your last question, I have no idea. Maybe&amp;nbsp;&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13549"&gt;@Cynthia_sas&lt;/a&gt;&amp;nbsp; would give you a hand.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Mar 2025 09:24:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/First-page-is-blank-when-using-page-break-define-option-PAGE-and/m-p/961771#M374921</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2025-03-13T09:24:10Z</dc:date>
    </item>
    <item>
      <title>Re: First page is blank when using page break, define option PAGE, and LINE command in compute block</title>
      <link>https://communities.sas.com/t5/SAS-Programming/First-page-is-blank-when-using-page-break-define-option-PAGE-and/m-p/961772#M374922</link>
      <description>The problem remained, now I got "Page 1" on the first two pages. But it's interesting, that you don't have this issue.</description>
      <pubDate>Thu, 13 Mar 2025 10:21:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/First-page-is-blank-when-using-page-break-define-option-PAGE-and/m-p/961772#M374922</guid>
      <dc:creator>RooRoo</dc:creator>
      <dc:date>2025-03-13T10:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: First page is blank when using page break, define option PAGE, and LINE command in compute block</title>
      <link>https://communities.sas.com/t5/SAS-Programming/First-page-is-blank-when-using-page-break-define-option-PAGE-and/m-p/961828#M374939</link>
      <description>Hi: I think that you have to force Word to repaginate the document to get the page numbers adjusted by Word. Word is doing the pagination, SAS is only sending the command for the page. If you don't find that repaginating the Word document helps fix your issue, then I think Tech Support is your next stop.&lt;BR /&gt;Cynthia</description>
      <pubDate>Thu, 13 Mar 2025 22:49:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/First-page-is-blank-when-using-page-break-define-option-PAGE-and/m-p/961828#M374939</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2025-03-13T22:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: First page is blank when using page break, define option PAGE, and LINE command in compute block</title>
      <link>https://communities.sas.com/t5/SAS-Programming/First-page-is-blank-when-using-page-break-define-option-PAGE-and/m-p/961831#M374942</link>
      <description>&lt;P&gt;That is really weird. Maybe you need buy a ticket to sas support.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;About your last question, you can get rid of "Table1...." by using option "contents=" of PROC REPORT.&lt;/P&gt;
&lt;P&gt;The attachment is the rtf file I got and no problem as you described.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;DATA AAA;
	SET SASHELP.CARS;
RUN;
proc sort data=AAA;
by Make;
run;
data AAA;
 set AAA;
 PAGE_NO = FLOOR((_n_-1)/15)+1;
run;




ODS RTF(ID=INDA) FILE= "c:\temp\A.rtf" CONTENTS=YES STARTPAGE=YES TOC_DATA;
PROC REPORT DATA=AAA(obs=100)&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt; contents=' '&lt;/STRONG&gt;&lt;/FONT&gt;;
	COLUMNS PAGE_NO Make Model Type Origin DriveTrain MSRP Invoice EngineSize Cylinders Horsepower MPG_City MPG_Highway;
	DEFINE PAGE_NO / ORDER NOPRINT contents="";
	DEFINE Make / ORDER NOPRINT;
	DEFINE Model / 		DISPLAY ID STYLE(COLUMN)={CELLWIDTH=1IN};
	DEFINE Type / 		DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN};
	DEFINE Origin / 	DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN};
	DEFINE DriveTrain / DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN};
	DEFINE MSRP / 		DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN};
	DEFINE Invoice / 	DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN} contents="" PAGE;
	DEFINE EngineSize / DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN};
	DEFINE Cylinders / 	DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN};
	DEFINE Horsepower / DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN};
	DEFINE MPG_City / 	DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN};
	DEFINE MPG_Highway /DISPLAY STYLE(COLUMN)={CELLWIDTH=1IN};

	COMPUTE BEFORE Make;
		LINE @1 " ";
		LINE @1 Make $16.;
		LINE @1 " ";
	ENDCOMP;

	break after page_no / page contents=" ";

	compute after _page_;
		line "Some text";
		line "Some other text";
	endcomp;


RUN;
ods text='End of Table';

ODS RTF(ID=INDA) CLOSE;&lt;/PRE&gt;</description>
      <pubDate>Fri, 14 Mar 2025 01:28:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/First-page-is-blank-when-using-page-break-define-option-PAGE-and/m-p/961831#M374942</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2025-03-14T01:28:31Z</dc:date>
    </item>
    <item>
      <title>Re: First page is blank when using page break, define option PAGE, and LINE command in compute block</title>
      <link>https://communities.sas.com/t5/SAS-Programming/First-page-is-blank-when-using-page-break-define-option-PAGE-and/m-p/961848#M374947</link>
      <description>Unfortunately, it didn't held - Table1 is still there.</description>
      <pubDate>Fri, 14 Mar 2025 07:03:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/First-page-is-blank-when-using-page-break-define-option-PAGE-and/m-p/961848#M374947</guid>
      <dc:creator>RooRoo</dc:creator>
      <dc:date>2025-03-14T07:03:51Z</dc:date>
    </item>
    <item>
      <title>Re: First page is blank when using page break, define option PAGE, and LINE command in compute block</title>
      <link>https://communities.sas.com/t5/SAS-Programming/First-page-is-blank-when-using-page-break-define-option-PAGE-and/m-p/961849#M374948</link>
      <description>Thanks for your reply!&lt;BR /&gt;Could you please tell how to force repagination? I couldn't find anything about it.</description>
      <pubDate>Fri, 14 Mar 2025 07:09:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/First-page-is-blank-when-using-page-break-define-option-PAGE-and/m-p/961849#M374948</guid>
      <dc:creator>RooRoo</dc:creator>
      <dc:date>2025-03-14T07:09:27Z</dc:date>
    </item>
  </channel>
</rss>

