<?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: Trying to get a text file into SAS but it can't locate it in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Trying-to-get-a-text-file-into-SAS-but-it-can-t-locate-it/m-p/711430#M26918</link>
    <description>&lt;P&gt;How would I find what the predefined folder is?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not 100% sure which platform it is, it says SAS Studio on the tab and I downloaded SAS University Edition.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also tried looking for the file names that it said in the error message, but no files under that name could be found on my laptop when I did a search.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 14 Jan 2021 12:29:30 GMT</pubDate>
    <dc:creator>Leah088</dc:creator>
    <dc:date>2021-01-14T12:29:30Z</dc:date>
    <item>
      <title>Trying to get a text file into SAS but it can't locate it</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Trying-to-get-a-text-file-into-SAS-but-it-can-t-locate-it/m-p/711407#M26908</link>
      <description>&lt;P&gt;Hi there. I'm a first time user on a HP laptop (not sure if this could be relevant).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to run the command:&lt;/P&gt;&lt;PRE&gt;DATA X;&lt;BR /&gt;INFILE '____';&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;But I cant seem to find a command that works, or a place to store the file in which it can be read. I've tried going deep into my files searching for SASUniversityEdition but it doesn't exist. I've tried making the files myself and copying the directory but that doesn't work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have no idea where the files are actually saved on my laptop at all because i cant find them, and the file called 'sas' on my laptop somehow loops onto itself?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm very confused, I just want it to read a text file&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face_with_sweat:"&gt;😅&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jan 2021 10:53:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Trying-to-get-a-text-file-into-SAS-but-it-can-t-locate-it/m-p/711407#M26908</guid>
      <dc:creator>Leah088</dc:creator>
      <dc:date>2021-01-14T10:53:05Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to get a text file into SAS but it can't locate it</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Trying-to-get-a-text-file-into-SAS-but-it-can-t-locate-it/m-p/711414#M26910</link>
      <description>&lt;P&gt;INFILE is just declaring the input file. Its syntax is&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;STRONG&gt;infile "&amp;lt;full path&amp;gt;&amp;lt;file name&amp;gt;"&amp;nbsp; &amp;nbsp;&amp;lt;options&amp;gt;;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;You better check the sas documentation for INPUT.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To read a record you need INPUT statement, something like&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;STRONG&gt;input&amp;nbsp; &amp;lt;list of variable names&amp;gt;;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As some variables are alphanumeric, other are numeric - dates, integers, real number etc. - you need to assign type and INFORMAT of the variables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Search for examples in the documentation.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jan 2021 11:06:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Trying-to-get-a-text-file-into-SAS-but-it-can-t-locate-it/m-p/711414#M26910</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2021-01-14T11:06:01Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to get a text file into SAS but it can't locate it</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Trying-to-get-a-text-file-into-SAS-but-it-can-t-locate-it/m-p/711418#M26912</link>
      <description>&lt;P&gt;When you set up University Edition, you defined the shared folder. Files need to be put there for UE to read them, and files need to be created there by your programs so you can fetch them back to the "outside".&lt;/P&gt;
&lt;P&gt;The internal path (UE is a virtual Linux machine, containing a miniature SAS BI Server) is /folders/myfolders.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please post&amp;nbsp;&lt;EM&gt;complete&lt;/EM&gt; logs from steps that fail (code and messages); use the button indicated to copy/paste the log into the proper communities sub-window:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bildschirmfoto 2020-04-07 um 08.32.59.jpg"&gt;&lt;img src="https://communities.sas.com/skins/images/2DDE49EA501227DB2656927E4A5EECB7/responsive_peak/images/image_not_found.png" alt="Bildschirmfoto 2020-04-07 um 08.32.59.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jan 2021 11:31:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Trying-to-get-a-text-file-into-SAS-but-it-can-t-locate-it/m-p/711418#M26912</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-01-14T11:31:15Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to get a text file into SAS but it can't locate it</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Trying-to-get-a-text-file-into-SAS-but-it-can-t-locate-it/m-p/711420#M26913</link>
      <description>&lt;P&gt;Is there a way to see which file was selected as the shared one?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm sorry for not posting the whole thing the first time.&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;73         DATA FUNGAL;
 74         INFILE 'C:/fungal.txt' FIRSTOBS=2 EXPANDTABS;
 75         INPUT PATNO TREAT $ AGE SEX $ SEVERITY CLEARS;
 76         RUN;
 
 ERROR: Physical file does not exist, /opt/sasinside/SASConfig/Lev1/SASApp/C:/fungal.txt.
 NOTE: The SAS System stopped processing this step because of errors.
 WARNING: The data set WORK.FUNGAL may be incomplete.  When this step was stopped there were 0 observations and 6 variables.
 WARNING: Data set WORK.FUNGAL was not replaced because this step was stopped.
 NOTE: DATA statement used (Total process time):
       real time           0.00 seconds
       cpu time            0.00 seconds&lt;/PRE&gt;&lt;P&gt;This is what I tried to do, is it typed out correctly?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jan 2021 11:46:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Trying-to-get-a-text-file-into-SAS-but-it-can-t-locate-it/m-p/711420#M26913</guid>
      <dc:creator>Leah088</dc:creator>
      <dc:date>2021-01-14T11:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to get a text file into SAS but it can't locate it</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Trying-to-get-a-text-file-into-SAS-but-it-can-t-locate-it/m-p/711423#M26915</link>
      <description>&lt;P&gt;What sas platform are you using?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It seems that you are running SAS installed on a unix (or linux)&amp;nbsp; server from windows.&lt;/P&gt;
