Date: Mon, 3 Aug 2009 21:49:56 -0400
Reply-To: Abebe Gashaw <abebegashaw033@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Abebe Gashaw <abebegashaw033@GMAIL.COM>
Subject: SAS Dispatcher _WEBOUT HTML table problem
Content-Type: text/plain; charset=ISO-8859-1
I am using SAS dispatcher _webout and HTML table to display a SAS dataset.
But I am having problem on the <TD> part of the table. I do not know how to
reference SAS variables in HTML table <TD> tag.
Here is the sample of the program I have.
data club1;
input ID name $ ;
cards;
1023 David
1049 Amelia
1219 Alan
1246 Ravi
1078 Ashley
1221 Jim
;
run;
Data _Null_;
set club1;
_webout;
put '<table border="1">
/* I am good here */
<tr><th>ID</th>
<th>Name</th>
</tr>';
/* the code below is the one which I am having problem */
put'<tr>
<td>ID</td>
<td>Name</td>
</tr>
</table> ';
run;
I am sure the <TD> tage is wrong. How do I display a SAS dataset using
_webout table. I do not want to use ODS or any of those reporting function.
Thanks;
Abebe