<?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: Will post 1 more time... Still having issues importing txt file... in Advanced Programming</title>
    <link>https://communities.sas.com/t5/Advanced-Programming/Will-post-1-more-time-Still-having-issues-importing-txt-file/m-p/823621#M191</link>
    <description>&lt;P&gt;How would I go about giving permission to sas to access the file?&lt;/P&gt;</description>
    <pubDate>Sat, 16 Jul 2022 10:15:33 GMT</pubDate>
    <dc:creator>scottyniven</dc:creator>
    <dc:date>2022-07-16T10:15:33Z</dc:date>
    <item>
      <title>Will post 1 more time... Still having issues importing txt file...</title>
      <link>https://communities.sas.com/t5/Advanced-Programming/Will-post-1-more-time-Still-having-issues-importing-txt-file/m-p/823586#M185</link>
      <description>&lt;PRE&gt;libname perm 'C:\Users\Eden\OneDrive\Documents';
data perm.fungal;
infile 'C:\Users\Eden\OneDrive\Documents\fungal.txt' firstobs=2
input patno treat $ age sex $ severity clears;
run;&lt;/PRE&gt;&lt;P&gt;This, below is the syntax I'm getting...&lt;/P&gt;&lt;PRE&gt;1    libname perm 'C:\Users\Eden\OneDrive\Documents';
NOTE: Libref PERM was successfully assigned as follows:
      Engine:        V9
      Physical Name: C:\Users\Eden\OneDrive\Documents
2    data perm.fungal;
3    infile 'C:\Users\Eden\OneDrive\Documents\fungal.txt' firstobs=2
4    input patno treat $ age sex $ severity clears;
     -----
     23
ERROR 23-2: Invalid option name INPUT.

4  ! input patno treat $ age sex $ severity clears;
           -----
           23
ERROR 23-2: Invalid option name PATNO.

4  ! input patno treat $ age sex $ severity clears;
                 -----
                 23
ERROR 23-2: Invalid option name TREAT.

4  ! input patno treat $ age sex $ severity clears;
                       -         -
                       23        23
ERROR 23-2: Invalid option name $.

4  ! input patno treat $ age sex $ severity clears;
                         ---
                         23
ERROR 23-2: Invalid option name AGE.

4  ! input patno treat $ age sex $ severity clears;
                             ---
                             23
ERROR 23-2: Invalid option name SEX.

4  ! input patno treat $ age sex $ severity clears;
                                   --------
                                   23
ERROR 23-2: Invalid option name SEVERITY.

4  ! input patno treat $ age sex $ severity clears;
                                            ------
                                            23
ERROR 23-2: Invalid option name CLEARS.

5    run;

NOTE: The SAS System stopped processing this step because of errors.
WARNING: The data set PERM.FUNGAL may be incomplete.  When this step was stopped there were 0
         observations and 0 variables.
