<?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: Why SAS results shows 0 row and 8 columns in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Why-SAS-results-shows-0-row-and-8-columns/m-p/587088#M14612</link>
    <description>Post your log. You may have an encoding issue or it could have been the extra / at the end of your file path.</description>
    <pubDate>Sun, 08 Sep 2019 17:06:25 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2019-09-08T17:06:25Z</dc:date>
    <item>
      <title>Why SAS results shows 0 row and 8 columns</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Why-SAS-results-shows-0-row-and-8-columns/m-p/587068#M14609</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my code is below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data calculator;&lt;BR /&gt;infile "/folders/myfolders/sasuser.v94/calculator.csv/" delimiter=',' firstobs=2;&lt;BR /&gt;length artifactNumber 8 model $12 Country $12 Date 4 material $10 Length 4 Width 4 Height 4;&lt;BR /&gt;input artifactNumber model $ Country $ Date material $ Length Width Height;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;attached the dataset as well, could anyone help why it shows 0 rows please? and also how to import the decimal data into SAS please.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;much appreciated !!!&lt;/P&gt;</description>
      <pubDate>Sun, 08 Sep 2019 11:59:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Why-SAS-results-shows-0-row-and-8-columns/m-p/587068#M14609</guid>
      <dc:creator>nathan0925</dc:creator>
      <dc:date>2019-09-08T11:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: Why SAS results shows 0 row and 8 columns</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Why-SAS-results-shows-0-row-and-8-columns/m-p/587069#M14610</link>
      <description>&lt;P&gt;I checked the file, saved again as CSV and the following worked&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
data calculator;
infile "C:\Users\d106808\Downloads\calculator.csv" dsd dlm=','  firstobs=2;
length artifactNumber 8 model $12 Country $12 Date 4 material $10 Length 8 Width 8 Height 8;
input artifactNumber model  Country  Date material  Length Width Height;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;NOTE: The infile "C:\Users\d106808\Downloads\calculator.csv" is:
      Filename=C:\Users\d106808\Downloads\calculator.csv,
      RECFM=V,LRECL=32767,File Size (bytes)=1441,
      Last Modified=08Sep2019:08:16:28,
      Create Time=08Sep2019:08:08:56

NOTE: 28 records were read from the infile "C:\Users\d106808\Downloads\calculator.csv".
      The minimum record length was 36.
      The maximum record length was 58.
