<?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: Error using ODS in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Error-using-ODS/m-p/174971#M12444</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suspect if you search this forum for "tagsets.excelxp" you will find more than enough examples (right and wrong) to get started.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Feb 2015 23:49:54 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2015-02-19T23:49:54Z</dc:date>
    <item>
      <title>Error using ODS</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Error-using-ODS/m-p/174968#M12441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I submit the following code, I get this error:&amp;nbsp; &lt;/P&gt;&lt;P&gt;ERROR: A component of C:\Users\gbibb\AppData\Local\Temp\SAS Temporary&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Files\_TD3472_DO-GBIBB-LT2_\G:\Departments\Research\MAP\1415\Longitudinal Match\Spring to&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Spring\math_long_match_by_Spr14_ELEMschool.xls is not a directory.&lt;/P&gt;&lt;P&gt;ERROR: No body file. HTML output will not be created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HOWEVER, when I submit the same code a 2nd time, it works fine.&amp;nbsp; Is SAS creating a directory on the first submit that allows it to work on the second submit?&lt;/P&gt;&lt;P&gt;Code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sort data=map2;&lt;/P&gt;&lt;P&gt;by school;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;ODS html body='G:\Departments\Research\MAP\1415\Longitudinal Match\Spring to Spring\math_long_match_by_Spr14_ELEMschool.xls';&lt;/P&gt;&lt;P&gt;proc tabulate data=MAP2;&lt;/P&gt;&lt;P&gt;by school;&lt;/P&gt;&lt;P&gt;where grade_s14 ne '' and grade_s13 ne '' and grade_s12 ne '' and grade_s14 not in ('10','11','12','9','8','7','6');&lt;/P&gt;&lt;P&gt;class grade_s14 grade_s13 grade_s12 Math_Met_SS_1314 Math_Met_SS_1213;&lt;/P&gt;&lt;P&gt;table grade_s12*grade_s13*grade_s14, Math_Met_SS_1213*(n*f=6.0 pctn&amp;lt;Math_Met_SS_1213&amp;gt;='PCT'*f=6.1) Math_Met_SS_1314*(n*f=6.0 pctn&amp;lt;Math_Met_SS_1314&amp;gt;='PCT'*f=6.1) / rts=25 box=_page_condense;&lt;/P&gt;&lt;P&gt;title'math results';&lt;/P&gt;&lt;P&gt;run; &lt;/P&gt;&lt;P&gt;ods html close;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2015 15:29:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Error-using-ODS/m-p/174968#M12441</guid>
      <dc:creator>GreggB</dc:creator>
      <dc:date>2015-02-19T15:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: Error using ODS</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Error-using-ODS/m-p/174969#M12442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've seen this happen and is a combination of preferences using the work folder for default output. The referenced&lt;/P&gt;&lt;P&gt;C:\Users\gbibb\AppData\Local\Temp\SAS Temporary&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Files\_TD3472_DO-GBIBB-LT2_\&lt;/P&gt;&lt;P&gt;part of the error was very likely the location of the WORK library.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I recall correctly HTML output works better with a Path="G:\Departments\Research\MAP\1415\Longitudinal Match\Spring to Spring" Body="math_long_match_by_Spr14_ELEMschool.xls" reference.&lt;/P&gt;&lt;P&gt;And since you apparently actually want Excel output you might use ODS tagsets.Excelxp and create Excel readable xml files.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2015 15:42:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Error-using-ODS/m-p/174969#M12442</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-02-19T15:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: Error using ODS</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Error-using-ODS/m-p/174970#M12443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.&amp;nbsp; You actually touched on the real problem -- I need to learn more about using tagsets.&amp;nbsp; I've done some reading on them but haven't gotten a handle on it.&amp;nbsp; Any readings you can suggest would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gregg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2015 16:28:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Error-using-ODS/m-p/174970#M12443</guid>
      <dc:creator>GreggB</dc:creator>
      <dc:date>2015-02-19T16:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: Error using ODS</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Error-using-ODS/m-p/174971#M12444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suspect if you search this forum for "tagsets.excelxp" you will find more than enough examples (right and wrong) to get started.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2015 23:49:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Error-using-ODS/m-p/174971#M12444</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-02-19T23:49:54Z</dc:date>
    </item>
  </channel>
</rss>

