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

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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