<?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: SAS Studio On Demand for Academics--Infile Statement in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/SAS-Studio-On-Demand-for-Academics-Infile-Statement/m-p/768446#M81017</link>
    <description>Thanx a lot Cynthia, you're very useful &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
    <pubDate>Sat, 18 Sep 2021 22:11:26 GMT</pubDate>
    <dc:creator>NabilIbrahim</dc:creator>
    <dc:date>2021-09-18T22:11:26Z</dc:date>
    <item>
      <title>SAS Studio On Demand for Academics--Infile Statement</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-Studio-On-Demand-for-Academics-Infile-Statement/m-p/212989#M52567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can't figure out a way to use an infile statement that will actually work. I put in the whole path and it doesn't work. I've tried assigning a libref and then the name of the file&amp;nbsp; eg infile mylib.myfile.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried quotes everything. can it not read raw data ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 19:42:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-Studio-On-Demand-for-Academics-Infile-Statement/m-p/212989#M52567</guid>
      <dc:creator>Nyioves</dc:creator>
      <dc:date>2015-03-30T19:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Studio On Demand for Academics--Infile Statement</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-Studio-On-Demand-for-Academics-Infile-Statement/m-p/212990#M52568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should be getting error messages. Please post some of them.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 19:47:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-Studio-On-Demand-for-Academics-Infile-Statement/m-p/212990#M52568</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-03-30T19:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Studio On Demand for Academics--Infile Statement</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-Studio-On-Demand-for-Academics-Infile-Statement/m-p/212991#M52569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, but you usually need to upload the data to the server, it can't access data on your desktop AFAIK. You usually need to be a professor to accomplish this as well. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are quite a few posts on here regarding this issue.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 19:51:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-Studio-On-Demand-for-Academics-Infile-Statement/m-p/212991#M52569</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-03-30T19:51:03Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Studio On Demand for Academics--Infile Statement</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-Studio-On-Demand-for-Academics-Infile-Statement/m-p/212992#M52570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class="sasError" id="sasLogError1_1427749047353"&gt; ERROR: Physical file does not exist, /pbr/biconfig/940/Lev1/SASApp/country.dat.&lt;/P&gt;&lt;P class="sasError"&gt;&lt;/P&gt;&lt;P class="sasError"&gt;looks like it's looking elsewhere for it despite the libname was assigned succefully&lt;/P&gt;&lt;P class="sasError"&gt;&lt;/P&gt;&lt;P class="sasError"&gt;I can't find anything on this topic w google incidentally&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 20:58:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-Studio-On-Demand-for-Academics-Infile-Statement/m-p/212992#M52570</guid>
      <dc:creator>Nyioves</dc:creator>
      <dc:date>2015-03-30T20:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Studio On Demand for Academics--Infile Statement</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-Studio-On-Demand-for-Academics-Infile-Statement/m-p/212993#M52571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://support.sas.com/ondemand/pdf/StoringandAccessingSASFiles.pdf" title="http://support.sas.com/ondemand/pdf/StoringandAccessingSASFiles.pdf"&gt;http://support.sas.com/ondemand/pdf/StoringandAccessingSASFiles.pdf&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 21:04:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-Studio-On-Demand-for-Academics-Infile-Statement/m-p/212993#M52571</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-03-30T21:04:52Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Studio On Demand for Academics--Infile Statement</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-Studio-On-Demand-for-Academics-Infile-Statement/m-p/212994#M52572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You do not read a text file using a libref.&amp;nbsp; You can use a fileref.&amp;nbsp; Or you can just use a quoted physical path.&lt;/P&gt;&lt;P&gt;If your LIBNAME statement executed without error then you could try using the same path to reference the file.&lt;/P&gt;&lt;P&gt;Make sure to use a fully qualified path, because otherwise SAS will look for the file starting the current working directory which is usually not your path but part of the SAS installation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%let path=/home/....... ;&lt;/P&gt;&lt;P&gt;libname out "&amp;amp;path" ;&lt;/P&gt;&lt;P&gt;data out.new ;&lt;/P&gt;&lt;P&gt;infile "&amp;amp;path/myfile.csv" dsd firstobs=2 ;&lt;/P&gt;&lt;P&gt;input var1-var5;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 23:29:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-Studio-On-Demand-for-Academics-Infile-Statement/m-p/212994#M52572</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2015-03-30T23:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Studio On Demand for Academics--Infile Statement</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-Studio-On-Demand-for-Academics-Infile-Statement/m-p/212995#M52573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; These 2 previous postings specifically show reading COUNTRY.DAT with an INFILE statement:&lt;/P&gt;&lt;P&gt;INFILE statement for PRG1 on Univ Edition:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;A _jive_internal="true" href="https://communities.sas.com/message/222742#222742"&gt;https://communities.sas.com/message/222742#222742&lt;/A&gt; (example country.dat)&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;A _jive_internal="true" href="https://communities.sas.com/message/224467#224467"&gt;https://communities.sas.com/message/224467#224467&lt;/A&gt; (example country.dat)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; And, I believe that COUNTRY.DAT is used in the Programming 1 course. In the e-learning course, the instructions in the Course Overview section have you explicitly set a macro variable called PATH like this:&lt;/P&gt;&lt;P&gt;%let path = /folders/myfolders/ecprg193;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which means that the correct INFILE statement for COUNTRY.DAT would be one of these (assuming that you followed the instructions and made an ECPRG193 directory):&lt;/P&gt;&lt;P&gt;INFILE '/folders/myfolders/ecprg193/country.dat' dlm='!';&lt;/P&gt;&lt;P&gt;INFILE "&amp;amp;path/country.dat" dlm='!';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; If you are still using your course notes from Programming 1 and Programming 2, as you indicated in this posting, &lt;A _jive_internal="true" href="https://communities.sas.com/message/257003#257003"&gt;https://communities.sas.com/message/257003#257003&lt;/A&gt; then you would follow the instructions in the first demo in Chapter 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 23:43:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-Studio-On-Demand-for-Academics-Infile-Statement/m-p/212995#M52573</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2015-03-30T23:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Studio On Demand for Academics--Infile Statement</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-Studio-On-Demand-for-Academics-Infile-Statement/m-p/212996#M52574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am really confused.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I'm using On Demand not the virtual machine.&lt;/P&gt;&lt;P&gt;2. %Let is not something I am familiar with&lt;/P&gt;&lt;P&gt;3. I'm using Country.dat for my own reasons and not necessarily following the course notes.&lt;/P&gt;&lt;P&gt;4. When I use a libname statement and a set statement to read a SAS file; it works. Why wouldn't the same libname statement with an infile statement to read raw data (in the same folder as the SAS data set) not work also?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And please reply with just an infile statement that contains the syntax I should be using. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 13:55:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-Studio-On-Demand-for-Academics-Infile-Statement/m-p/212996#M52574</guid>
      <dc:creator>Nyioves</dc:creator>
      <dc:date>2015-03-31T13:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Studio On Demand for Academics--Infile Statement</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-Studio-On-Demand-for-Academics-Infile-Statement/m-p/212997#M52575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; If you are using SAS OnDemand for Academics, then instead of /folders/myfolders you would use your /home directory, as shown in your SAS OnDemand Control Center:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;/home/&amp;lt;your_username&amp;gt;/ecprg193/country.dat&lt;/STRONG&gt;&lt;/SPAN&gt; so if your username is nyioves, for example and if you did make a folder called &lt;STRONG&gt;ecprg193&lt;/STRONG&gt; for the data then the infile would be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;infile '/home/nyioves/ecprg193/country.dat' dlm='!';&lt;/STRONG&gt;&lt;/SPAN&gt; OR, if you make a different file for the course programs, then the infile would be:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;infile '/home/nyioves/prg1/country.dat' dlm='!';&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;The LIBNAME points to SAS datasets--so the LIBNAME statement will NOT contain any reference to a specific file name and file extension. On the other hand, the INFILE statement points to raw data files, so the INFILE statement should have a reference to a specific file. So if you have a LIBNAME statement like this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;libname orion '/home/nyioves/ecprg193';&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;then your INFILE statement should be the SAME as the high level path with the raw data file name specified at the end.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;infile '/home/nyioves/ecprg193/country.dat' dlm='!';&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;You said that you have a working LIBNAME statement. Assuming that country.dat is in the same location as the SAS datasets, then you should be able to use the path from your LIBNAME statement. But without knowing 1) your username and 2) the name of the folder you have, it is impossible to just give you just the syntax that you should be using.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;cynthia&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 14:09:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-Studio-On-Demand-for-Academics-Infile-Statement/m-p/212997#M52575</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2015-03-31T14:09:24Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Studio On Demand for Academics--Infile Statement</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-Studio-On-Demand-for-Academics-Infile-Statement/m-p/212998#M52576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tom got it but not necessarily I think for the reasons he montioned. You need a fileref since course has 2 Country files -- .dat and a SAS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway you need a fileref....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;filename nikfile '/home/nyioves/Nikfold/country.dat';&lt;/P&gt;&lt;P&gt;data myfil;&lt;/P&gt;&lt;P&gt;infile nikfile dlm '!';&lt;/P&gt;&lt;P&gt;input var1 $ var2 $;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 14:14:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-Studio-On-Demand-for-Academics-Infile-Statement/m-p/212998#M52576</guid>
      <dc:creator>Nyioves</dc:creator>
      <dc:date>2015-03-31T14:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Studio On Demand for Academics--Infile Statement</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-Studio-On-Demand-for-Academics-Infile-Statement/m-p/212999#M52577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You do read text files and SAS files differently in SAS. You use a libname to reference SAS (.sas7bdat) datasets and filerefs to reference text files. &lt;/P&gt;&lt;P&gt;You can also reference a text file directly in the data step. If your question is answered please mark it answered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ie. &lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;data myfil;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;infile &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;'/home/nyioves/Nikfold/country.dat'&lt;/SPAN&gt; dlm '!';&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;input var1 $ var2 $;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 14:40:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-Studio-On-Demand-for-Academics-Infile-Statement/m-p/212999#M52577</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-03-31T14:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Studio On Demand for Academics--Infile Statement</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-Studio-On-Demand-for-Academics-Infile-Statement/m-p/213000#M52578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, there are several different ways to point to external files:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;1) using a FILEREF and an INFILE statement:&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;filename wombat '/home/&amp;lt;username&amp;gt;/subdir/filename.ext';&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;data work.new;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; infile wombat dlm=',';&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt; ... more code...;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;2) direct reference:&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;data work.new;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; infile '/home/&amp;lt;username&amp;gt;/subdir/filename.ext' dlm=',';&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt; ... more code...;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;3) combined or "member" reference:&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;filename wombat '/home/&amp;lt;username&amp;gt;/subdir';&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;data work.new;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;&amp;nbsp; infile wombat(filename.ext) dlm=',';&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt; ... more code...;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;The key is understanding the path name and that the filename/extension are needed for all 3 methods: #1 and #2, the filename and extension are needed in either the FILENAME or INFILE statement and for method #3, the FILENAME statement does NOT have the file name and extension, but the INFILE statement does have the name and extension. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;Cynthia&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 16:40:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-Studio-On-Demand-for-Academics-Infile-Statement/m-p/213000#M52578</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2015-03-31T16:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Studio On Demand for Academics--Infile Statement</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-Studio-On-Demand-for-Academics-Infile-Statement/m-p/768446#M81017</link>
      <description>Thanx a lot Cynthia, you're very useful &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Sat, 18 Sep 2021 22:11:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-Studio-On-Demand-for-Academics-Infile-Statement/m-p/768446#M81017</guid>
      <dc:creator>NabilIbrahim</dc:creator>
      <dc:date>2021-09-18T22:11:26Z</dc:date>
    </item>
  </channel>
</rss>