NOTE: The data set WORK.CALCULATOR has 28 observations and 8 variables.
NOTE: DATA statement used (Total process time):
      real time           0.01 seconds
      cpu time            0.01 seconds
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 08 Sep 2019 12:20:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Why-SAS-results-shows-0-row-and-8-columns/m-p/587069#M14610</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2019-09-08T12:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: Why SAS results shows 0 row and 8 columns</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Why-SAS-results-shows-0-row-and-8-columns/m-p/587088#M14612</link>
      <description>Post your log. You may have an encoding issue or it could have been the extra / at the end of your file path.</description>
      <pubDate>Sun, 08 Sep 2019 17:06:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Why-SAS-results-shows-0-row-and-8-columns/m-p/587088#M14612</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-09-08T17:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: Why SAS results shows 0 row and 8 columns</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Why-SAS-results-shows-0-row-and-8-columns/m-p/588417#M14795</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the log is below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="sasSource"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;72&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;73 data calculator;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;74 infile "folders/myfolders\calculator.csv" dsd dlm=',' firstobs=2;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;75 length artifactNumber 8 model $12 Country $12 Date 4 material $10 Length 8 Width 8 Height 8;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;76 input artifactNumber model Country Date material Length Width Height;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;77 run;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;ERROR: Physical file does not exist, /opt/sasinside/SASConfig/Lev1/SASApp/folders/myfolders\calculator.csv.&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/DIV&gt;&lt;DIV class="sasWarning"&gt;WARNING: The data set WORK.CALCULATOR may be incomplete. When this step was stopped there were 0 observations and 8 variables.&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;NOTE: DATA statement used (Total process time):&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;real time 0.00 seconds&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;cpu time 0.00 seconds&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;78&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;79 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;91&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2019 02:02:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Why-SAS-results-shows-0-row-and-8-columns/m-p/588417#M14795</guid>
      <dc:creator>nathan0925</dc:creator>
      <dc:date>2019-09-13T02:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: Why SAS results shows 0 row and 8 columns</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Why-SAS-results-shows-0-row-and-8-columns/m-p/588418#M14796</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried so many times with both codes, and the log is below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="sasSource"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;72&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;73 data calculator;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;74 infile "folders/myfolders\calculator.csv" dsd dlm=',' firstobs=2;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;75 length artifactNumber 8 model $12 Country $12 Date 4 material $10 Length 8 Width 8 Height 8;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;76 input artifactNumber model Country Date material Length Width Height;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;77 run;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;ERROR: Physical file does not exist, /opt/sasinside/SASConfig/Lev1/SASApp/folders/myfolders\calculator.csv.&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/DIV&gt;&lt;DIV class="sasWarning"&gt;WARNING: The data set WORK.CALCULATOR may be incomplete. When this step was stopped there were 0 observations and 8 variables.&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;NOTE: DATA statement used (Total process time):&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;real time 0.00 seconds&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;cpu time 0.00 seconds&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;78&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;79 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;91&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;I really don't know what happened with my SAS. The story is that I use the VirtualBox on a Mac pro and default saving folder for this CSV file is here:&amp;nbsp; &amp;nbsp;&lt;SPAN class="s1"&gt;/Users/nathan/Desktop/myfolders/calculator.csv&amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;but we know that SAS requires us to use&amp;nbsp;"folders/myfolders\calculator.csv" to import formula, could you please share some insights if I'm incorrect please.&lt;/SPAN&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Cheers&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 13 Sep 2019 02:06:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Why-SAS-results-shows-0-row-and-8-columns/m-p/588418#M14796</guid>
      <dc:creator>nathan0925</dc:creator>
      <dc:date>2019-09-13T02:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: Why SAS results shows 0 row and 8 columns</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Why-SAS-results-shows-0-row-and-8-columns/m-p/588456#M14797</link>
      <description>&lt;P&gt;hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it seems your '/' is a issue for path : folders/myfolders\calculator.csv" dsd dlm=',' firstobs=2;&lt;/P&gt;&lt;P&gt;&amp;nbsp;try this : folders\myfolders \ calculator.csv" dsd dlm=',' firstobs=2;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2019 09:21:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Why-SAS-results-shows-0-row-and-8-columns/m-p/588456#M14797</guid>
      <dc:creator>Meghna14</dc:creator>
      <dc:date>2019-09-13T09:21:43Z</dc:date>
    </item>
    <item>
      <title>Re: Why SAS results shows 0 row and 8 columns</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Why-SAS-results-shows-0-row-and-8-columns/m-p/588510#M14800</link>
      <description>&lt;P&gt;Read the log carefully. You asked it to read this file:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;infile "folders/myfolders\calculator.csv" dsd dlm=',' firstobs=2;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;And it is telling you that such a file does not exist:&lt;/P&gt;
&lt;PRE&gt;ERROR: Physical file does not exist,
/opt/sasinside/SASConfig/Lev1/SASApp/folders/myfolders\calculator.csv.&lt;/PRE&gt;
&lt;P&gt;Since you provided a RELATIVE filename it looked for the file in the current working directory and could not find it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So first fix you file to to use the complete path, starting with the root node of /.&lt;/P&gt;
&lt;P&gt;Also make sure to use / as the separator between directory names. On Unix the backslash is used to protect the next character.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;infile "/folders/myfolders/calculator.csv" dsd dlm=',' firstobs=2;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 13 Sep 2019 13:19:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Why-SAS-results-shows-0-row-and-8-columns/m-p/588510#M14800</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-09-13T13:19:12Z</dc:date>
    </item>
  </channel>
</rss>

