<?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: Problem with Drill Down Report using ods html in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Problem-with-Drill-Down-Report-using-ods-html/m-p/47909#M6226</link>
    <description>Hi Scott,&lt;BR /&gt;
&lt;BR /&gt;
Thanks for your response. Yes, you are right the pgm is generating 2 html files and the first one links to the second. &lt;BR /&gt;
We are currently using a COTS product that enables us to create SAS pgms for adhoc reporting. This system does not allow us to use the SAS/Intrnet features,&lt;BR /&gt;
so this was the only way I could do it. We do have to place the program in a particular folder in the system for the SAS program to be invoked. So when I&lt;BR /&gt;
right click on the properties for the hyperlink on the first ods html page it points to&lt;BR /&gt;
a default web page like &lt;A href="https://xxx/yyy/invdrilldown.html" target="_blank"&gt;https://xxx/yyy/invdrilldown.html&lt;/A&gt;. It seems like it looks for &lt;BR /&gt;
the second html file in the default web page. I tried using the path option in the second ods html statement specifying the default path but that did not work either.&lt;BR /&gt;
&lt;BR /&gt;
The accidently deleted the semicolon while I was pasting the code.&lt;BR /&gt;
&lt;BR /&gt;
And also, I have run the two ods html parts seperately and they seem to work fine.&lt;BR /&gt;
&lt;BR /&gt;
Thanks again,&lt;BR /&gt;
Sahitya</description>
    <pubDate>Thu, 18 Sep 2008 14:56:48 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2008-09-18T14:56:48Z</dc:date>
    <item>
      <title>Problem with Drill Down Report using ods html</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Problem-with-Drill-Down-Report-using-ods-html/m-p/47907#M6224</link>
      <description>I have a SAS program that produces a summary report that calculates the average&lt;BR /&gt;
days it takes for investigators to complete their investigation. This report is &lt;BR /&gt;
grouped by Investigator name and the investigator name is a hyperlink that should&lt;BR /&gt;
drill down to the details of that summary record for that investigator. Right now I am  branching to a different part(ods html body=invdrilldown.html) of the same SAS program when the hyperlink is clicked to produce the detail report. The problem I'm running into is when I click on the hyperlink(investigator name) on the summary report it tells me that html file for the detail report is not found (invdrilldown.html is not found). I have pasted parts of my program below.&lt;BR /&gt;
Any help on this is greatly appreciated.&lt;BR /&gt;
&lt;BR /&gt;
data InvLink;&lt;BR /&gt;
set Investnm;&lt;BR /&gt;
fmtname = "Invnmhr";&lt;BR /&gt;
type = "C";&lt;BR /&gt;
start = Investigator_Name;&lt;BR /&gt;
label = "&lt;A href="https://communities.sas.com/invdrilldown.html"&gt;"||trim(Investigator_Name)||"&lt;/A&gt;"; &lt;BR /&gt;
keep start label fmtname type;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
ods html body=sock (no_top_matter no_bottom_matter);&lt;BR /&gt;
proc report data=temp ls=132 ps=40 nowd  &lt;BR /&gt;
column ('QA Report - Avarage Days To Complete Investigation' Investigator_Name Disease N No_of_days_toAddObs No_Of_Days_ToStartInv No_Of_Days_ToCompInv No_of_days_toComplPros);&lt;BR /&gt;
&lt;B&gt;define Investigator_Name/ format=$Invnmhr. group 'Investigator Name' ;&lt;/B&gt;  define Disease /  group 'Disease' ;  &lt;BR /&gt;
break after Investigator_Name / suppress page summarize style=[background=yellow font_weight=bold];&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;ods html body=invdrilldown.html&lt;/B&gt; &lt;BR /&gt;
proc report data=temp ls=132 ps=40 nowd  &lt;BR /&gt;
/*where Investigator_Name = Investigator_Name;*/ &lt;BR /&gt;
column ('QA Report - Avarage Days To Complete Investigation'Investigator_Name Disease N OBS_ID &lt;BR /&gt;
         Lab_Created_By Resulted_Test Dt_Recv_By_PH Lab_Create_Dt CAS_ID Patient_Name DtOB    &lt;BR /&gt;
         Case_stat Jurisdiction MMWR_WEEK MMWR_YEAR Inv_Create_Dt NotificationDt No_of_days_toAddObs No_Of_Days_ToStartInv&lt;BR /&gt;
         No_Of_Days_ToCompInv No_of_days_toComplPros);&lt;BR /&gt;
 define Investigator_Name/ group 'Investigator Name' ;&lt;BR /&gt;
 define Disease /  group 'Disease' ;  &lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Thank You

Message was edited by: ALSAS</description>
      <pubDate>Thu, 18 Sep 2008 14:13:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Problem-with-Drill-Down-Report-using-ods-html/m-p/47907#M6224</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-09-18T14:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Drill Down Report using ods html</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Problem-with-Drill-Down-Report-using-ods-html/m-p/47908#M6225</link>
      <description>For clarification, the SAS program is generating two sets of HTML, one document provides a hyperlink to another HTML document.&lt;BR /&gt;
&lt;BR /&gt;
You should be able to view your HTML source code, or right-click on the hyperlink and view PROPERTIES to see if it is properly named and formatted.&lt;BR /&gt;
&lt;BR /&gt;
Also, I see a missing semi-colon after your second ODS HTML statement, possibly.&lt;BR /&gt;
&lt;BR /&gt;
Suggest you investigate that your primary HTML document has correctly formatted hyperlinks, and also review your output directory/file information to ensure that both PROC REPORT executions are generating what you expect them to generate.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Thu, 18 Sep 2008 14:21:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Problem-with-Drill-Down-Report-using-ods-html/m-p/47908#M6225</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2008-09-18T14:21:04Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Drill Down Report using ods html</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Problem-with-Drill-Down-Report-using-ods-html/m-p/47909#M6226</link>
      <description>Hi Scott,&lt;BR /&gt;
&lt;BR /&gt;
Thanks for your response. Yes, you are right the pgm is generating 2 html files and the first one links to the second. &lt;BR /&gt;
We are currently using a COTS product that enables us to create SAS pgms for adhoc reporting. This system does not allow us to use the SAS/Intrnet features,&lt;BR /&gt;
so this was the only way I could do it. We do have to place the program in a particular folder in the system for the SAS program to be invoked. So when I&lt;BR /&gt;
right click on the properties for the hyperlink on the first ods html page it points to&lt;BR /&gt;
a default web page like &lt;A href="https://xxx/yyy/invdrilldown.html" target="_blank"&gt;https://xxx/yyy/invdrilldown.html&lt;/A&gt;. It seems like it looks for &lt;BR /&gt;
the second html file in the default web page. I tried using the path option in the second ods html statement specifying the default path but that did not work either.&lt;BR /&gt;
&lt;BR /&gt;
The accidently deleted the semicolon while I was pasting the code.&lt;BR /&gt;
&lt;BR /&gt;
And also, I have run the two ods html parts seperately and they seem to work fine.&lt;BR /&gt;
&lt;BR /&gt;
Thanks again,&lt;BR /&gt;
Sahitya</description>
      <pubDate>Thu, 18 Sep 2008 14:56:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Problem-with-Drill-Down-Report-using-ods-html/m-p/47909#M6226</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-09-18T14:56:48Z</dc:date>
    </item>
  </channel>
</rss>

