<?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: Is There Anything Special To Have A File Recognized By SAS University Edition in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Is-There-Anything-Special-To-Have-A-File-Recognized-By-SAS/m-p/210289#M52031</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt; You will not be able to use your Windows path. But you should be able to simply use an INFILE statement or a FILE= option (depending on how you're reading the data):&lt;/P&gt;&lt;P&gt;INFILE "/folders/myfolders/Pgm1ExtInp.txt"; &lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;FILE="/folders/myfolders/Pgm1ExtInp.txt";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I made up some fake data (just 2 rows) and wrote a little program to illustrate. All the program is doing is dumping the records into the SAS log.&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;P&gt;&lt;IMG alt="read_data_sas_ue.png" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/9754_read_data_sas_ue.png" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Mar 2015 16:06:43 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2015-03-25T16:06:43Z</dc:date>
    <item>
      <title>Is There Anything Special To Have A File Recognized By SAS University Edition</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Is-There-Anything-Special-To-Have-A-File-Recognized-By-SAS/m-p/210288#M52030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This will be embarrassingly easy to someone but I am trying to read in a text file.&amp;nbsp; I have done it in the past.&amp;nbsp; I have it in the same folder as the previous text files.&amp;nbsp; It will recognize the first one but not my new one.&amp;nbsp; I have tried to be extra careful concerning spelling, etc.&amp;nbsp; I do not understand why it can find one but not the other.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" src="https://communities.sas.com/legacyfs/online/9750_pastedImage_0.png" style="width: 228px; height: 373px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" src="https://communities.sas.com/legacyfs/online/9753_pastedImage_3.png" style="width: 582px; height: 481px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 15:49:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Is-There-Anything-Special-To-Have-A-File-Recognized-By-SAS/m-p/210288#M52030</guid>
      <dc:creator>CraigKaercher</dc:creator>
      <dc:date>2015-03-25T15:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: Is There Anything Special To Have A File Recognized By SAS University Edition</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Is-There-Anything-Special-To-Have-A-File-Recognized-By-SAS/m-p/210289#M52031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt; You will not be able to use your Windows path. But you should be able to simply use an INFILE statement or a FILE= option (depending on how you're reading the data):&lt;/P&gt;&lt;P&gt;INFILE "/folders/myfolders/Pgm1ExtInp.txt"; &lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;FILE="/folders/myfolders/Pgm1ExtInp.txt";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I made up some fake data (just 2 rows) and wrote a little program to illustrate. All the program is doing is dumping the records into the SAS log.&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;P&gt;&lt;IMG alt="read_data_sas_ue.png" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/9754_read_data_sas_ue.png" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 16:06:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Is-There-Anything-Special-To-Have-A-File-Recognized-By-SAS/m-p/210289#M52031</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2015-03-25T16:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: Is There Anything Special To Have A File Recognized By SAS University Edition</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Is-There-Anything-Special-To-Have-A-File-Recognized-By-SAS/m-p/210290#M52032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cynthia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks but I don't think that will work.&amp;nbsp; The file that already existed works:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="sasSource"&gt; 1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/P&gt;&lt;P class="sasSource"&gt; 42 ;&lt;/P&gt;&lt;P class="sasSource"&gt; 43 data DetailINP;&lt;/P&gt;&lt;P class="sasSource"&gt; 44 infile "/folders/myfolders/fabscdataoct.txt" DLM='|' Firstobs=2;&lt;/P&gt;&lt;P class="sasSource"&gt; 45 INPUT ACCOUNT :$10. LEVEL1 $ LEVEL2 $ DISPLA $ CIRCUIT $&lt;/P&gt;&lt;P class="sasSource"&gt; 46 CALLS $ MINUTES $ COST $ DISCOUNT $&lt;/P&gt;&lt;P class="sasSource"&gt; 47 TAXES $ CIRCUITCST $ MRCCOST $ CREDITS $ FINALAMOUNT;&lt;/P&gt;&lt;P class="sasSource"&gt; 48 put ACCOUNT FINALAMOUNT;&lt;/P&gt;&lt;P class="sasSource"&gt; 49 RUN;&lt;/P&gt;&lt;P class="sasNote" id="sasLogNote1_1427300730801"&gt; NOTE: The infile "/folders/myfolders/fabscdataoct.txt" is:&lt;/P&gt;&lt;P class="sasNote"&gt;&amp;nbsp; Filename=/folders/myfolders/fabscdataoct.txt,&lt;/P&gt;&lt;P class="sasNote"&gt;&amp;nbsp; Owner Name=sasdemo,Group Name=sas,&lt;/P&gt;&lt;P class="sasNote"&gt;&amp;nbsp; Access Permission=-rw-rw-r--,&lt;/P&gt;&lt;P class="sasNote"&gt;&amp;nbsp; Last Modified=13Oct2014:12:33:51,&lt;/P&gt;&lt;P class="sasNote"&gt;&amp;nbsp; File Size (bytes)=116480&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it can't find the other file even though it is in the same directory:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="sasSource"&gt; 54&amp;nbsp; &lt;/P&gt;&lt;P class="sasSource"&gt; 55 data AccountINP;&lt;/P&gt;&lt;P class="sasSource"&gt; 56 infile "/folders/myfolders/fabscaccountinfo.txt" dlm =' ' Firstobs=1;&lt;/P&gt;&lt;P class="sasSource"&gt; 57 INPUT ACCOUNT :$10. CompName $ CompAddress $ CompCity $&lt;/P&gt;&lt;P class="sasSource"&gt; 58 CompState $ CompZip $;&lt;/P&gt;&lt;P class="sasSource"&gt; 59 put ACCOUNT CompName;&lt;/P&gt;&lt;P class="sasSource"&gt; 60 RUN;&lt;/P&gt;&lt;P class="sasError" id="sasLogError1_1427300730801"&gt;&lt;STRONG&gt; ERROR: Physical file does not exist, /folders/myfolders/fabscaccountinfo.txt.&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="sasNote" id="sasLogNote8_1427300730801"&gt; NOTE: The SAS System stopped processing this step because of errors.&lt;/P&gt;&lt;P class="sasWarning" id="sasLogWarning1_1427300730801"&gt; WARNING: The data set WORK.ACCOUNTINP may be incomplete. When this step was &lt;/P&gt;&lt;P class="sasWarning"&gt;&amp;nbsp; stopped there were 0 observations and 6 variables.&lt;/P&gt;&lt;P class="sasWarning" id="sasLogWarning2_1427300730801"&gt; WARNING: Data set WORK.ACCOUNTINP was not replaced because this step was &lt;/P&gt;&lt;P class="sasWarning"&gt;&amp;nbsp; stopped.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 16:29:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Is-There-Anything-Special-To-Have-A-File-Recognized-By-SAS/m-p/210290#M52032</guid>
      <dc:creator>CraigKaercher</dc:creator>
      <dc:date>2015-03-25T16:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: Is There Anything Special To Have A File Recognized By SAS University Edition</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Is-There-Anything-Special-To-Have-A-File-Recognized-By-SAS/m-p/210291#M52033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like either your Windows session is looking at a different folder or there is some strange character in the filename that is not captured in the screen shot.&lt;/P&gt;&lt;P&gt;Try making a new file from SAS and see if it appears in your Windows Explorer screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data _null_;&lt;/P&gt;&lt;P&gt;&amp;nbsp; set sashelp.class ;&lt;/P&gt;&lt;P&gt;&amp;nbsp; file '/folders/myfolders/brand_new_file.csv' dsd ;&lt;/P&gt;&lt;P&gt;&amp;nbsp; put (_all_) (:);&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 20:07:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Is-There-Anything-Special-To-Have-A-File-Recognized-By-SAS/m-p/210291#M52033</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2015-03-25T20:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: Is There Anything Special To Have A File Recognized By SAS University Edition</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Is-There-Anything-Special-To-Have-A-File-Recognized-By-SAS/m-p/210292#M52034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That works like I believe you were expecting.&amp;nbsp; I see it in the file list in SAS, BUT...&amp;nbsp; I don't see it in Windows Explorer.&amp;nbsp; Windows Explorer should see it, right?&amp;nbsp; Thanks for the help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Craig&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 20:59:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Is-There-Anything-Special-To-Have-A-File-Recognized-By-SAS/m-p/210292#M52034</guid>
      <dc:creator>CraigKaercher</dc:creator>
      <dc:date>2015-03-25T20:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: Is There Anything Special To Have A File Recognized By SAS University Edition</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Is-There-Anything-Special-To-Have-A-File-Recognized-By-SAS/m-p/210293#M52035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like you are looking in the wrong folder in Windows.&amp;nbsp; Double check how you mapped the folders in your virtual machine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2015 21:24:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Is-There-Anything-Special-To-Have-A-File-Recognized-By-SAS/m-p/210293#M52035</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2015-03-25T21:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: Is There Anything Special To Have A File Recognized By SAS University Edition</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Is-There-Anything-Special-To-Have-A-File-Recognized-By-SAS/m-p/210294#M52036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Couple of things, restart your VM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should see the file both in your folder list and your windows explorer. &lt;/P&gt;&lt;P&gt;If the file has weird characters or the input statement is incorrect I've seen SAS UE throw that error, even though the file exists - not helpful. &lt;/P&gt;&lt;P&gt;The file path is case sensitive since it's Unix&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2015 01:34:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Is-There-Anything-Special-To-Have-A-File-Recognized-By-SAS/m-p/210294#M52036</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-03-26T01:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: Is There Anything Special To Have A File Recognized By SAS University Edition</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Is-There-Anything-Special-To-Have-A-File-Recognized-By-SAS/m-p/210295#M52037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry for the delay.&amp;nbsp; Still in the same situation.&amp;nbsp; How do I find where "/folders/myfolders/" maps to?&amp;nbsp; Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Craig&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 15:32:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Is-There-Anything-Special-To-Have-A-File-Recognized-By-SAS/m-p/210295#M52037</guid>
      <dc:creator>CraigKaercher</dc:creator>
      <dc:date>2015-03-30T15:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: Is There Anything Special To Have A File Recognized By SAS University Edition</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Is-There-Anything-Special-To-Have-A-File-Recognized-By-SAS/m-p/210296#M52038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check your VM settings&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 17:42:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Is-There-Anything-Special-To-Have-A-File-Recognized-By-SAS/m-p/210296#M52038</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-03-30T17:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: Is There Anything Special To Have A File Recognized By SAS University Edition</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Is-There-Anything-Special-To-Have-A-File-Recognized-By-SAS/m-p/210297#M52039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I looked but it doesn't seem to have the mapping to myfolders.&amp;nbsp; I checked and the one file fabscdataoct.txt only occurs in one directory on the drive where SAS University Edition is.&amp;nbsp; That is where the other one is.&amp;nbsp; It still just doesn't show up and the SAS dataset I created does not appear in Windows Explorer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Craig&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 20:02:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Is-There-Anything-Special-To-Have-A-File-Recognized-By-SAS/m-p/210297#M52039</guid>
      <dc:creator>CraigKaercher</dc:creator>
      <dc:date>2015-03-30T20:02:14Z</dc:date>
    </item>
  </channel>
</rss>

