In creating an ods pdf file, with a by group, i find that in the Table of Contents outputted pdf file, i sometimes get bygroup1, bygroup2, etc., and other times the Table of Contents has the actual names of the by groups....and i have no reason why the difference.
The last couple days, it seems stuck in the bygroup1, bygroup2, etc. printout - so, my question:
Any suggestions how to make the Table of Contents print out the actual by group values?
(i've included some stripped-down code, and the pdf created from the code)
options byline;
data a;
school = 'A'; value = 1; output;
school = 'B'; value = 1; output;
run;
ods pdf file='c:\temp\test.pdf' contents;
proc sgplot data=a;
vbar school/response=value;
by school;
run;
ods pdf close;
thanks,
Dave
... View more