<?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 an Excel file with more than 400 variables in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/PROC-IMPORT-an-Excel-file-with-more-than-400-variables/m-p/971089#M43371</link>
    <description>&lt;P&gt;What options are you using in PROC IMPORT? Did you try DBMS=XLSX? Can you send your code and/or log that shows the code and messages you are getting?&lt;/P&gt;</description>
    <pubDate>Fri, 18 Jul 2025 13:22:55 GMT</pubDate>
    <dc:creator>Kathryn_SAS</dc:creator>
    <dc:date>2025-07-18T13:22:55Z</dc:date>
    <item>
      <title>PROC IMPORT an Excel file with more than 400 variables</title>
      <link>https://communities.sas.com/t5/New-SAS-User/PROC-IMPORT-an-Excel-file-with-more-than-400-variables/m-p/971086#M43368</link>
      <description>&lt;P&gt;Hi guys,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;is there a way to proc import an excel file with 463 columns (variables)?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is truncated and I cannot save the original file in .csv file format.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you in advance&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jul 2025 10:44:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/PROC-IMPORT-an-Excel-file-with-more-than-400-variables/m-p/971086#M43368</guid>
      <dc:creator>NewUsrStat</dc:creator>
      <dc:date>2025-07-18T10:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: PROC IMPORT an Excel file with more than 400 variables</title>
      <link>https://communities.sas.com/t5/New-SAS-User/PROC-IMPORT-an-Excel-file-with-more-than-400-variables/m-p/971087#M43369</link>
      <description>&lt;P&gt;You can always save to csv, either with Excel or alternative software (e.g. LibreOffice).&lt;/P&gt;
&lt;P&gt;The alternatives can even provide a CLI for such actions.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jul 2025 11:14:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/PROC-IMPORT-an-Excel-file-with-more-than-400-variables/m-p/971087#M43369</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2025-07-18T11:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: PROC IMPORT an Excel file with more than 400 variables</title>
      <link>https://communities.sas.com/t5/New-SAS-User/PROC-IMPORT-an-Excel-file-with-more-than-400-variables/m-p/971089#M43371</link>
      <description>&lt;P&gt;What options are you using in PROC IMPORT? Did you try DBMS=XLSX? Can you send your code and/or log that shows the code and messages you are getting?&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jul 2025 13:22:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/PROC-IMPORT-an-Excel-file-with-more-than-400-variables/m-p/971089#M43371</guid>
      <dc:creator>Kathryn_SAS</dc:creator>
      <dc:date>2025-07-18T13:22:55Z</dc:date>
    </item>
    <item>
      <title>Re: PROC IMPORT an Excel file with more than 400 variables</title>
      <link>https://communities.sas.com/t5/New-SAS-User/PROC-IMPORT-an-Excel-file-with-more-than-400-variables/m-p/971090#M43372</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/134532"&gt;@NewUsrStat&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi guys,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;is there a way to proc import an excel file with 463 columns (variables)?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is truncated and I cannot save the original file in .csv file format.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you in advance&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;How did you try to import it?&amp;nbsp; I am able to import an XLSX file with 500 columns.&lt;/P&gt;
&lt;PRE&gt;25   proc import file="c:\downloads\large.xlsx"
26     dbms=xlsx out=want replace;
27   run;

NOTE: The import data set has 1 observations and 500 variables.
NOTE: WORK.WANT data set was successfully created.
NOTE: PROCEDURE IMPORT used (Total process time):
      real time           0.14 seconds
      cpu time            0.01 seconds
&lt;/PRE&gt;</description>
      <pubDate>Fri, 18 Jul 2025 13:39:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/PROC-IMPORT-an-Excel-file-with-more-than-400-variables/m-p/971090#M43372</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2025-07-18T13:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: PROC IMPORT an Excel file with more than 400 variables</title>
      <link>https://communities.sas.com/t5/New-SAS-User/PROC-IMPORT-an-Excel-file-with-more-than-400-variables/m-p/971091#M43373</link>
      <description>&lt;P&gt;Here the code:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc import out= work.myw
            datafile= "\...\.xlsx" 
            dbms=excel replace;
     range="mysheet$"; 
     getnames=yes;
     mixed=no;
     scantext=yes;
     usedate=yes;
     scantime=yes;
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 18 Jul 2025 13:50:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/PROC-IMPORT-an-Excel-file-with-more-than-400-variables/m-p/971091#M43373</guid>
      <dc:creator>NewUsrStat</dc:creator>
      <dc:date>2025-07-18T13:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: PROC IMPORT an Excel file with more than 400 variables</title>
      <link>https://communities.sas.com/t5/New-SAS-User/PROC-IMPORT-an-Excel-file-with-more-than-400-variables/m-p/971094#M43376</link>
      <description>&lt;P&gt;Possibly it was EXCEL that could not handle the large number of variables?&lt;/P&gt;
&lt;P&gt;Use the XLSX engine and take EXCEL out of the loop.&amp;nbsp; You don't need most of those optional statements, either because they are the default or they just don't apply.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc import out= work.myw replace
  dbms=xlsx  datafile= "\...\.xlsx" 
;
  sheet= 'mysheet';
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 18 Jul 2025 14:19:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/PROC-IMPORT-an-Excel-file-with-more-than-400-variables/m-p/971094#M43376</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2025-07-18T14:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: PROC IMPORT an Excel file with more than 400 variables</title>
      <link>https://communities.sas.com/t5/New-SAS-User/PROC-IMPORT-an-Excel-file-with-more-than-400-variables/m-p/971096#M43378</link>
      <description>Thank you very much for the indications.</description>
      <pubDate>Fri, 18 Jul 2025 14:24:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/PROC-IMPORT-an-Excel-file-with-more-than-400-variables/m-p/971096#M43378</guid>
      <dc:creator>NewUsrStat</dc:creator>
      <dc:date>2025-07-18T14:24:22Z</dc:date>
    </item>
  </channel>
</rss>

