<?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: Reading Data into SAS in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Reading-Data-into-SAS/m-p/486142#M71919</link>
    <description>&lt;P&gt;&lt;SPAN&gt;/Users/scott/Documents/Folders/MyFolders/EMainTable.csv is the path on your Mac. Within the SAS UE virtual machine it should be represented by&amp;nbsp;/folders/myfolder/EMainTable.csv, if you set up UE correctly.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 12 Aug 2018 10:47:46 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2018-08-12T10:47:46Z</dc:date>
    <item>
      <title>Reading Data into SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Reading-Data-into-SAS/m-p/486062#M71915</link>
      <description>&lt;P&gt;Hi All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I am still a bit new to SAS. I am using SAS University and I accidentally let me license laps, so I have SAS University redownloaded, but I am needing to re-import my data that I lost access to when my license lapsed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have done this before, but this time around I cannot for the life of me get the data read into SAS :(.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using the following code:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data IHC.Emain;&lt;/P&gt;&lt;P&gt;infile '/Users/scott/Documents/Folders/MyFolders/EMainTable.csv' firstobs=2 dlm=',' lrecl=32000 truncover DSD;&lt;/P&gt;&lt;P&gt;length Newid Icupt Dschrg_dspstn_cd Mortly_indctr_cd Primdischdiagcd $ 8&lt;/P&gt;&lt;P&gt;Primdishdiag Admitdiagcd1 $ 8 Admitdiag1 Male Age Imrs Imrsgroup&lt;/P&gt;&lt;P&gt;Imrsgroup3 Rvitestresult Cvhx Hearrate Resprate Sbp dbp Bmi&lt;/P&gt;&lt;P&gt;Minapache Maxapache Hypertensionhx Hyperlipidemiahx Diabhx&lt;/P&gt;&lt;P&gt;Mihx Cadhx Cvahx Tobaccohx Pttype $ 8 Afibhx Dysrhythmiahx&lt;/P&gt;&lt;P&gt;Chfx Copdhx Respfailhx Renalfailhx Liverfailhx Tiahx&lt;/P&gt;&lt;P&gt;Alcoholabusehx Drugabusehx Race $ 8 Pneumonia Adeno H1ni Hmpv&lt;/P&gt;&lt;P&gt;Flua Flub Para Rihino Rsv Corona Bnppreclosest Bnppremax&lt;/P&gt;&lt;P&gt;Bnpindexhospmax Bnpost90dymax Esrindexhospax Gfrindexhospmin&lt;/P&gt;&lt;P&gt;Tropiindexhospmax Tropipost90dymax Sp02indexhospmin&lt;/P&gt;&lt;P&gt;Staphaureusindexhosp Streppneumoindexhosp Afibindexhosp&lt;/P&gt;&lt;P&gt;Chestpainindexhosp Chfindexhosp Cvaindexhosp Dysrhythmiaindexhosp&lt;/P&gt;&lt;P&gt;Fallindexhosp Liverfailindexhosp Malaiseindexhosp Miindexhosp&lt;/P&gt;&lt;P&gt;Respfailindexhosp Sepsisindexhosp Sobindexhosp Wheezeindexhosp&lt;/P&gt;&lt;P&gt;Coughindexhosp Sputum Feverindexhosp Temp Fever Wbc Dxleukocytosis&lt;/P&gt;&lt;P&gt;Leukosytosis Crphsindexhospmax Elevatedcrp Dxhypoxemia Hypoxemia&lt;/P&gt;&lt;P&gt;Anydrug Antibiotic Anticoagulant Anticoagulantother Antiplatelet&lt;/P&gt;&lt;P&gt;Antiviral Betablocker Ccb Corticosteriod Statin Warfarin Fvc&lt;/P&gt;&lt;P&gt;Fivc Tlc Frc_n2 Fef25_75 Pef Fev1 Fev2 Fev3 Fev5 Fev6 Fev75&lt;/P&gt;&lt;P&gt;Dlco Vc Upperrespinfection Tuberculosis Bronchiolitis&lt;/P&gt;&lt;P&gt;Bronchitis Bacterialpneumonia Viralpneumonia Infectiouspneumonia&lt;/P&gt;&lt;P&gt;Influenza Infection Anypneumtest Pntestresult $ 8 Cpneumo Npneumo&lt;/P&gt;&lt;P&gt;Streppneumo Anybactest Anybacpositive Anylungbactest&lt;/P&gt;&lt;P&gt;Lungbacpositive dead Cvdeathhosp Timetodeath Cvprimcauseofdeath&lt;/P&gt;&lt;P&gt;Cvaprimcod Miprimcod Mifu Timetomi Cvafu Timetocva Chfifu&lt;/P&gt;&lt;P&gt;timetochf 8;&lt;/P&gt;&lt;P&gt;input Newid Icupt Dschrg_dspstn_cd Mortly_indctr_cd Primdischdiagcd&lt;/P&gt;&lt;P&gt;Primdishdiag Admitdiagcd1 Admitdiag1 Male Age Imrs Imrsgroup&lt;/P&gt;&lt;P&gt;Imrsgroup3 Rvitestresult Cvhx Hearrate Resprate Sbp dbp Bmi&lt;/P&gt;&lt;P&gt;Minapache Maxapache Hypertensionhx Hyperlipidemiahx Diabhx&lt;/P&gt;&lt;P&gt;Mihx Cadhx Cvahx Tobaccohx Pttype Afibhx Dysrhythmiahx&lt;/P&gt;&lt;P&gt;Chfx Copdhx Respfailhx Renalfailhx Liverfailhx Tiahx&lt;/P&gt;&lt;P&gt;Alcoholabusehx Drugabusehx Race Pneumonia Adeno H1ni Hmpv&lt;/P&gt;&lt;P&gt;Flua Flub Para Rihino Rsv Corona Bnppreclosest Bnppremax&lt;/P&gt;&lt;P&gt;Bnpindexhospmax Bnpost90dymax Esrindexhospax Gfrindexhospmin&lt;/P&gt;&lt;P&gt;Tropiindexhospmax Tropipost90dymax Sp02indexhospmin&lt;/P&gt;&lt;P&gt;Staphaureusindexhosp Streppneumoindexhosp Afibindexhosp&lt;/P&gt;&lt;P&gt;Chestpainindexhosp Chfindexhosp Cvaindexhosp Dysrhythmiaindexhosp&lt;/P&gt;&lt;P&gt;Fallindexhosp Liverfailindexhosp Malaiseindexhosp Miindexhosp&lt;/P&gt;&lt;P&gt;Respfailindexhosp Sepsisindexhosp Sobindexhosp Wheezeindexhosp&lt;/P&gt;&lt;P&gt;Coughindexhosp Sputum Feverindexhosp Temp Fever Wbc Dxleukocytosis&lt;/P&gt;&lt;P&gt;Leukosytosis Crphsindexhospmax Elevatedcrp Dxhypoxemia Hypoxemia&lt;/P&gt;&lt;P&gt;Anydrug Antibiotic Anticoagulant Anticoagulantother Antiplatelet&lt;/P&gt;&lt;P&gt;Antiviral Betablocker Ccb Corticosteriod Statin Warfarin Fvc&lt;/P&gt;&lt;P&gt;Fivc Tlc Frc_n2 Fef25_75 Pef Fev1 Fev2 Fev3 Fev5 Fev6 Fev75&lt;/P&gt;&lt;P&gt;Dlco Vc Upperrespinfection Tuberculosis Bronchiolitis&lt;/P&gt;&lt;P&gt;Bronchitis Bacterialpneumonia Viralpneumonia Infectiouspneumonia&lt;/P&gt;&lt;P&gt;Influenza Infection Anypneumtest Pntestresult Cpneumo Npneumo&lt;/P&gt;&lt;P&gt;Streppneumo Anybactest Anybacpositive Anylungbactest&lt;/P&gt;&lt;P&gt;Lungbacpositive dead Cvdeathhosp Timetodeath Cvprimcauseofdeath&lt;/P&gt;&lt;P&gt;Cvaprimcod Miprimcod Mifu Timetomi Cvafu Timetocva Chfifu&lt;/P&gt;&lt;P&gt;timetochf;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and I get the following error:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ERROR: The path /Users/scott/Documents/MyFolders/EMainTable.csv is not in the list of accessible paths when SAS is in the lockdown state.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have&amp;nbsp;tried replacing "/Users/scott/Documents/MyFolders" with "/folders" but when I do that I get the following error:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ERROR: Physical file does not exist, /folders/MyFolders/EMainTable.csv.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I checked and the folder the data file is in is the one I have shared with&amp;nbsp;the virtual machine I am using, it has full access and it is set to auto-mount.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I just don't know what I am doing wrong this&amp;nbsp;time... any help or insight would be appreciated!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 11 Aug 2018 16:14:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Reading-Data-into-SAS/m-p/486062#M71915</guid>
      <dc:creator>ScottSt</dc:creator>
      <dc:date>2018-08-11T16:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Data into SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Reading-Data-into-SAS/m-p/486077#M71916</link>
      <description>&lt;P&gt;Could be as simple as your use of mixed case in the directory path.&lt;/P&gt;
&lt;P&gt;If you are using SAS/studio interface and can find the file in the explorer panel on left of the screen then select it and ask to see its properties. There you can find the path the SAS machine can uses to reference the file.&amp;nbsp; So just copy that and paste it into your program.&lt;/P&gt;</description>
      <pubDate>Sat, 11 Aug 2018 19:51:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Reading-Data-into-SAS/m-p/486077#M71916</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2018-08-11T19:51:03Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Data into SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Reading-Data-into-SAS/m-p/486142#M71919</link>
      <description>&lt;P&gt;&lt;SPAN&gt;/Users/scott/Documents/Folders/MyFolders/EMainTable.csv is the path on your Mac. Within the SAS UE virtual machine it should be represented by&amp;nbsp;/folders/myfolder/EMainTable.csv, if you set up UE correctly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 12 Aug 2018 10:47:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Reading-Data-into-SAS/m-p/486142#M71919</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-08-12T10:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Data into SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Reading-Data-into-SAS/m-p/486155#M71920</link>
      <description>&lt;P&gt;That was it, I feel so silly. I had been learning to use SAS using that one data set all year, so I never read any other data set in except that one and I had forgotten that step.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much!&lt;/P&gt;</description>
      <pubDate>Sun, 12 Aug 2018 14:24:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Reading-Data-into-SAS/m-p/486155#M71920</guid>
      <dc:creator>ScottSt</dc:creator>
      <dc:date>2018-08-12T14:24:19Z</dc:date>
    </item>
  </channel>
</rss>

