<?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 in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-import/m-p/817060#M40817</link>
    <description>&lt;P&gt;I'm not understanding. You need to EXPLAIN. Do not write one brief sentence that repeats what you have already said; you need to provide new information, explaining what you want in detail so I can understand what the issue is. At no point have you explained your problem with the variable names.&lt;/P&gt;</description>
    <pubDate>Wed, 08 Jun 2022 12:34:13 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2022-06-08T12:34:13Z</dc:date>
    <item>
      <title>proc import</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-import/m-p/817031#M40810</link>
      <description>&lt;PRE&gt;&lt;CODE class=""&gt;proc import out= df
    datafile = 'df.xlsx'
    dbms = xlsx 
	replace;
    getnames=no;
	datarow=2;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Excel file&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Daily1_0-1654687342294.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/72067i315C29A297714FBB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Daily1_0-1654687342294.png" alt="Daily1_0-1654687342294.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;my varibles names not properly display&lt;/P&gt;
&lt;P&gt;column name is epd year vc code&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2022 13:01:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-import/m-p/817031#M40810</guid>
      <dc:creator>Daily1</dc:creator>
      <dc:date>2022-06-08T13:01:57Z</dc:date>
    </item>
    <item>
      <title>Re: proc import</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-import/m-p/817032#M40811</link>
      <description>&lt;P&gt;Can you show us the results as seen in SAS (not Excel)?&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Can you show us the PROC IMPORT code you used?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, can you explain in more detail what is wrong?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2022 11:37:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-import/m-p/817032#M40811</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-06-08T11:37:19Z</dc:date>
    </item>
    <item>
      <title>Re: proc import</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-import/m-p/817048#M40813</link>
      <description>&lt;P&gt;SAS output&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Daily1_0-1654690261638.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/72071i98BEF27A792A2D14/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Daily1_0-1654690261638.png" alt="Daily1_0-1654690261638.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;epd year vc code is my column name i want&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2022 12:11:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-import/m-p/817048#M40813</guid>
      <dc:creator>Daily1</dc:creator>
      <dc:date>2022-06-08T12:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: proc import</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-import/m-p/817051#M40814</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/236411"&gt;@Daily1&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;SAS output&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Daily1_0-1654690261638.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/72071i98BEF27A792A2D14/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Daily1_0-1654690261638.png" alt="Daily1_0-1654690261638.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;epd year vc code is my column name i want&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I don't understand what the problem is. Your variable names shown are epd year vc code. Please explain further.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2022 12:14:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-import/m-p/817051#M40814</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-06-08T12:14:37Z</dc:date>
    </item>
    <item>
      <title>Re: proc import</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-import/m-p/817055#M40815</link>
      <description>&lt;P&gt;brother just i want this type of output&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Daily1_0-1654690938536.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/72072iBC8815B66C8039C2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Daily1_0-1654690938536.png" alt="Daily1_0-1654690938536.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2022 12:22:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-import/m-p/817055#M40815</guid>
      <dc:creator>Daily1</dc:creator>
      <dc:date>2022-06-08T12:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: proc import</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-import/m-p/817060#M40817</link>
      <description>&lt;P&gt;I'm not understanding. You need to EXPLAIN. Do not write one brief sentence that repeats what you have already said; you need to provide new information, explaining what you want in detail so I can understand what the issue is. At no point have you explained your problem with the variable names.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2022 12:34:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-import/m-p/817060#M40817</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-06-08T12:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: proc import</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-import/m-p/817065#M40818</link>
      <description>&lt;P&gt;Your data starts in A2 instead of A1.&amp;nbsp; You need to tell PROC IMPORT to do the same.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc import out= df replace
    datafile = 'df.xlsx' dbms = xlsx 
;
  range='$A2:';
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 08 Jun 2022 13:06:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-import/m-p/817065#M40818</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-06-08T13:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: proc import</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-import/m-p/817075#M40819</link>
      <description>&lt;P&gt;Two issues:&lt;/P&gt;
&lt;P&gt;Your column names are in row 2, so you must use a range (see &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159"&gt;@Tom&lt;/a&gt;&amp;nbsp;'s post). Alernatively, you can remove row 1 from the spreadsheet before importing it.&lt;/P&gt;
&lt;P&gt;And your GETNAMES=NO statement explicitly prevents SAS from retrieving the variable names from the spreadsheet, so don't be surprised when SAS does what it is told to do.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2022 13:40:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-import/m-p/817075#M40819</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-06-08T13:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: proc import</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-import/m-p/817250#M40823</link>
      <description>&lt;PRE&gt;&lt;CODE class=""&gt;%macro pim(sheet);
proc import out= df.&amp;amp;sheet replace
datafile = 'df.xlsx' dbms = xlsx ;
range='&amp;amp;sheet$A2:';
run;
%mend pim;
%pim(A);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;A is a sheet1 name&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SAS log error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Couldn't find sheet in spreadsheet&lt;BR /&gt;Requested Input File Is Invalid&lt;BR /&gt;ERROR: Import unsuccessful. See SAS Log for details.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;how to import multiple sheets using Proc Import.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jun 2022 12:24:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-import/m-p/817250#M40823</guid>
      <dc:creator>Daily1</dc:creator>
      <dc:date>2022-06-09T12:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: proc import</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-import/m-p/817259#M40824</link>
      <description>&lt;P&gt;Single quotes prevent macro variables from being resolved.&lt;/P&gt;
&lt;P&gt;And this can not work:&lt;/P&gt;
&lt;PRE&gt;out= df_'&amp;amp;sheet'&lt;/PRE&gt;
&lt;P&gt;Dataset names must not contain quotes.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jun 2022 09:56:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/proc-import/m-p/817259#M40824</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-06-09T09:56:22Z</dc:date>
    </item>
  </channel>
</rss>

