<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: proc report url in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-url/m-p/10374#M3003</link>
    <description>I tried the code below. &lt;BR /&gt;
"title" is the name of the document I'm trying to link to and "url" is, eg, &lt;A href="http://abc.com" target="_blank"&gt;http://abc.com&lt;/A&gt;.&lt;BR /&gt;
"title" is being underlined, but the link is not being created.&lt;BR /&gt;
Thank you for your help.&lt;BR /&gt;
&lt;BR /&gt;
proc report data=reports nowd style(report)={width=100pct}&lt;BR /&gt;
	style(header)={background=cx494068 color=white};&lt;BR /&gt;
	columns date title url;&lt;BR /&gt;
	define url / noprint;&lt;BR /&gt;
	compute title;&lt;BR /&gt;
		urlstring=url;&lt;BR /&gt;
		call define(_col_,'URL', urlstring);&lt;BR /&gt;
		call define(_col_, "style", "style=[color=blue textdecoration=underline");&lt;BR /&gt;
	endcomp;</description>
    <pubDate>Mon, 26 Apr 2010 21:31:43 GMT</pubDate>
    <dc:creator>gzr2mz39</dc:creator>
    <dc:date>2010-04-26T21:31:43Z</dc:date>
    <item>
      <title>proc report url</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-url/m-p/10372#M3001</link>
      <description>I have a variable called url1 (eg &lt;A href="http://www.abc.com" target="_blank"&gt;www.abc.com&lt;/A&gt;, www.sas.com).&lt;BR /&gt;
How do I include the variable url1 in the code below?&lt;BR /&gt;
Also, I have a macro variable &amp;amp;path (where &amp;amp;path is &lt;BR /&gt;
%let path=%str(http://xyz.com/);&lt;BR /&gt;
How would I combine &amp;amp;path and url2 (where url2 is place1, place2, etc) in the code below to create links like &lt;A href="http://xyz.com/place1" target="_blank"&gt;http://xyz.com/place1&lt;/A&gt;, http://xyz.com/place2, etc?&lt;BR /&gt;
&lt;BR /&gt;
proc report data=reports nowd style(report)={width=100pct}&lt;BR /&gt;
	style(header)={background=cx494068 color=white};&lt;BR /&gt;
	columns date title new;&lt;BR /&gt;
	define new / computed " ";&lt;BR /&gt;
	compute title;&lt;BR /&gt;
	call define(_col_, "style", "style=[color=blue textdecoration=underline url='" url1 "']");&lt;BR /&gt;
	endcomp;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
Thank you.</description>
      <pubDate>Mon, 26 Apr 2010 20:44:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-url/m-p/10372#M3001</guid>
      <dc:creator>gzr2mz39</dc:creator>
      <dc:date>2010-04-26T20:44:01Z</dc:date>
    </item>
    <item>
      <title>Re: proc report url</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-url/m-p/10373#M3002</link>
      <description>Hi:&lt;BR /&gt;
  Instead of setting the URL in a STYLE= override in the CALL DEFINE statement, investigate the use of the URL and URLP arguments to CALL DEFINE (instead of STYLE argument).&lt;BR /&gt;
 &lt;BR /&gt;
&lt;A href="http://support.sas.com/kb/25/394.html" target="_blank"&gt;http://support.sas.com/kb/25/394.html&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/a002473624.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/a002473624.htm&lt;/A&gt;&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Mon, 26 Apr 2010 20:57:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-url/m-p/10373#M3002</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-04-26T20:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: proc report url</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-url/m-p/10374#M3003</link>
      <description>I tried the code below. &lt;BR /&gt;
"title" is the name of the document I'm trying to link to and "url" is, eg, &lt;A href="http://abc.com" target="_blank"&gt;http://abc.com&lt;/A&gt;.&lt;BR /&gt;
"title" is being underlined, but the link is not being created.&lt;BR /&gt;
Thank you for your help.&lt;BR /&gt;
&lt;BR /&gt;
proc report data=reports nowd style(report)={width=100pct}&lt;BR /&gt;
	style(header)={background=cx494068 color=white};&lt;BR /&gt;
	columns date title url;&lt;BR /&gt;
	define url / noprint;&lt;BR /&gt;
	compute title;&lt;BR /&gt;
		urlstring=url;&lt;BR /&gt;
		call define(_col_,'URL', urlstring);&lt;BR /&gt;
		call define(_col_, "style", "style=[color=blue textdecoration=underline");&lt;BR /&gt;
	endcomp;</description>
      <pubDate>Mon, 26 Apr 2010 21:31:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-url/m-p/10374#M3003</guid>
      <dc:creator>gzr2mz39</dc:creator>
      <dc:date>2010-04-26T21:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: proc report url</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-url/m-p/10375#M3004</link>
      <description>Hi:&lt;BR /&gt;
  PROC REPORT works from LEFT to RIGHT as it builds a report row. This means that you cannot use URL in the calculattion of TITLE unless their positions are reversed on the COLUMN statment:&lt;BR /&gt;
[pre]&lt;BR /&gt;
columns date url title;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Mon, 26 Apr 2010 21:39:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-url/m-p/10375#M3004</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-04-26T21:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: proc report url</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-url/m-p/10376#M3005</link>
      <description>Thank you. Looks good.</description>
      <pubDate>Mon, 26 Apr 2010 21:47:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-report-url/m-p/10376#M3005</guid>
      <dc:creator>gzr2mz39</dc:creator>
      <dc:date>2010-04-26T21:47:28Z</dc:date>
    </item>
  </channel>
</rss>

