It seems in the following code, that once I add ods regions, bookmarks no longer function (they are generated, but clicking on them does not change my location in the pdf document). Can anyone else replicate this problem and is there something I need to do for bookmarks to work (note I have all column spans = 2 but this won't be the case in the real document).
Thanks.
title 'Analysis of consumer complaints';
ods pdf file="c:\temp\complaintanalysis.pdf";
ods layout gridded columns=2 column_gutter=0;
ods region column_span=2 style={just=left};
proc freq data=sashelp.cars;
tables type*origin;
run;
ods region column_span=2 style={just=left};
proc sgplot data=sashelp.cars;
vbar type;
run;
ods region column_span=2 style={just=left};
proc odslist;
item;
list;
item "Checking bookmarks work" ;
end;
end;
run;
ods layout end;
ods pdf close;
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.