Hi:
When I run the code in the paper:
Options orientation=portrait
papersize=letter
nodate nonumber;
ods pdf file="c:\temp\display10.pdf" ;
ods proclabel="A Table of the CLASS Data Set";
data _null_;
file print ods=(objectlabel="");
set sashelp.class;
put _ods_;
run;
ods proclabel="Another Table of the CLASS Data Set";
title "Displays Only the Name Variable";
data _null_;
file print;
set sashelp.class;
put name;
run;
ods pdf close;
I do get the same results that she shows in the Display 10 output. The difference between her code and what you're doing is that you are not really using FILE PRINT ODS. Note that in both her programs, she is using a PUT statement to write to the open destination and it is THIS output that is impacted by OBJECTLABEL.
If the OBJECTLABEL is NOT working for you with the FILE PRINT ODS syntax, it must have something to do with the difference between using a PUT to ODS and using the OBJ syntax to build your output. This is a question for researching in the documentation or opening a track with Tech Support.
Hope this helps,
Cynthia
... View more