The OBTITLE statement assigns a new title to the Attributes#1 entry. See Global Title, Global Footnote, Subtitle, Object Heading Note, Object Footer Note, and Note
The LIST statement with the LEVELS=ALL option shows a list of entries in the Class document. Note that PROC DOCUMENT is still running after the RUN statement executes.
The DIR statement changes the current path to \Contents#1\DataSet#1.
proc document name=class; list /levels=all; run; dir \Contents#1\DataSet#1; run; obtitle Attributes#1 'Title Specified by the OBTITLE Statement'; run; quit;