<?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: Physical file does not exist in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Physical-file-does-not-exist/m-p/674782#M23570</link>
    <description>&lt;P&gt;Got it...Now I have an output but it is empty...I tried coding a different way from the tutorial videos that you sent me...&lt;/P&gt;&lt;PRE&gt;data sample;
	infile '/home/u49152646/EPG194/rapid_syphilis/sample.csv' dlm=',' firstobs=2;
	input rapid_syphilis race gendec genderb sex_o housing_status sessiondate age druguse condom risk;
run;

Log was pretty long but it says invalid data and gain my output data was empty:

 
 1          OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 SYMBOLGEN:  Macro variable _SASWSTEMP_ resolves to /home/u49152646/.sasstudio/.images/52784700-4b6e-40f6-aa6a-258160043ad9
 SYMBOLGEN:  Some characters in the above value which were subject to macro quoting have been unquoted for printing.
 SYMBOLGEN:  Macro variable GRAPHINIT resolves to GOPTIONS RESET=ALL GSFNAME=_GSFNAME;
 72         
 73         data sample;
 74         infile '/home/u49152646/EPG194/rapid_syphilis/sample.csv' dlm=',' firstobs=2;
 75         input rapid_syphilis race gendec genderb sex_o housing_status sessiondate age druguse condom risk;
 76         run;
 
 NOTE: The infile '/home/u49152646/EPG194/rapid_syphilis/sample.csv' is:
       Filename=/home/u49152646/EPG194/rapid_syphilis/sample.csv,
       Owner Name=u49152646,Group Name=oda,
       Access Permission=-rw-r--r--,
       Last Modified=04Aug2020:10:54:25,
       File Size (bytes)=826571
 
 NOTE: Invalid data for rapid_syphilis in line 2 1-8.
 NOTE: Invalid data for race in line 2 10-14.
 NOTE: Invalid data for gendec in line 2 16-19.
 NOTE: Invalid data for genderb in line 2 21-24.
 NOTE: Invalid data for sex_o in line 2 26-33.
 NOTE: Invalid data for housing_status in line 2 35-46.
 NOTE: Invalid data for sessiondate in line 2 48-65.
 NOTE: Invalid data for age in line 2 67-75.
 NOTE: Invalid data for condom in line 2 80-81.
 NOTE: Invalid data for risk in line 2 83-100.
 RULE:     ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0                      
 2         Received,White,Male,Male,Bisexual,Not Homeless,West Hollywood MTU,27-Apr-18,50,No,Did not use condom
      101  ,High 105
 rapid_syphilis=. race=. gendec=. genderb=. sex_o=. housing_status=. sessiondate=. age=. druguse=50 condom=. risk=. _ERROR_=1 _N_=1
 NOTE: Invalid data for rapid_syphilis in line 3 1-8.
 NOTE: Invalid data for race in line 3 10-14.
 NOTE: Invalid data for gendec in line 3 16-19.
 NOTE: Invalid data for genderb in line 3 21-24.
 NOTE: Invalid data for sex_o in line 3 26-36.
 NOTE: Invalid data for housing_status in line 3 38-49.
 NOTE: Invalid data for sessiondate in line 3 51-68.
 NOTE: Invalid data for age in line 3 70-78.
 NOTE: Invalid data for condom in line 3 83-84.
 NOTE: Invalid data for risk in line 3 86-103.
 3         Received,White,Male,Male,Gay/Lesbian,Not Homeless,West Hollywood MTU,28-Apr-18,23,No,Did not use con
      101  dom,High 108
 rapid_syphilis=. race=. gendec=. genderb=. sex_o=. housing_status=. sessiondate=. age=. druguse=23 condom=. risk=. _ERROR_=1 _N_=2
 NOTE: Invalid data for rapid_syphilis in line 4 1-8.
 NOTE: Invalid data for race in line 4 10-14.
 NOTE: Invalid data for gendec in line 4 16-19.
 NOTE: Invalid data for genderb in line 4 21-24.
 NOTE: Invalid data for sex_o in line 4 26-33.
 NOTE: Invalid data for housing_status in line 4 35-42.
 NOTE: Invalid data for sessiondate in line 4 44-61.
 NOTE: Invalid data for age in line 4 63-71.
 NOTE: Invalid data for condom in line 4 76-77.
 NOTE: Invalid data for risk in line 4 79-96.
 4         Received,White,Male,Male,Bisexual,Homeless,West Hollywood MTU,28-Apr-18,49,No,Did not use condom,Hig
      101  h 101
 rapid_syphilis=. race=. gendec=. genderb=. sex_o=. housing_status=. sessiondate=. age=. druguse=49 condom=. risk=. _ERROR_=1 _N_=3
 NOTE: Invalid data for rapid_syphilis in line 5 1-12.
 NOTE: Invalid data for race in line 5 14-35.
 NOTE: Invalid data for gendec in line 5 37-40.
 NOTE: Invalid data for genderb in line 5 42-45.
 NOTE: Invalid data for sex_o in line 5 47-57.
 NOTE: Invalid data for housing_status in line 5 59-70.
 NOTE: Invalid data for sessiondate in line 5 72-89.
 NOTE: Invalid data for age in line 5 91-99.
 NOTE: Invalid data for condom in line 5 104-105.
 NOTE: Invalid data for risk in line 5 107-124.
 RULE:     ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0                      
 5         Not Received,Black/African American,Male,Male,Gay/Lesbian,Not Homeless,West Hollywood MTU,28-Apr-18,
      101  52,No,Did not use condom,High 129
 rapid_syphilis=. race=. gendec=. genderb=. sex_o=. housing_status=. sessiondate=. age=. druguse=52 condom=. risk=. _ERROR_=1 _N_=4
 NOTE: Invalid data for rapid_syphilis in line 6 1-12.
 NOTE: Invalid data for race in line 6 14-18.
 NOTE: Invalid data for gendec in line 6 20-23.
 NOTE: Invalid data for genderb in line 6 25-28.
 NOTE: Invalid data for sex_o in line 6 30-40.
 NOTE: Invalid data for housing_status in line 6 42-53.
 NOTE: Invalid data for sessiondate in line 6 55-72.
 NOTE: Invalid data for age in line 6 74-82.
 NOTE: Invalid data for condom in line 6 87-88.
 NOTE: Invalid data for risk in line 6 90-103.
 6         Not Received,Asian,Male,Male,Gay/Lesbian,Not Homeless,West Hollywood MTU,28-Apr-18,26,No,Did use con
      101  dom,Low 107
 rapid_syphilis=. race=. gendec=. genderb=. sex_o=. housing_status=. sessiondate=. age=. druguse=26 condom=. risk=. _ERROR_=1 _N_=5
 NOTE: Invalid data for rapid_syphilis in line 7 1-12.
 NOTE: Invalid data for race in line 7 14-18.
 NOTE: Invalid data for gendec in line 7 20-23.
 NOTE: Invalid data for genderb in line 7 25-28.
 NOTE: Invalid data for sex_o in line 7 30-40.
 NOTE: Invalid data for housing_status in line 7 42-53.
 NOTE: Invalid data for sessiondate in line 7 55-72.
 NOTE: Invalid data for age in line 7 74-82.
 NOTE: Invalid data for condom in line 7 87-88.
 NOTE: Invalid data for risk in line 7 90-103.
 7         Not Received,White,Male,Male,Gay/Lesbian,Not Homeless,West Hollywood MTU,28-Apr-18,27,No,Did use con
      101  dom,Low 107
 rapid_syphilis=. race=. gendec=. genderb=. sex_o=. housing_status=. sessiondate=. age=. druguse=27 condom=. risk=. _ERROR_=1 _N_=6
 NOTE: Invalid data for rapid_syphilis in line 8 1-12.
 NOTE: Invalid data for race in line 8 14-35.
 NOTE: Invalid data for gendec in line 8 37-40.
 NOTE: Invalid data for genderb in line 8 42-45.
 NOTE: Invalid data for sex_o in line 8 47-58.
 NOTE: Invalid data for housing_status in line 8 60-71.
 NOTE: Invalid data for sessiondate in line 8 73-90.
 NOTE: Invalid data for age in line 8 92-100.
 NOTE: Invalid data for condom in line 8 105-106.
 NOTE: Invalid data for risk in line 8 108-125.
 8         Not Received,Black/African American,Male,Male,Heterosexual,Not Homeless,West Hollywood MTU,28-Apr-18
      101  ,39,No,Did not use condom,High 130
 rapid_syphilis=. race=. gendec=. genderb=. sex_o=. housing_status=. sessiondate=. age=. druguse=39 condom=. risk=. _ERROR_=1 _N_=7
 NOTE: Invalid data for rapid_syphilis in line 9 1-12.
 NOTE: Invalid data for race in line 9 14-24.
 NOTE: Invalid data for gendec in line 9 26-36.
 NOTE: Invalid data for genderb in line 9 38-41.
 NOTE: Invalid data for sex_o in line 9 43-58.
 NOTE: Invalid data for housing_status in line 9 60-71.
 NOTE: Invalid data for sessiondate in line 9 73-90.
 NOTE: Invalid data for age in line 9 92-100.
 NOTE: Invalid data for condom in line 9 105-106.
 NOTE: Invalid data for risk in line 9 108-121.
 RULE:     ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0                      
 9         Not Received,Multiracial,Transgender,Male,Unknown/Declined,Not Homeless,West Hollywood MTU,28-Apr-18
      101  ,39,No,Did use condom,Low 125
 rapid_syphilis=. race=. gendec=. genderb=. sex_o=. housing_status=. sessiondate=. age=. druguse=39 condom=. risk=. _ERROR_=1 _N_=8
 NOTE: Invalid data for rapid_syphilis in line 10 1-8.
 NOTE: Invalid data for race in line 10 10-14.
 NOTE: Invalid data for gendec in line 10 16-19.
 NOTE: Invalid data for genderb in line 10 21-24.
 NOTE: Invalid data for sex_o in line 10 26-36.
 NOTE: Invalid data for housing_status in line 10 38-49.
 NOTE: Invalid data for sessiondate in line 10 51-68.
 NOTE: Invalid data for age in line 10 70-78.
 NOTE: Invalid data for condom in line 10 83-84.
 NOTE: Invalid data for risk in line 10 86-99.
 10        Received,White,Male,Male,Gay/Lesbian,Not Homeless,West Hollywood MTU,28-Apr-18,29,No,Did use condom,
      101  High 104
 rapid_syphilis=. race=. gendec=. genderb=. sex_o=. housing_status=. sessiondate=. age=. druguse=29 condom=. risk=. _ERROR_=1 _N_=9
 NOTE: Invalid data for rapid_syphilis in line 11 1-12.
 NOTE: Invalid data for race in line 11 14-18.
 NOTE: Invalid data for gendec in line 11 20-23.
 NOTE: Invalid data for genderb in line 11 25-28.
 NOTE: Invalid data for sex_o in line 11 30-40.
 NOTE: Invalid data for housing_status in line 11 42-53.
 NOTE: Invalid data for sessiondate in line 11 55-72.
 NOTE: Invalid data for age in line 11 74-82.
 NOTE: Invalid data for condom in line 11 87-88.
 NOTE: Invalid data for risk in line 11 90-103.
 11        Not Received,White,Male,Male,Gay/Lesbian,Not Homeless,West Hollywood MTU,28-Apr-18,26,No,Did use con
      101  dom,Low 107
 rapid_syphilis=. race=. gendec=. genderb=. sex_o=. housing_status=. sessiondate=. age=. druguse=26 condom=. risk=. _ERROR_=1 _N_=10
 NOTE: Invalid data for rapid_syphilis in line 12 1-12.
 NOTE: Invalid data for race in line 12 14-18.
 NOTE: Invalid data for gendec in line 12 20-23.
 NOTE: Invalid data for genderb in line 12 25-28.
 NOTE: Invalid data for sex_o in line 12 30-40.
 NOTE: Invalid data for housing_status in line 12 42-53.
 NOTE: Invalid data for sessiondate in line 12 55-72.
 NOTE: Invalid data for age in line 12 74-82.
 NOTE: Invalid data for condom in line 12 87-88.
 NOTE: Invalid data for risk in line 12 90-103.
 12        Not Received,Asian,Male,Male,Gay/Lesbian,Not Homeless,West Hollywood MTU,28-Apr-18,21,No,Did use con
      101  dom,Low 107
 rapid_syphilis=. race=. gendec=. genderb=. sex_o=. housing_status=. sessiondate=. age=. druguse=21 condom=. risk=. _ERROR_=1 _N_=11
 NOTE: Invalid data for rapid_syphilis in line 13 1-12.
 NOTE: Invalid data for race in line 13 14-24.
 NOTE: Invalid data for gendec in line 13 26-29.
 NOTE: Invalid data for genderb in line 13 31-34.
 NOTE: Invalid data for sex_o in line 13 36-43.
 NOTE: Invalid data for housing_status in line 13 45-56.
 NOTE: Invalid data for sessiondate in line 13 58-75.
 NOTE: Invalid data for age in line 13 77-85.
 NOTE: Invalid data for condom in line 13 90-91.
 NOTE: Invalid data for risk in line 13 93-110.
 13        Not Received,Multiracial,Male,Male,Bisexual,Not Homeless,West Hollywood MTU,28-Apr-18,27,No,Did not 
 RULE:     ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0                      
      101  use condom,High 115
 rapid_syphilis=. race=. gendec=. genderb=. sex_o=. housing_status=. sessiondate=. age=. druguse=27 condom=. risk=. _ERROR_=1 _N_=12
 NOTE: Invalid data for rapid_syphilis in line 14 1-12.
 NOTE: Invalid data for race in line 14 14-18.
 NOTE: Invalid data for gendec in line 14 20-23.
 NOTE: Invalid data for genderb in line 14 25-28.
 NOTE: Invalid data for sex_o in line 14 30-40.
 NOTE: Invalid data for housing_status in line 14 42-53.
 NOTE: Invalid data for sessiondate in line 14 55-72.
 NOTE: Invalid data for age in line 14 74-82.
 NOTE: Invalid data for condom in line 14 87-88.
 NOTE: Invalid data for risk in line 14 90-103.
 14        Not Received,White,Male,Male,Gay/Lesbian,Not Homeless,West Hollywood MTU,28-Apr-18,61,No,Did use con
      101  dom,Low 107
 rapid_syphilis=. race=. gendec=. genderb=. sex_o=. housing_status=. sessiondate=. age=. druguse=61 condom=. risk=. _ERROR_=1 _N_=13
 NOTE: Invalid data for rapid_syphilis in line 15 1-12.
 NOTE: Invalid data for race in line 15 14-18.
 NOTE: Invalid data for gendec in line 15 20-23.
 NOTE: Invalid data for genderb in line 15 25-28.
 NOTE: Invalid data for sex_o in line 15 30-40.
 NOTE: Invalid data for housing_status in line 15 42-53.
 NOTE: Invalid data for sessiondate in line 15 55-72.
 NOTE: Invalid data for age in line 15 74-82.
 NOTE: Invalid data for condom in line 15 87-88.
 NOTE: Invalid data for risk in line 15 90-107.
 15        Not Received,White,Male,Male,Gay/Lesbian,Not Homeless,West Hollywood MTU,28-Apr-18,31,No,Did not use
      101   condom,High 112
 rapid_syphilis=. race=. gendec=. genderb=. sex_o=. housing_status=. sessiondate=. age=. druguse=31 condom=. risk=. _ERROR_=1 _N_=14
 NOTE: Invalid data for rapid_syphilis in line 16 1-12.
 NOTE: Invalid data for race in line 16 14-35.
 NOTE: Invalid data for gendec in line 16 37-40.
 NOTE: Invalid data for genderb in line 16 42-45.
 NOTE: Invalid data for sex_o in line 16 47-57.
 NOTE: Invalid data for housing_status in line 16 59-70.
 NOTE: Invalid data for sessiondate in line 16 72-89.
 NOTE: Invalid data for age in line 16 91-99.
 NOTE: Invalid data for condom in line 16 104-105.
 NOTE: Invalid data for risk in line 16 107-124.
 16        Not Received,Black/African American,Male,Male,Gay/Lesbian,Not Homeless,West Hollywood MTU,28-Apr-18,
      101  38,No,Did not use condom,High 129
 rapid_syphilis=. race=. gendec=. genderb=. sex_o=. housing_status=. sessiondate=. age=. druguse=38 condom=. risk=. _ERROR_=1 _N_=15
 NOTE: Invalid data for rapid_syphilis in line 17 1-12.
 NOTE: Invalid data for race in line 17 14-18.
 NOTE: Invalid data for gendec in line 17 20-23.
 NOTE: Invalid data for genderb in line 17 25-28.
 NOTE: Invalid data for sex_o in line 17 30-40.
 NOTE: Invalid data for housing_status in line 17 42-53.
 NOTE: Invalid data for sessiondate in line 17 55-72.
 NOTE: Invalid data for age in line 17 74-82.
 NOTE: Invalid data for condom in line 17 87-88.
 NOTE: Invalid data for risk in line 17 90-107.
 17        Not Received,White,Male,Male,Gay/Lesbian,Not Homeless,West Hollywood MTU,28-Apr-18,55,No,Did not use
      101   condom,High 112
 rapid_syphilis=. race=. gendec=. genderb=. sex_o=. housing_status=. sessiondate=. age=. druguse=55 condom=. risk=. _ERROR_=1 _N_=16
 NOTE: Invalid data for rapid_syphilis in line 18 1-12.
 NOTE: Invalid data for race in line 18 14-18.
 NOTE: Invalid data for gendec in line 18 20-23.
 NOTE: Invalid data for genderb in line 18 25-28.
 NOTE: Invalid data for sex_o in line 18 30-40.
 NOTE: Invalid data for housing_status in line 18 42-53.
 NOTE: Invalid data for sessiondate in line 18 55-72.
 NOTE: Invalid data for age in line 18 74-82.
 NOTE: Invalid data for condom in line 18 87-88.
 NOTE: Invalid data for risk in line 18 90-107.
 RULE:     ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0                      
 18        Not Received,White,Male,Male,Gay/Lesbian,Not Homeless,West Hollywood MTU,28-Apr-18,21,No,Did not use
      101   condom,High 112
 rapid_syphilis=. race=. gendec=. genderb=. sex_o=. housing_status=. sessiondate=. age=. druguse=21 condom=. risk=. _ERROR_=1 _N_=17
 NOTE: Invalid data for rapid_syphilis in line 19 1-12.
 NOTE: Invalid data for race in line 19 14-18.
 NOTE: Invalid data for gendec in line 19 20-23.
 NOTE: Invalid data for genderb in line 19 25-28.
 NOTE: Invalid data for sex_o in line 19 30-40.
 NOTE: Invalid data for housing_status in line 19 42-53.
 NOTE: Invalid data for sessiondate in line 19 55-72.
 NOTE: Invalid data for age in line 19 74-82.
 NOTE: Invalid data for condom in line 19 87-88.
 NOTE: Invalid data for risk in line 19 90-107.
 19        Not Received,White,Male,Male,Gay/Lesbian,Not Homeless,West Hollywood MTU,28-Apr-18,18,No,Did not use
      101   condom,High 112
 rapid_syphilis=. race=. gendec=. genderb=. sex_o=. housing_status=. sessiondate=. age=. druguse=18 condom=. risk=. _ERROR_=1 _N_=18
 NOTE: Invalid data for rapid_syphilis in line 20 1-12.
 NOTE: Invalid data for race in line 20 14-18.
 NOTE: Invalid data for gendec in line 20 20-23.
 NOTE: Invalid data for genderb in line 20 25-28.
 NOTE: Invalid data for sex_o in line 20 30-40.
 NOTE: Invalid data for housing_status in line 20 42-53.
 NOTE: Invalid data for sessiondate in line 20 55-72.
 NOTE: Invalid data for age in line 20 74-82.
 NOTE: Invalid data for condom in line 20 87-88.
 NOTE: Invalid data for risk in line 20 90-103.
 20        Not Received,Asian,Male,Male,Gay/Lesbian,Not Homeless,West Hollywood MTU,28-Apr-18,26,No,Did use con
      101  dom,Low 107
 rapid_syphilis=. race=. gendec=. genderb=. sex_o=. housing_status=. sessiondate=. age=. druguse=26 condom=. risk=. _ERROR_=1 _N_=19
 NOTE: Invalid data for rapid_syphilis in line 21 1-12.
 NOTE: Invalid data for race in line 21 14-18.
 NOTE: Invalid data for gendec in line 21 20-23.
 NOTE: Invalid data for genderb in line 21 25-28.
 NOTE: Invalid data for sex_o in line 21 30-41.
 NOTE: Invalid data for housing_status in line 21 43-54.
 NOTE: Invalid data for sessiondate in line 21 56-73.
 NOTE: Invalid data for age in line 21 75-83.
 NOTE: Invalid data for condom in line 21 88-89.
 NOTE: Invalid data for risk in line 21 91-108.
 WARNING: Limit set by ERRORS= option reached.  Further errors of this type will not be printed.
 21        Not Received,Asian,Male,Male,Heterosexual,Not Homeless,West Hollywood MTU,28-Apr-18,22,No,Did not us
      101  e condom,High 113
 rapid_syphilis=. race=. gendec=. genderb=. sex_o=. housing_status=. sessiondate=. age=. druguse=22 condom=. risk=. _ERROR_=1 _N_=20
 NOTE: 6981 records were read from the infile '/home/u49152646/EPG194/rapid_syphilis/sample.csv'.
       The minimum record length was 90.
       The maximum record length was 155.
 NOTE: The data set WORK.SAMPLE has 6981 observations and 11 variables.
 NOTE: DATA statement used (Total process time):
       real time           0.03 seconds
       user cpu time       0.01 seconds
       system cpu time     0.00 seconds
       memory              1407.65k
       OS Memory           33452.00k
       Timestamp           08/05/2020 03:52:58 PM
       Step Count                        120  Switch Count  2
       Page Faults                       0
       Page Reclaims                     251
       Page Swaps                        0
       Voluntary Context Switches        20
       Involuntary Context Switches      0
       Block Input Operations            1200
       Block Output Operations           1288
       
 
 77         
 78         OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 SYMBOLGEN:  Macro variable GRAPHTERM resolves to GOPTIONS NOACCESSIBLE;
 90         &lt;/PRE&gt;</description>
    <pubDate>Wed, 05 Aug 2020 16:55:41 GMT</pubDate>
    <dc:creator>Kimberly_2020</dc:creator>
    <dc:date>2020-08-05T16:55:41Z</dc:date>
    <item>
      <title>Physical file does not exist</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Physical-file-does-not-exist/m-p/674492#M23544</link>
      <description>&lt;P&gt;Hello there! i am a new SAS user and I am trying to import a CSV file...I have already created a folder in SAS where the csv file is..The problem is that when I press run, it keeps saying physical file does not exist...The folder name is rapid_syphilis and the csv in it is named sample_8.3.2020...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my code:&lt;/P&gt;&lt;P&gt;/*import a CSV file*/&lt;/P&gt;&lt;P&gt;%let path=S:\CSV Import;&lt;/P&gt;&lt;P&gt;options validvarname=v7;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc import datafile="&amp;amp;path\rapid_syphilis.csv"&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;out=syphilis&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;dbms=csv replace;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Aug 2020 18:24:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Physical-file-does-not-exist/m-p/674492#M23544</guid>
      <dc:creator>Kimberly_2020</dc:creator>
      <dc:date>2020-08-04T18:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: Physical file does not exist</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Physical-file-does-not-exist/m-p/674503#M23545</link>
      <description>&lt;P&gt;When you have a macro variable that has a value of&amp;nbsp;&lt;SPAN&gt;&lt;FONT face="courier new,courier"&gt;S:\CSV Import&lt;/FONT&gt; then your code uses it in this line&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc import datafile="&amp;amp;path\rapid_syphilis.csv"&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;and so &amp;amp;path is replaced by &lt;FONT face="courier new,courier"&gt;S:\CSV Import&lt;/FONT&gt; and so now SAS is looking for the file&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;S:\CSV Import\rapid_syphilis.csv&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt; and the ERROR message you are getting is that this file does not exist. You are pointing in the wrong folder, or you have the wrong file name.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Side issue: you don't need a macro variable here at all. Just get rid of it and type in the correct folder and file name in PROC IMPORT. Especially for a beginner, it's easier to get the file name and folder correct by typing it in yourself than by resorting to a macro variable.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Aug 2020 18:54:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Physical-file-does-not-exist/m-p/674503#M23545</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-08-04T18:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: Physical file does not exist</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Physical-file-does-not-exist/m-p/674506#M23546</link>
      <description>&lt;P&gt;Now it is giving me a syntax error for:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc import datafile= s:\CSV Import\rapid_syphilis.csv&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The line is under the colon..it says it is not recognized and will be ignored&lt;/P&gt;</description>
      <pubDate>Tue, 04 Aug 2020 18:56:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Physical-file-does-not-exist/m-p/674506#M23546</guid>
      <dc:creator>Kimberly_2020</dc:creator>
      <dc:date>2020-08-04T18:56:17Z</dc:date>
    </item>
    <item>
      <title>Re: Physical file does not exist</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Physical-file-does-not-exist/m-p/674510#M23547</link>
      <description>&lt;P&gt;Also, when I change the colon to semicolon...It says output SAS data set must be provided&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Aug 2020 19:03:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Physical-file-does-not-exist/m-p/674510#M23547</guid>
      <dc:creator>Kimberly_2020</dc:creator>
      <dc:date>2020-08-04T19:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: Physical file does not exist</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Physical-file-does-not-exist/m-p/674511#M23548</link>
      <description>&lt;P&gt;First, I don't think you have actually stated that&amp;nbsp;&lt;SPAN&gt;s:\CSV Import\rapid_syphilis.csv actually exists, and SAS thinks it doesn't exist, so I believe SAS.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Show us the LOG from this portion of the code. Do not chop anything out. Copy the log as text and then use the &amp;lt;/&amp;gt; icon here to open a window which the log should be pasted into — do not skip this step.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Aug 2020 19:07:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Physical-file-does-not-exist/m-p/674511#M23548</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-08-04T19:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: Physical file does not exist</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Physical-file-does-not-exist/m-p/674515#M23549</link>
      <description>Does the code work without any macro variables?</description>
      <pubDate>Tue, 04 Aug 2020 19:10:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Physical-file-does-not-exist/m-p/674515#M23549</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-08-04T19:10:24Z</dc:date>
    </item>
    <item>
      <title>Re: Physical file does not exist</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Physical-file-does-not-exist/m-p/674517#M23550</link>
      <description>&lt;PRE&gt;/*Import a CSV File*/
