<?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: PROC IMPORT issue(CSV) in SAS EG 7.1 in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-IMPORT-issue-CSV-in-SAS-EG-7-1/m-p/212528#M15939</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This behaviour is controlled by EG settings under Data General. You can change these settings permanently for all EG sessions, but you have to be careful if you run the same code outside of EG then you may require additional SAS OPTIONs:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="screenshot6.jpg" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/9988_screenshot6.jpg" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Apr 2015 20:48:19 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2015-04-09T20:48:19Z</dc:date>
    <item>
      <title>PROC IMPORT issue(CSV) in SAS EG 7.1</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-IMPORT-issue-CSV-in-SAS-EG-7-1/m-p/212525#M15936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Team&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have recently migrated from SAS EG 4.1 to SAS EG 7.1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the older version (4.1), we have used PROC IMPORT to import a CSV file.While importing, if any variable had spaces, then the spaces would be replaced by _. &lt;/P&gt;&lt;P&gt;For Eg: Account Number would be replaced by Account_Number. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Newer version (7.1), the same code is importing the variable name with spaces. Eg: Account Number and it is NOT replacing spaces with _. I have tried options validvarname=V7; but it isn't working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the below code: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;options validvarname=v7;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc import&amp;nbsp; datafile="TT3.csv"&lt;/P&gt;&lt;P&gt;out=HPI dbms=CSV;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;proc contents data= HPI;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Rajesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 11:59:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-IMPORT-issue-CSV-in-SAS-EG-7-1/m-p/212525#M15936</guid>
      <dc:creator>RAmarapuram</dc:creator>
      <dc:date>2015-03-30T11:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: PROC IMPORT issue(CSV) in SAS EG 7.1</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-IMPORT-issue-CSV-in-SAS-EG-7-1/m-p/212526#M15937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This has also happened to me with an excel file.&amp;nbsp; When I use proc import in SAS 9.4&amp;nbsp; (on Win7 64bit), the space is replaced by a "_" (which is what I expect it to do).&amp;nbsp; However when the exact same code is run in EG 7.1, the space is not replaced.&amp;nbsp;&amp;nbsp; (SAS PC Files Server is installed and running.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc import file="u:\report1.xls" &lt;/P&gt;&lt;P&gt;out=report1_in dbms=xls replace;&lt;/P&gt;&lt;P&gt;&amp;nbsp; namerow=13;&lt;/P&gt;&lt;P&gt;&amp;nbsp; startrow=15;&lt;/P&gt;&lt;P&gt;&amp;nbsp; getnames=yes;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anne&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2015 20:23:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-IMPORT-issue-CSV-in-SAS-EG-7-1/m-p/212526#M15937</guid>
      <dc:creator>AnneOKeefe</dc:creator>
      <dc:date>2015-04-09T20:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: PROC IMPORT issue(CSV) in SAS EG 7.1</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-IMPORT-issue-CSV-in-SAS-EG-7-1/m-p/212527#M15938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Take a look at: &lt;A href="http://support.sas.com/kb/13/765.html" title="http://support.sas.com/kb/13/765.html"&gt;13765 - PROC IMPORT imports column names differently in SAS® Enterprise Guide®&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2015 20:42:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-IMPORT-issue-CSV-in-SAS-EG-7-1/m-p/212527#M15938</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2015-04-09T20:42:10Z</dc:date>
    </item>
    <item>
      <title>Re: PROC IMPORT issue(CSV) in SAS EG 7.1</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-IMPORT-issue-CSV-in-SAS-EG-7-1/m-p/212528#M15939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This behaviour is controlled by EG settings under Data General. You can change these settings permanently for all EG sessions, but you have to be careful if you run the same code outside of EG then you may require additional SAS OPTIONs:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="screenshot6.jpg" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/9988_screenshot6.jpg" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2015 20:48:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-IMPORT-issue-CSV-in-SAS-EG-7-1/m-p/212528#M15939</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2015-04-09T20:48:19Z</dc:date>
    </item>
  </channel>
</rss>

