I am using ODS PDF and LAYOUT to print multiple tables on the same page of output using proc report. I have tried searching for this but does anyone know if it's possible to retain the first-level PDF bookmark node for my first proc report, but then suppress a bookmark from being generated for subsequent proc reports? Currently a bookmark is being generated for every single proc report even though the tables are output to the same page. I am using 9.4 MM4.
Before the first proc report I have specified my desired bookmark title via ods proclabel. Within the first proc report I have specified contents="" to suppress secondary-level nodes. For subsequent proc reports, prior to proc I have specified ods proclabel="" to try and suppress the first-level node, and within the proc report again specify contents="" to suppress secondary level nodes but I am still getting The Report Procedure as the primary node.
Hi:
Try ODS PROCLABEL with " " (quote-space-quote) -- I believe that if you do just "" (quote-quote) with no space, that you get the default title of "The Report Procedure".
You may then find that you get an extra "Table 1" node in the TOC to get rid of that, see this Tech Support note: http://support.sas.com/kb/31/278.html
Cynthia
Thanks Cynthia - I was able to use the break statement to remove the third level node, and did as you suggested with the proclabel=" ". The label is no longer appearing, but the first node for the subsequent proc reports still shows up, just blank (due to " "):
Any thoughts?
Yea I thought that'd be your answer after doing a lot of research, was just hoping there was an easier way. I've fooled around with the document store and couldn't quite get it to work right. I am using ODS LAYOUT to a PDF destination and when I tried the document store, the output was very jumbled compared to straight output to PDF. I'll explore some more. Thanks Cynthia.
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
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.
Ready to level-up your skills? Choose your own adventure.