BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
stan
Quartz | Level 8

I faced a strange 'problem'. During multiple file processing (many thanks to helpful paper

by Kevin McGowan and Matt Reich) SAS reads 8 '.txt' files and produces 8 '.pdf' files

to the same directory.

Interestingly, the following code

ODS NOPROCTITLE;             <<<

%macro myMacro;

   ods pdf file = "...";

    ...

   ods pdf close;

%mend myMacro;

%myMacro

produces the first '.pdf' file with top centrally aligned titel 'The SAS System';

the following files contain no titles at all.

The second code

  %macro myMacro;

   ods pdf file = "...";

    ...

   ods pdf close;

   ODS NOPROCTITLE;    <<<

%mend myMacro;

%myMacro

produces the first '.pdf' file with top centrally aligned titll 'The SAS System' and

procedure titles; again the following files contain no titles at all.

In the SAS Help it is said that not all PROCs use PROCTITLE.

How to hide 'The SAS System' title with the former code ?

How to be confident with suppressing all titles created by different PROCs ?

What are the alternatives to 'TITLE;' statements ?

Thank you.

1 ACCEPTED SOLUTION

Accepted Solutions
Cynthia_sas
SAS Super FREQ

Hi:

  I would recommend that you read the SAS documentation. "The SAS System" is NOT a procedure title. It is a SAS System Title the "null" title statement:

TITLE; is the ONLY way to reset or get rid of the default "The SAS System".

  ODS NOPROCTITLE or ODS NOPTITLE, only gets rid of the procedure specific titles: The MEANS Procedure, The FREQ Procedure, The UNIVARIATE Procedure, etc, etc. This statement has NO impact on system titles or footnotes.

  So there is no UNIVERSAL turn off everything option. You control TITLES with the TITLE statement, FOOTNOTES with the FOOTNOTE statement and Procedure titles with the ODS NOPTITLE statement.

cynthia

View solution in original post

1 REPLY 1
Cynthia_sas
SAS Super FREQ

Hi:

  I would recommend that you read the SAS documentation. "The SAS System" is NOT a procedure title. It is a SAS System Title the "null" title statement:

TITLE; is the ONLY way to reset or get rid of the default "The SAS System".

  ODS NOPROCTITLE or ODS NOPTITLE, only gets rid of the procedure specific titles: The MEANS Procedure, The FREQ Procedure, The UNIVARIATE Procedure, etc, etc. This statement has NO impact on system titles or footnotes.

  So there is no UNIVERSAL turn off everything option. You control TITLES with the TITLE statement, FOOTNOTES with the FOOTNOTE statement and Procedure titles with the ODS NOPTITLE statement.

cynthia

SAS Innovate 2025: Call for Content

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!

Submit your idea!

How to Concatenate Values

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 9807 views
  • 0 likes
  • 2 in conversation