Ods 输出删除 SAS 系统标题

Ods output delete SAS System title

尽管使用了 noptitle,但我仍然使用 ODS 输出到频率 table 的 PDf,它仍然在顶部打印 SAS 系统。

密码是

options nodate center nonumber ; 
ods noptitle ;

ods pdf file="Z:\temp.pdf" ;
ods proclabel="The totals";

proc freq data=compulsion;  
tables year; 
label year="year of the child";
;run;
ods pdf close; 

但是我的主标题还是"The SAS System",如何删除这个标题?

只需使用一个空的标题语句,删除所有手动或自动分配的标题(简单但有效):

options nodate center nonumber ; 
ods noptitle ;
ods pdf file="Z:\temp.pdf" ;
ods proclabel="The totals";
title;/*<-reset all titles or overwrite it with wanted title*/
proc freq data=compulsion;  
tables year; 
label year="year of the child";
;run;
ods pdf close;  

编辑澄清:noptitle 仅删除 proc 生成的标题,如 "The FREQ Procedure"。 "The Sas System" 不是 proc-related 标题