73
74 ods listing close;
_______
1
75 ods html file='/folders/myfolders/temp.htm';
___ __
22 22
202 202
WARNING 1-322: Assuming the symbol CLOSE was misspelled as close;.
ERROR 22-322: Syntax error, expecting one of the following: ;, BODY, CLOSE, DATAPANEL, DPI, FILE, GPATH, IMAGE_DPI, PACKAGE, SGE,
STYLE.
ERROR 202-322: The option or parameter is not recognized and will be ignored.
76 ods trace output;
77 run;
78
79 data temp;
80 tday=current_date();
_
22
200
81 call symput('asof', trim(left(put(tday,worddate20.))));
______
22
ERROR 22-322: Syntax error, expecting one of the following: a name, a quoted string, (, /, ;, _DATA_, _LAST_, _NULL_.
ERROR 200-322: The symbol is not recognized and will be ignored.
ERROR 22-7: Invalid option name 'asof'.
82 call symput('file', trim(left(put(tday,MMYYN6.))));
______
22
83 curhref="<LI></LI><A href=main.htm>"|| put(tday,worddate20.)||"</A>";
_
22
76
ERROR 22-7: Invalid option name 'file'.
ERROR 22-322: Syntax error, expecting one of the following: a name, a quoted string, (, /, ;, _DATA_, _LAST_, _NULL_.
ERROR 76-322: Syntax error, statement will be ignored.
84 keep curhref tday;
85 run;
86
87 title1 "<H2> Data Dictionary </H2>";
88
89 proc template;
90 define style styles.main;
91 parent=styles.default;
92 style Table from Output /
93 cellspacing=0 frame=void RULES=NONE;
94
95 /* Blend headers */
96 style Header from HeadersAndFooters /
97 background=color_list('bgA');
98
99 /*add a logo at the beginning of HTML */
100 style Body from Document /
101 prehtml="<table width=100%> <td align=right>";
102 end;
103 run;
104
105 proc report data=temp
106 style(REPORT)={background=#002288}
107 style(HEADER)={foreground=#002288};
108 column curhref;
109 define curhref / order "Most Current Version";
110 run;
111
112 ods html close;
113 ods listing;
114 run;
115
116
117 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
129