Yes, my situation is more complicated; it's more akin to: data _null_;
length dataval $ 200;
set baseball end=last;
by team position;
retain page 1;
if _n_ eq 1 then
declare odsout o();
if first.team then
o.table_start();
dataval = catx(' - ',position,team,name);
o.row_start();
o.format_cell(data: dataval);
o.row_end();
if last.position then do;
o.row_start();
o.format_cell(data:page,overrides:'just=r');
o.row_end();
o.page();
page + 1;
end;
if last.team then
o.table_end();
if last then
o.delete();
run;
ods pdf close; Suppressing the PDF bookmark that gets generated at the table_start() method is the issue. Fortunately, a PROC REPORT soluition already exists, but this was for an independent validation that explicitly did not use PROC REPORT. However, from a little further testing and your code, it looks like the PAGE() method doesn't work without closing the table.
... View more