<?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 WARNING: No body file. HTML output will not be created in Developers</title>
    <link>https://communities.sas.com/t5/Developers/WARNING-No-body-file-HTML-output-will-not-be-created/m-p/26349#M2549</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I just found this topic. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://communities.sas.com/thread/13649"&gt;http://communities.sas.com/thread/13649&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will give this a go first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lee&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Jul 2011 10:43:23 GMT</pubDate>
    <dc:creator>LeeJ</dc:creator>
    <dc:date>2011-07-06T10:43:23Z</dc:date>
    <item>
      <title>WARNING: No body file. HTML output will not be created</title>
      <link>https://communities.sas.com/t5/Developers/WARNING-No-body-file-HTML-output-will-not-be-created/m-p/26348#M2548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A name="msg_429d25b5f7e73708"&gt;&lt;/A&gt;Hi, could someone help me please. In summary I need to do the following and I have used the sashelp.Class dataset to provide my code. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I need to have sub totals but on the final output I need to keep the sub totals and make the contributing numeric data zero. &lt;BR /&gt;2. I need to format and output to the Web (IE) via SASWep Stored Process and write it to an Excel spreadsheet. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get to point 1 ok but I when I try point 2 I get the following error &lt;/P&gt;&lt;P&gt;NOTE: Writing HTML Body file: c:\temp\test.xls &lt;BR /&gt;ERROR: A component of C:\DOCUME~1\sassrv\LOCALS~1\Temp\SAS Temporary Files\_TD6488\Prc17\1b2cd535-9fc1-4fef-acea-880f6e15e4fa\c:\temp &lt;BR /&gt;\test.xls is not a directory. &lt;/P&gt;&lt;P&gt;WARNING: No body file. HTML output will not be created. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cannot remove the c:\temp from the destination because I need to specify the destination path in a variable. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My code is below but will be delivered via a SAS Web App not EG. :- &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;* Begin EG generated code (do not edit this line); &lt;BR /&gt;* &lt;BR /&gt;* Stored process registered by &lt;BR /&gt;* Enterprise Guide Stored Process Manager v4.1 &lt;BR /&gt;* &lt;BR /&gt;* &lt;BR /&gt;==================================================================== &lt;BR /&gt;* Stored process name: Test &lt;BR /&gt;* &lt;BR /&gt;==================================================================== &lt;BR /&gt;*; &lt;/P&gt;&lt;P&gt;*ProcessBody; &lt;/P&gt;&lt;P&gt;%STPBEGIN; &lt;/P&gt;&lt;P&gt;* End EG generated code (do not edit this line); &lt;/P&gt;&lt;P&gt;* Forum Code ; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data sasclass_out; &lt;BR /&gt;set sashelp.class; &lt;BR /&gt;where age = 14 or age = 15; &lt;BR /&gt;if age = 14 then flag=1; &lt;BR /&gt;if age = 15 then flag=2; &lt;BR /&gt;run; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc report data=sasclass_out out=sasclass_out2 nowindows; &lt;BR /&gt;columns name sex age height flag weight weight=w; &lt;BR /&gt;define flag / order noprint; &lt;BR /&gt;define Name / display "Name"; &lt;BR /&gt;define Sex / display "Sex"; &lt;BR /&gt;define Age/ display "Age"; &lt;BR /&gt;define Height / display "Height"; &lt;BR /&gt;define Weight / analysis "Weight"; &lt;BR /&gt;define w / sum noprint; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;compute after flag; &lt;BR /&gt;Name='Total: '; &lt;BR /&gt;weight.sum=w; &lt;BR /&gt;endcomp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;break after flag / summarize; &lt;BR /&gt;run; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data sasclass_out3; &lt;BR /&gt;set sasclass_out2; &lt;BR /&gt;if age = 14 or age =15 then weight=0; &lt;BR /&gt;run; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods html file="c:\temp\test.xls"; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc report data= sasclass_out3 nowindows; &lt;/P&gt;&lt;P&gt;columns name sex age height weight ; &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;define Name / display "Name"; &lt;BR /&gt;define Sex / display "Sex"; &lt;BR /&gt;define Age/ display "Age"; &lt;BR /&gt;define Height / display "Height"; &lt;BR /&gt;define Weight / analysis "Weight"; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;compute age; &lt;BR /&gt;if age = 14 then &lt;BR /&gt;call define(_ROW_ , "style","style=[background=light brown]"); &lt;BR /&gt;if age = 15 then &lt;BR /&gt;call define(_ROW_ , "style","style=[background=light yellow]"); &lt;/P&gt;&lt;P&gt;endcomp; &lt;/P&gt;&lt;P&gt;run; &lt;/P&gt;&lt;P&gt;ods html close; &lt;/P&gt;&lt;P&gt;* Begin EG generated code (do not edit this line); &lt;BR /&gt;*';*";*/;run; &lt;BR /&gt;%STPEND; &lt;/P&gt;&lt;P&gt;* End EG generated code (do not edit this line); &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2011 07:40:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/WARNING-No-body-file-HTML-output-will-not-be-created/m-p/26348#M2548</guid>
      <dc:creator>LeeJ</dc:creator>
      <dc:date>2011-07-06T07:40:38Z</dc:date>
    </item>
    <item>
      <title>WARNING: No body file. HTML output will not be created</title>
      <link>https://communities.sas.com/t5/Developers/WARNING-No-body-file-HTML-output-will-not-be-created/m-p/26349#M2549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I just found this topic. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://communities.sas.com/thread/13649"&gt;http://communities.sas.com/thread/13649&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will give this a go first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lee&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2011 10:43:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/WARNING-No-body-file-HTML-output-will-not-be-created/m-p/26349#M2549</guid>
      <dc:creator>LeeJ</dc:creator>
      <dc:date>2011-07-06T10:43:23Z</dc:date>
    </item>
  </channel>
</rss>

