Features: |
PROC DOCUMENT statement option: NAME= DIR statement LIST statement option: LEVELS= NOTE statement OBANOTE statement option: SHOW option OBBNOTE statement option: SHOW OBFOOTN statement option: SHOW OBPAGE statement OBSTITLE statement option: SHOW OBTITLE statement option: SHOW REPLAY statement Procedure output: PROC CONTENTS |
ODS destinations: | DOCUMENT
HTML |
options nodate pageno=1;
ods document name=class(write);
title 'Title Specified by the Global TITLE Statement'; footnote 'Footnote Specified by the Global FOOTNOTE Statement';
proc contents data=sashelp.class; run;
ods document close;
proc document name=class; dir \Contents#1\DataSet#1; run; obtitle Attributes#1 'Title Specified by the OBTITLE Statement'; run; quit;
proc document name=class; dir \Contents#1\DataSet#1; run; obbnote Attributes#1 'Object Heading Note Specified by the OBBNOTE Statement'; run; quit;
proc document name=class; dir \Contents#1\DataSet#1; run; obfootn Variables#1 'Change the Global Footnote with the OBFOOTN Statement'; run; quit;
proc document name=class; dir \Contents#1\DataSet#1; run; obanote Attributes#1 'Object Footer Note Specified by the OBANOTE Statement'; run; quit;
proc document name=class; dir \Contents#1\DataSet#1; run; obstitle Attributes#1 'Subtitle Specified by the OBSTITLE Statement'; run; quit;
proc document name=class; note addnote 'Note added to the document'; run; quit;
ods html file='your_file.html' style=Banker;
proc document name=class;
obpage \Contents#1\DataSet#1\Variables#1;
replay;
run;
quit;
proc document name=class; list/levels=all details; dir \Contents#1\DataSet#1; obanote Attributes#1 show; obbnote Attributes#1 show; obfootn Variables#1 show; obstitle Attributes#1 show; obtitle Attributes#1 show; run; quit;
ods html close;
title 'Title Specified by the Global TITLE Statement'; footnote 'Footnote Specified by the Global FOOTNOTE Statement';
proc document name=class; dir \Contents#1\DataSet#1; run; obtitle Attributes#1 'Title Specified by the OBTITLE Statement'; run; quit;
proc document name=class; dir \Contents#1\DataSet#1; run; obbnote Attributes#1 'Object Heading Note Specified by the OBBNOTE Statement'; run; quit;
proc document name=class; dir \Contents#1\DataSet#1; run; obfootn Variables#1 'Change the Global Footnote with the OBFOOTN Statement'; run; quit;
proc document name=class; dir \Contents#1\DataSet#1; run; obanote Attributes#1 'Object Footer Note Specified by the OBANOTE Statement'; run; quit;
proc document name=class; dir \Contents#1\DataSet#1; run; obstitle Attributes#1 'Subtitle Specified by the OBSTITLE Statement'; run; quit;
ods html file='your_file.html' style=Banker;
proc document name=class;
obpage \Contents#1\DataSet#1\Variables#1;
replay;
run;
quit;