&lt;P&gt;You need to move your file from C:\ to some predefined folder depending on your sas platform.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jan 2021 12:05:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Trying-to-get-a-text-file-into-SAS-but-it-can-t-locate-it/m-p/711423#M26915</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2021-01-14T12:05:04Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to get a text file into SAS but it can't locate it</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Trying-to-get-a-text-file-into-SAS-but-it-can-t-locate-it/m-p/711430#M26918</link>
      <description>&lt;P&gt;How would I find what the predefined folder is?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not 100% sure which platform it is, it says SAS Studio on the tab and I downloaded SAS University Edition.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also tried looking for the file names that it said in the error message, but no files under that name could be found on my laptop when I did a search.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jan 2021 12:29:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Trying-to-get-a-text-file-into-SAS-but-it-can-t-locate-it/m-p/711430#M26918</guid>
      <dc:creator>Leah088</dc:creator>
      <dc:date>2021-01-14T12:29:30Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to get a text file into SAS but it can't locate it</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Trying-to-get-a-text-file-into-SAS-but-it-can-t-locate-it/m-p/711432#M26919</link>
      <description>&lt;P&gt;So you are using SAD UE (University edition) as I do.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The shared folder need be assigned as:&amp;nbsp; &lt;STRONG&gt;C:\SASUniversityEdition\myfolders&amp;nbsp;&lt;/STRONG&gt;or on any other device.&lt;/P&gt;
&lt;P&gt;The path used in a sas program is&amp;nbsp;&lt;STRONG&gt;/folders/myfolders&lt;/STRONG&gt;&amp;nbsp; with any subfolder in above directory.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;for example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;filename source "&lt;STRONG&gt;/folders/myfolders&lt;/STRONG&gt;/source/myprog.sas";&amp;nbsp; &amp;nbsp; &amp;nbsp;or&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;infile "&lt;STRONG&gt;/folders/myfolders&lt;/STRONG&gt;/rowdata/csv_file.csv";&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jan 2021 12:42:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Trying-to-get-a-text-file-into-SAS-but-it-can-t-locate-it/m-p/711432#M26919</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2021-01-14T12:42:14Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to get a text file into SAS but it can't locate it</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Trying-to-get-a-text-file-into-SAS-but-it-can-t-locate-it/m-p/711436#M26920</link>
      <description>&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;IF&lt;/EM&gt;&lt;/STRONG&gt; you followed the instructions for setting up University Edition correctly, you will have a folder in your Windows called SASUniversityEdition with a subfolder myfolders. This is represented within UE as /folders/myfolders.&lt;/P&gt;
&lt;P&gt;Store your text file there, and use&lt;/P&gt;
&lt;PRE&gt;/folders/myfolders/fungal.txt&lt;/PRE&gt;
&lt;P&gt;as the name of your INFILE.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jan 2021 12:52:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Trying-to-get-a-text-file-into-SAS-but-it-can-t-locate-it/m-p/711436#M26920</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-01-14T12:52:35Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to get a text file into SAS but it can't locate it</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Trying-to-get-a-text-file-into-SAS-but-it-can-t-locate-it/m-p/711464#M26926</link>
      <description>&lt;P&gt;I have a file called 'sas' but no 'SASUniversityEdition'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The 'sas' folder contains 'simstudioconfig' and inside of that 'spawner' and 'workspaceserver'.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does this sound like anything?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I didn't set it up correctly is there a way to re-configure it or something?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jan 2021 14:54:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Trying-to-get-a-text-file-into-SAS-but-it-can-t-locate-it/m-p/711464#M26926</guid>
      <dc:creator>Leah088</dc:creator>
      <dc:date>2021-01-14T14:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to get a text file into SAS but it can't locate it</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Trying-to-get-a-text-file-into-SAS-but-it-can-t-locate-it/m-p/711477#M26929</link>
      <description>&lt;P&gt;To run SAS UE you had to install it into a virtual machine. It is the in the setup of the virtual machine that you set the location on your Windows machine that is shared.&amp;nbsp; So check the setting in that software.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For a small file you can use use the SAS/Studio interface to "upload" the file.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 335px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/53508i81ADF30F9852CA90/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jan 2021 15:38:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Trying-to-get-a-text-file-into-SAS-but-it-can-t-locate-it/m-p/711477#M26929</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-01-14T15:38:39Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to get a text file into SAS but it can't locate it</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Trying-to-get-a-text-file-into-SAS-but-it-can-t-locate-it/m-p/711479#M26930</link>
      <description>&lt;P&gt;Well, it is&amp;nbsp;&lt;EM&gt;your&lt;/EM&gt; laptop, so I guess that you also set up your SAS environment. How did you do that?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jan 2021 15:38:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Trying-to-get-a-text-file-into-SAS-but-it-can-t-locate-it/m-p/711479#M26930</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-01-14T15:38:54Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to get a text file into SAS but it can't locate it</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Trying-to-get-a-text-file-into-SAS-but-it-can-t-locate-it/m-p/711490#M26931</link>
      <description>&lt;P&gt;Ah thank you for the VM suggestion, I found the 'SASUniversityEdition' file after rooting around in there for a while.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Still no 'myfolders' though, only 'Logs' and 'snapshot' folders are in there. Is this the right one or no?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jan 2021 16:10:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Trying-to-get-a-text-file-into-SAS-but-it-can-t-locate-it/m-p/711490#M26931</guid>
      <dc:creator>Leah088</dc:creator>
      <dc:date>2021-01-14T16:10:38Z</dc:date>
    </item>
  </channel>
</rss>