WARNING: Data set PERM.FUNGAL was not replaced because this step was stopped.
NOTE: DATA statement used (Total process time):
      real time           0.07 seconds
      cpu time            0.01 seconds&lt;/PRE&gt;&lt;P&gt;Help would be appreciated&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jul 2022 23:08:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Advanced-Programming/Will-post-1-more-time-Still-having-issues-importing-txt-file/m-p/823586#M185</guid>
      <dc:creator>scottyniven</dc:creator>
      <dc:date>2022-07-15T23:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: Will post 1 more time... Still having issues importing txt file...</title>
      <link>https://communities.sas.com/t5/Advanced-Programming/Will-post-1-more-time-Still-having-issues-importing-txt-file/m-p/823590#M186</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="scottyniven_0-1657927200584.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/73351iD1841D5220778CE2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="scottyniven_0-1657927200584.png" alt="scottyniven_0-1657927200584.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This is the dataset I am attempting to import. I believe that I have put the $'s in the right place though...&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jul 2022 23:21:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Advanced-Programming/Will-post-1-more-time-Still-having-issues-importing-txt-file/m-p/823590#M186</guid>
      <dc:creator>scottyniven</dc:creator>
      <dc:date>2022-07-15T23:21:10Z</dc:date>
    </item>
    <item>
      <title>Re: Will post 1 more time... Still having issues importing txt file...</title>
      <link>https://communities.sas.com/t5/Advanced-Programming/Will-post-1-more-time-Still-having-issues-importing-txt-file/m-p/823591#M187</link>
      <description>&lt;P&gt;Did you not see the answer in your previous post? Your INFILE statement is missing a semicolon.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jul 2022 23:27:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Advanced-Programming/Will-post-1-more-time-Still-having-issues-importing-txt-file/m-p/823591#M187</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2022-07-15T23:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: Will post 1 more time... Still having issues importing txt file...</title>
      <link>https://communities.sas.com/t5/Advanced-Programming/Will-post-1-more-time-Still-having-issues-importing-txt-file/m-p/823608#M188</link>
      <description>&lt;P&gt;If you get such "weird" errors where SAS calls a statement or function something else (like &lt;EM&gt;option&lt;/EM&gt; here) always investigate if there is a semicolon missing or something wrong with quoting.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Patrick_1-1657943660035.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/73355iD7940B8655455EBE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Patrick_1-1657943660035.png" alt="Patrick_1-1657943660035.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Jul 2022 03:56:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Advanced-Programming/Will-post-1-more-time-Still-having-issues-importing-txt-file/m-p/823608#M188</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2022-07-16T03:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: Will post 1 more time... Still having issues importing txt file...</title>
      <link>https://communities.sas.com/t5/Advanced-Programming/Will-post-1-more-time-Still-having-issues-importing-txt-file/m-p/823614#M189</link>
      <description>&lt;P&gt;Hi guy, thanks... however now when I put the semicolon Im still having this issue physical file does not exist when I know its in my dcuments...&lt;/P&gt;</description>
      <pubDate>Sat, 16 Jul 2022 08:21:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Advanced-Programming/Will-post-1-more-time-Still-having-issues-importing-txt-file/m-p/823614#M189</guid>
      <dc:creator>scottyniven</dc:creator>
      <dc:date>2022-07-16T08:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: Will post 1 more time... Still having issues importing txt file...</title>
      <link>https://communities.sas.com/t5/Advanced-Programming/Will-post-1-more-time-Still-having-issues-importing-txt-file/m-p/823618#M190</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Patrick_0-1657960085066.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/73357iE52561589EC340E4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Patrick_0-1657960085066.png" alt="Patrick_0-1657960085066.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The successful libname statement tells us that the path to the Documents folder exists and is valid.&lt;/P&gt;
&lt;P&gt;If you get a file does not exist error then you've either misspelled the file name or it's in a different folder or (unlikely) the user under which you execute SAS doesn't have sufficient access so SAS can't "see" the file.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Jul 2022 08:30:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Advanced-Programming/Will-post-1-more-time-Still-having-issues-importing-txt-file/m-p/823618#M190</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2022-07-16T08:30:33Z</dc:date>
    </item>
    <item>
      <title>Re: Will post 1 more time... Still having issues importing txt file...</title>
      <link>https://communities.sas.com/t5/Advanced-Programming/Will-post-1-more-time-Still-having-issues-importing-txt-file/m-p/823621#M191</link>
      <description>&lt;P&gt;How would I go about giving permission to sas to access the file?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Jul 2022 10:15:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Advanced-Programming/Will-post-1-more-time-Still-having-issues-importing-txt-file/m-p/823621#M191</guid>
      <dc:creator>scottyniven</dc:creator>
      <dc:date>2022-07-16T10:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: Will post 1 more time... Still having issues importing txt file...</title>
      <link>https://communities.sas.com/t5/Advanced-Programming/Will-post-1-more-time-Still-having-issues-importing-txt-file/m-p/823662#M192</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/429278"&gt;@scottyniven&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi guy, thanks... however now when I put the semicolon Im still having this issue physical file does not exist when I know its in my dcuments...&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;SHOW the log. Copy the text from the log, open a text box on the forum with the &amp;lt;/&amp;gt; icon and paste the text.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That we we know what you actually submitted. Maybe you "put the semicolon" in the wrong place. Maybe you mistyped an used a colon.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another thing that you really want to verify is that the file name is correct. If you misspell the name or extension then the file does not exist because you gave SAS the wrong name. Using Windows explorer I often highlight the file and copy the text as I am too lazy to retype if not needed, especially the paths.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Jul 2022 20:03:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Advanced-Programming/Will-post-1-more-time-Still-having-issues-importing-txt-file/m-p/823662#M192</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-07-16T20:03:12Z</dc:date>
    </item>
  </channel>
</rss>

