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 .
Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.
Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.
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.