BookmarkSubscribeRSS Feed
SachinRuk
Calcite | Level 5
Hi All,

I can do the following to create an index in the table of contents in a pdf. Proclabel being the main title and contents sub-title (I've set it to nothing i.e. ' ' ).
ods proclabel "my table";
proc print data=table noobs contents='';
run;

However in a graph I can use the ods proclabel but how do I use the contents statement in a graph. The "plot of y*x=z"(default sub-title) is actually pretty ugly.

Thanks,
Sachin Message was edited by: SachinRuk
2 REPLIES 2
SachinRuk
Calcite | Level 5
I found the description option but this doesnt let you get rid of the sub-title altogether unlike the contents='' option which allows you to get rid of it.

Any thoughts?

Sachin
Cynthia_sas
SAS Super FREQ
Hi:
CONTENTS= at the procedure level is only available for PROC REPORT, PROC TABULATE, PROC PRINT and PROC FREQ multi-way tables. So, ODS PROCLABEL and DESC= are the only ways to "touch" the table of contents for ODS PDF and SAS/GRAPH procedures.

Otherwise, there may be some changes you can make with ODS DOCUMENT, but you might want to search the forum for previous postings on this topic -- I believe there are some glitches with ODS DOCUMENT and SAS/GRAPH object names in a TOC.

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
  • 2 replies
  • 973 views
  • 0 likes
  • 2 in conversation