Usage Note 23356: How can I create hyperlinks in ODS HTML output that is generated from the procedure?
To create a hyperlink in the output from a procedure that
has a table template, issue the TRANSLATE statement.
If the procedure does not have a template, then issue
PROC REPORT with the CALL DEFINE
statement and the URL attribute, or use the DATA step. View output.
proc template;
edit base.datasets.members;
edit memname;
translate _val_='CLASS'
into '<a href="http://www.sas.com">'||_val_||'</a>';
end;
end;
run;
ods html body='temp.html';
proc datatsets library=sasuser;
contents;
quit;
ods html close;
See also the full PROC TEMPLATE FAQ and Concepts.
Operating System and Release Information
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
| Type: | Usage Note |
| Priority: | low |
| Topic: | SAS Reference ==> ODS (Output Delivery System) Third Party ==> Output ==> HTML
|
| Date Modified: | 2003-09-22 11:23:31 |
| Date Created: | 2003-08-08 16:55:26 |