<?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: No means output with intermittent fileref _HTMLOUT error in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/No-means-output-with-intermittent-fileref-HTMLOUT-error/m-p/824466#M325609</link>
    <description>&lt;PRE&gt;*mean of age for participants in study years “1999-2004”, “2005-2010” and “2011-2014” in Table 1;&lt;/PRE&gt;
&lt;P&gt;This line in your code means you're copying and pasting your code, likely from a Word document. It's adding '&lt;A href="https://support.microsoft.com/en-us/office/smart-quotes-in-word-702fc92e-b723-4e3d-b2cc-71dedaf2f343" target="_self"&gt;smart quotes&lt;/A&gt;' and may also be adding other invisible characters affecting your code.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try typing the code out from scratch and see if it works.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, you can turn off that feature - see the link above.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 20 Jul 2022 19:42:30 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2022-07-20T19:42:30Z</dc:date>
    <item>
      <title>No means output with intermittent fileref _HTMLOUT error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/No-means-output-with-intermittent-fileref-HTMLOUT-error/m-p/824420#M325591</link>
      <description>&lt;P&gt;I am a new SAS user using SAS Studio. In the following code I am attempting to find the mean of a column.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;PROC IMPORT DATAFILE='/home/u61857737/my_data.csv'
DBMS=CSV
replace
OUT=Assignment1;
GETNAMES=YES;

RUN;

*assign data to dataset dt1;
data dt1;
set work.Assignment1;
run;

*mean of age for participants in study years “1999-2004”, “2005-2010” and “2011-2014” in Table 1;
proc means data=dt1 mean; *no change for work.dt1, Assignment1 or work.Assignment1;
var age;
class r1surveyyear;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;On &lt;EM&gt;run&lt;/EM&gt;, there is no output in the results tab and I get the following errors:&lt;/P&gt;&lt;DIV class=""&gt;&lt;FONT color="#FF0000"&gt;ERROR: At least one file associated with fileref _HTMLOUT is still in use.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;FONT color="#FF0000"&gt;ERROR: Error in the FILENAME statement.&lt;/FONT&gt;&lt;/DIV&gt;&lt;P&gt;This error disappears when I highlight and run (sometimes twice)&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;PROC IMPORT DATAFILE='/home/u61857737/my_data.csv'
DBMS=CSV
replace
OUT=Assignment1;
GETNAMES=YES;

RUN;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;and then run the complete code, but there is no table displayed for means and results remain blank.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The statement&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;PROC CONTENTS DATA=WORK.IMPORT; RUN;&lt;/P&gt;&lt;P&gt;does print out metadata tables.&lt;/P&gt;&lt;P&gt;What am I doing wrong here?&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 16:58:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/No-means-output-with-intermittent-fileref-HTMLOUT-error/m-p/824420#M325591</guid>
      <dc:creator>gwwp</dc:creator>
      <dc:date>2022-07-20T16:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: No means output with intermittent fileref _HTMLOUT error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/No-means-output-with-intermittent-fileref-HTMLOUT-error/m-p/824442#M325604</link>
      <description>&lt;P&gt;One question: why are you running contents on Work.Import when you are creating and using Assignment1 and/or DT1? Those are the two sets that are going to have an impact on the Proc Means execution.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"Still in use" messages can be somewhat tricky. If you open the output with an external program that might lock it from further use by SAS. Or if you are writing to a specific file and don't close it. Or the network is just slow.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since you don't show a Filename statement then this is likely related to a server setting for output and the server might just be slow to finish an update. Having to repeat running the import step to get a proper execution may be an indicator of high load on the server slowing things down.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 18:37:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/No-means-output-with-intermittent-fileref-HTMLOUT-error/m-p/824442#M325604</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-07-20T18:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: No means output with intermittent fileref _HTMLOUT error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/No-means-output-with-intermittent-fileref-HTMLOUT-error/m-p/824447#M325607</link>
      <description>&lt;P&gt;Thank you for your reply, it's helpful to know that server issues slow SAS down. I don't know what Work.Import is for, and it's not related to the exercise I'm doing, which is why I commented it out. I'm assuming it's unnecessary here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will post a separate question regarding how to get a means output.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 19:10:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/No-means-output-with-intermittent-fileref-HTMLOUT-error/m-p/824447#M325607</guid>
      <dc:creator>gwwp</dc:creator>
      <dc:date>2022-07-20T19:10:26Z</dc:date>
    </item>
    <item>
      <title>Re: No means output with intermittent fileref _HTMLOUT error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/No-means-output-with-intermittent-fileref-HTMLOUT-error/m-p/824466#M325609</link>
      <description>&lt;PRE&gt;*mean of age for participants in study years “1999-2004”, “2005-2010” and “2011-2014” in Table 1;&lt;/PRE&gt;
&lt;P&gt;This line in your code means you're copying and pasting your code, likely from a Word document. It's adding '&lt;A href="https://support.microsoft.com/en-us/office/smart-quotes-in-word-702fc92e-b723-4e3d-b2cc-71dedaf2f343" target="_self"&gt;smart quotes&lt;/A&gt;' and may also be adding other invisible characters affecting your code.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try typing the code out from scratch and see if it works.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, you can turn off that feature - see the link above.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 19:42:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/No-means-output-with-intermittent-fileref-HTMLOUT-error/m-p/824466#M325609</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-07-20T19:42:30Z</dc:date>
    </item>
  </channel>
</rss>

