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 .
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.