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

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

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