I create PDF output with Proc Shewhart using ODS, and I can't get rid of the procedure titles in the PDF file.
ODS NOPROCTITLE doesn't work, and no matter of what combination of PROCTITLE and PROCLABLE I use the annoying procedure titles and headers are there.
Help!!
Hi:
ODS NOPROCTITLE works to suppress the procedure title in the output report itself. It will not change the PDF bookmark nodes. To change those nodes in the TOC, such as the top level node, you have to use ODS PROCLABEL statement. For example, I used:
ODS PROCLABEL='Wombat';
...before the PROC SHEWHART statement and got the screenshot attached.
cynthia
I use SAS 9.3, apologies for the spelling error, should read PROCLABEL
Show your work.
I attached test code similar to the one I use to demonstrate the problem.
The output PDF file still shows header and subtitle for PROC SHEWHART despite the NOPROCTITLE option.
Hi:
ODS NOPROCTITLE works to suppress the procedure title in the output report itself. It will not change the PDF bookmark nodes. To change those nodes in the TOC, such as the top level node, you have to use ODS PROCLABEL statement. For example, I used:
ODS PROCLABEL='Wombat';
...before the PROC SHEWHART statement and got the screenshot attached.
cynthia
Thanks Cynthia and all who responded.
Fethon
I am curious that ODS NOPROCTITLE doesn't work .
A workaround is using ODS OUTPUT keep these result into a dataset ,then print them .
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 the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.