<?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: ODS html in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-html/m-p/331#M134</link>
    <description>Are you by any chance using SAS/IntrNet and/or htmSQL??? I wondered because usually when you use the dispatcher program, you are using SAS/IntrNet. Generally, you can code something in your dispatcher program to return a message to _webout using data _null_ or ODS TEXT=. If you are using SAS/IntrNet, look at this example that displays a message when there is an invalid attempt to login:&lt;BR /&gt;
&lt;A href="http://support.sas.com/rnd/web/intrnet/dispatch/sesssamp.html" target="_blank"&gt;http://support.sas.com/rnd/web/intrnet/dispatch/sesssamp.html&lt;/A&gt;&lt;BR /&gt;
Cynthia</description>
    <pubDate>Wed, 05 Apr 2006 17:20:57 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2006-04-05T17:20:57Z</dc:date>
    <item>
      <title>ODS html</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-html/m-p/328#M131</link>
      <description>Hi, I'm new to using ods html, and I was wondering if someone could help me.  The user enters a valid PROC SQL statement, and the dispatcher program takes it and display it to a html output page.  Right now, when the SQL statement returns no result, the HTML output page is blank.   How can I display a message on the HTML output page telling the users that no output returned from the query they requested, instead of having just a blank page?&lt;BR /&gt;
&lt;BR /&gt;
Any help is appreciated.  Thanks!</description>
      <pubDate>Thu, 30 Mar 2006 20:43:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-html/m-p/328#M131</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2006-03-30T20:43:47Z</dc:date>
    </item>
    <item>
      <title>Re: ODS html</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-html/m-p/329#M132</link>
      <description>Here's one suggestion.&lt;BR /&gt;
&lt;BR /&gt;
Before starting your ods html statement, use a sql statement to count the number of records returned and pass that count into a macro variable.  For example:&lt;BR /&gt;
&lt;BR /&gt;
proc sql noprint;&lt;BR /&gt;
  select count(a) into :sqlcnt&lt;BR /&gt;
  from work.data;&lt;BR /&gt;
quit;&lt;BR /&gt;
&lt;BR /&gt;
Then I would add a title to my html report that goes something like:&lt;BR /&gt;
&lt;BR /&gt;
title2 "Number of records returned: &amp;amp;sqlcnt";&lt;BR /&gt;
&lt;BR /&gt;
When your SQL query returns no records, you'll still get the title that says no records returned.</description>
      <pubDate>Thu, 30 Mar 2006 21:25:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-html/m-p/329#M132</guid>
      <dc:creator>1162</dc:creator>
      <dc:date>2006-03-30T21:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: ODS html</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-html/m-p/330#M133</link>
      <description>ODS tries not to generate output containing no output objects (tables, graphs, text) in the body of the document.  I would expect the SQL job to produce no HTML output.&lt;BR /&gt;
&lt;BR /&gt;
A slight modification should work.  Instead of a TITLE statement, use an ODS HTML TEXT= statement.&lt;BR /&gt;
&lt;BR /&gt;
-- David Kelley, SAS

&lt;BR /&gt;
Message was edited by: David@SAS at Mar 31, 2006 10:50 AM&lt;BR /&gt;</description>
      <pubDate>Fri, 31 Mar 2006 15:49:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-html/m-p/330#M133</guid>
      <dc:creator>David_SAS</dc:creator>
      <dc:date>2006-03-31T15:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: ODS html</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-html/m-p/331#M134</link>
      <description>Are you by any chance using SAS/IntrNet and/or htmSQL??? I wondered because usually when you use the dispatcher program, you are using SAS/IntrNet. Generally, you can code something in your dispatcher program to return a message to _webout using data _null_ or ODS TEXT=. If you are using SAS/IntrNet, look at this example that displays a message when there is an invalid attempt to login:&lt;BR /&gt;
&lt;A href="http://support.sas.com/rnd/web/intrnet/dispatch/sesssamp.html" target="_blank"&gt;http://support.sas.com/rnd/web/intrnet/dispatch/sesssamp.html&lt;/A&gt;&lt;BR /&gt;
Cynthia</description>
      <pubDate>Wed, 05 Apr 2006 17:20:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-html/m-p/331#M134</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2006-04-05T17:20:57Z</dc:date>
    </item>
  </channel>
</rss>

