Help using Base SAS procedures

ODS NOPROCTITLE doesn't work with Shewhart

Accepted Solution Solved
Reply
Contributor
Posts: 71
Accepted Solution

ODS NOPROCTITLE doesn't work with Shewhart

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!!


Accepted Solutions
Solution
‎05-22-2012 02:21 PM
SAS Super FREQ
Posts: 8,743

Re: ODS NOPROCTITLE doesn't work with Shewhart

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


use_proclabel.png

View solution in original post


All Replies
Contributor
Posts: 71

Re: ODS NOPROCTITLE doesn't work with Shewhart

I use SAS 9.3, apologies for the spelling error, should read PROCLABEL

Respected Advisor
Posts: 3,777

Re: ODS NOPROCTITLE doesn't work with Shewhart

Show your work.

Contributor
Posts: 71

Re: ODS NOPROCTITLE doesn't work with Shewhart

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.

Attachment
Solution
‎05-22-2012 02:21 PM
SAS Super FREQ
Posts: 8,743

Re: ODS NOPROCTITLE doesn't work with Shewhart

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


use_proclabel.png
Contributor
Posts: 71

Re: ODS NOPROCTITLE doesn't work with Shewhart

Thanks Cynthia and all who responded.

Fethon

Super User
Posts: 9,681

Re: ODS NOPROCTITLE doesn't work with Shewhart

I am curious that ODS NOPROCTITLE doesn't work .

A workaround is using ODS OUTPUT keep these result into a dataset ,then print them .

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

Discussion stats
  • 6 replies
  • 297 views
  • 0 likes
  • 4 in conversation