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