BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Jean-Jacques
Obsidian | Level 7

I am trying to suppress the PROC title in html output. I am using the ODS noproctitle option, but the PROC title is still appearing in the output.
What could be wrong?

 

ods listing close;
ods noproctitle;
ods html style=daisy file='test.html' path=".";
title "y=a+bxlnx";
ods graphics on;
proc nlin data=exposure method=Marquardt noitprint plots=fitplot(stats=default(rmsincurv rmspecurv));
by study harvest;
parameters A=1 to 201 by 20 B=-0.000001;
bounds B<0;
model response=A+B*exposure*log(exposure);
output out=RESULTS parms=A B predicted=pyDW;
run;

ods graphics off;
title;
ods html close;
ods listing;

1 ACCEPTED SOLUTION

Accepted Solutions
Reeza
Super User
It does appear to be a bit of a bug with the NLIN proc - Time to open a SAS Support ticket.

View solution in original post

6 REPLIES 6
Reeza
Super User

Put the ODS NOPROCTITLE after your ODS HTML statement.

 

FYI - I cannot replicate your issue under a variety of tests. Please include your log, your SAS version and ensure you're looking at the correct output file. It would help if you can replicate the problem with a simpler proc, ie PROC FREQ so that anyone can run your code.

 

Code I ran:

ods listing close;
ods noproctitle;
ods html style=daisy file='test.html' path="/home/fkhurshed/";
title "y=a+bxlnx";
ods graphics on;
proc freq data=sashelp.class;
table age*sex;
run;

ods graphics off;
title;
ods html close;
ods listing;


Output seen:

Reeza_0-1620152826312.png

No title, as per NOPROCTITLE.

 

 

 

 

Reeza
Super User
Tested on SAS 9.4M6 (SAS On Demand for Academics, SAS Studio).
Jean-Jacques
Obsidian | Level 7

Thanks for taking a look at this.

I am running SAS 9.4 TS 1M6 on X64_10PRO

I tested the following code, and ods noproctitle worked perfectly as intended. This seems very odd to me.  The only thing I changed is the PROC. Could it be an NLIN-specific issue?

ods noproctitle;
ods listing close;
ods html style=daisy file='test.html' path=".";
title "TEST NOPROCTITLE";
ods graphics on;

proc reg data=sashelp.class;
model Weight = Height;
run;

ods graphics off;
title;
ods html close;
ods listing;

Reeza
Super User
It does appear to be a bit of a bug with the NLIN proc - Time to open a SAS Support ticket.
Jean-Jacques
Obsidian | Level 7

It looks like it.

I ran the following and ODS noproctitle had no effect. "The NLIN procedure" appeared in the output as a title.

 

 

ods listing close;
ods noproctitle;
ods html style=daisy file='test.html' path=".";
title "TEST NOPROCTITLE";
ods graphics on;

proc NLIN data=sashelp.class;
parms A=0 B=1;
model Weight = A+B*Height;
run;

ods graphics off;
title;
ods html close;
ods listing;

Reeza
Super User
Yes, I saw the same behaviour but only with PROC NLIN. Note that I tested PROC FREQ + NLIN but not other procs.

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
  • 6 replies
  • 854 views
  • 2 likes
  • 2 in conversation