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
Diamond | Level 26

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
Diamond | Level 26

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

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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