%let path=S:\CSV Import;
options validvarname=v7;

proc import datafile= s:\CSV Import\rapid_syphilis.csv
			out=sample_8.3.2020.csv
			dbms=csv replace;
run;&lt;/PRE&gt;</description>
      <pubDate>Tue, 04 Aug 2020 19:14:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Physical-file-does-not-exist/m-p/674517#M23550</guid>
      <dc:creator>Kimberly_2020</dc:creator>
      <dc:date>2020-08-04T19:14:04Z</dc:date>
    </item>
    <item>
      <title>Re: Physical file does not exist</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Physical-file-does-not-exist/m-p/674518#M23551</link>
      <description>&lt;P&gt;No it gave me syntax error..and it didn't work with it&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Aug 2020 19:14:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Physical-file-does-not-exist/m-p/674518#M23551</guid>
      <dc:creator>Kimberly_2020</dc:creator>
      <dc:date>2020-08-04T19:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: Physical file does not exist</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Physical-file-does-not-exist/m-p/674519#M23552</link>
      <description>&lt;P&gt;How do I state it exist?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Aug 2020 19:15:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Physical-file-does-not-exist/m-p/674519#M23552</guid>
      <dc:creator>Kimberly_2020</dc:creator>
      <dc:date>2020-08-04T19:15:17Z</dc:date>
    </item>
    <item>
      <title>Re: Physical file does not exist</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Physical-file-does-not-exist/m-p/674520#M23553</link>
      <description>&lt;P&gt;You did not show me the LOG from your code. I need to see the LOG including the code, NOTES, WARNINGs and ERRORs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You confirm that the file exists by showing me a screen capture of the folder so we can all see what files are in it.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Aug 2020 19:17:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Physical-file-does-not-exist/m-p/674520#M23553</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-08-04T19:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: Physical file does not exist</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Physical-file-does-not-exist/m-p/674521#M23554</link>
      <description>&lt;P&gt;Adding, this is probably the error&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;out=sample_8.3.2020.csv&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;you have to use a valid SAS data set name here, which can't have periods, spaces or any special characters except an underscore. Which is why you really need to show us the log in the first place, this would have saved lots of time.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Aug 2020 19:18:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Physical-file-does-not-exist/m-p/674521#M23554</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-08-04T19:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: Physical file does not exist</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Physical-file-does-not-exist/m-p/674528#M23555</link>
      <description>&lt;PRE&gt; NOTE: The SAS System stopped processing this step because of errors.
 77         proc import datafile= s:\CSV Import\rapid_syphilis.csv
                                   _
                                   22
                                   200
 ERROR 22-322: Syntax error, expecting one of the following: ;, DATAFILE, DATATABLE, DBMS, DEBUG, FILE, OUT, REPLACE, TABLE, 
               _DEBUG_.  
 
 ERROR 200-322: The symbol is not recognized and will be ignored.
