Hi,
I can explain the change in label in the TOC for proclabel using : https://documentation.sas.com/doc/en/pgmsascdc/v_010/odsug/p1oavvfpbhmsw0n1u2dj5fz9ur9m.htm
But I'm not sure how to explain it for the contents= option of the proc report statement as I cannot see "Report" in the proc document output. Is there some documentation about this?
*options label;
options nolabel;
data class;
set sashelp.class;
retain xxtable 1 ;
run;
ods pdf file ="&xxtest./reporting/ods_test.pdf";
proc report data=class;
column sex--weight;
define sex--weight / display;
run;
ods proclabel 'Procedure';
proc report data=class contents='Category';
column xxtable sex--weight;
define xxtable / order noprint;
define sex--weight / display;
break before xxtable / contents = 'Table' page;
run;
ods pdf close;
TOC when label global option is used.

TOC when nolabel global option is used.

ods document name=xxtest(write);
proc report data=class;
column sex--weight;
define sex--weight / display;
run;
ods document close;
proc document name=xxtest;
list/levels=all details;
run;