78         out=sample_8.3.2020.csv
                             _____
                             22
                             76
 ERROR 22-322: Syntax error, expecting one of the following: ;, (, DATAFILE, DATATABLE, DBMS, DEBUG, FILE, OUT, REPLACE, TABLE, 
               _DEBUG_.  
 
 ERROR 76-322: Syntax error, statement will be ignored.
 
 79         dbms=csv replace;
 80         run;
 81         &lt;/PRE&gt;</description>
      <pubDate>Tue, 04 Aug 2020 19:29:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Physical-file-does-not-exist/m-p/674528#M23555</guid>
      <dc:creator>Kimberly_2020</dc:creator>
      <dc:date>2020-08-04T19:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: Physical file does not exist</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Physical-file-does-not-exist/m-p/674529#M23556</link>
      <description>&lt;PRE&gt; NOTE: PROCEDURE IMPORT used (Total process time):
       real time           0.00 seconds
       user cpu time       0.00 seconds
       system cpu time     0.00 seconds
       memory              204.09k
       OS Memory           30372.00k
       Timestamp           08/04/2020 07:23:15 PM
       Step Count                        24  Switch Count  0
       Page Faults                       0
       Page Reclaims                     63
       Page Swaps                        0
       Voluntary Context Switches        0
       Involuntary Context Switches      0
       Block Input Operations            0
       Block Output Operations           0
       
 NOTE: The SAS System stopped processing this step because of errors.&lt;/PRE&gt;</description>
      <pubDate>Tue, 04 Aug 2020 19:31:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Physical-file-does-not-exist/m-p/674529#M23556</guid>
      <dc:creator>Kimberly_2020</dc:creator>
      <dc:date>2020-08-04T19:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: Physical file does not exist</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Physical-file-does-not-exist/m-p/674533#M23557</link>
      <description>&lt;P&gt;Sorry about that. I changed it to sample&lt;/P&gt;</description>
      <pubDate>Tue, 04 Aug 2020 19:33:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Physical-file-does-not-exist/m-p/674533#M23557</guid>
      <dc:creator>Kimberly_2020</dc:creator>
      <dc:date>2020-08-04T19:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: Physical file does not exist</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Physical-file-does-not-exist/m-p/674535#M23558</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc import datafile="s:\CSV Import\rapid_syphilis.csv"&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;and fix the OUT=&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Aug 2020 19:46:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Physical-file-does-not-exist/m-p/674535#M23558</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-08-04T19:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: Physical file does not exist</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Physical-file-does-not-exist/m-p/674542#M23559</link>
      <description>&lt;P&gt;Now it says libname is not assigned...I am sorry for bugging you..I am really new at this.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Aug 2020 20:00:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Physical-file-does-not-exist/m-p/674542#M23559</guid>
      <dc:creator>Kimberly_2020</dc:creator>
      <dc:date>2020-08-04T20:00:07Z</dc:date>
    </item>
    <item>
      <title>Re: Physical file does not exist</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Physical-file-does-not-exist/m-p/674544#M23560</link>
      <description>&lt;P&gt;The filename should be in quotes&lt;/P&gt;
&lt;PRE&gt;proc import datafile= "s:\CSV Import\rapid_syphilis.csv"&lt;/PRE&gt;
&lt;P&gt;The only output Proc Import will create is a SAS data set. Not CSV.&lt;/P&gt;
&lt;P&gt;So you specify a library name and data set name.&lt;/P&gt;
&lt;P&gt;out= libname.dataset&lt;/P&gt;
&lt;P&gt;which uses a single dot between the SAS library name and the data set name. Multiple dots are right out. Data set names can only have letters, digits and the _ character.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you later want to send SAS data out to a CSV file you would use Proc Export.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Aug 2020 20:11:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Physical-file-does-not-exist/m-p/674544#M23560</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-08-04T20:11:59Z</dc:date>
    </item>
    <item>
      <title>Re: Physical file does not exist</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Physical-file-does-not-exist/m-p/674545#M23561</link>
      <description>&lt;PRE&gt;libname syphilis "/home/u49152645/syphilis";

Note:

1          OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 72         
 73         libname syphilis "/home/u49152645/syphilis";
 NOTE: Library SYPHILIS does not exist.
 74         
 75         OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 87         &lt;/PRE&gt;</description>
      <pubDate>Tue, 04 Aug 2020 20:04:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Physical-file-does-not-exist/m-p/674545#M23561</guid>
      <dc:creator>Kimberly_2020</dc:creator>
      <dc:date>2020-08-04T20:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: Physical file does not exist</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Physical-file-does-not-exist/m-p/674635#M23562</link>
      <description>You need to show your whole code and log. We're seeing bits and pieces that don't make sense.</description>
      <pubDate>Wed, 05 Aug 2020 02:27:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Physical-file-does-not-exist/m-p/674635#M23562</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-08-05T02:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: Physical file does not exist</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Physical-file-does-not-exist/m-p/674641#M23563</link>
      <description>&lt;P&gt;Which kind of SAS installation are you using?&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;University Edition in a downloaded virtual machine&lt;/LI&gt;
&lt;LI&gt;SAS on Demand for Academics&lt;/LI&gt;
&lt;LI&gt;licensed SAS in a local installation&lt;/LI&gt;
&lt;LI&gt;licensed SAS in a client/server installation&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;All these need different methods for accessing external files and defining libnames, so it is essential for us to know how you use SAS.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Aug 2020 04:17:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Physical-file-does-not-exist/m-p/674641#M23563</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-08-05T04:17:47Z</dc:date>
    </item>
  </channel>
</rss>

