<?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: Is there a limit to read number of records from xlsx file into SAS? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Is-there-a-limit-to-read-number-of-records-from-xlsx-file-into/m-p/705526#M216467</link>
    <description>&lt;P&gt;I only have one sheet and the sheetname is Sheet1. Saved the xlsx file as CSV still not able to import all the records. I have about 100 variables and 103K records&amp;nbsp;not sure if I want to write a datastep.&lt;/P&gt;</description>
    <pubDate>Sun, 13 Dec 2020 18:20:52 GMT</pubDate>
    <dc:creator>Stalk</dc:creator>
    <dc:date>2020-12-13T18:20:52Z</dc:date>
    <item>
      <title>Is there a limit to read number of records from xlsx file into SAS?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Is-there-a-limit-to-read-number-of-records-from-xlsx-file-into/m-p/705430#M216409</link>
      <description>&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;My xlsx file has 103465 records when I use the following code or import wizard it only importing 96508 records. What is te best menthod to import all the records into SAS to process?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;libname&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; tf xlsx &lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#800080"&gt;"c:\temp\test.xlsx"&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;data temp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;&amp;nbsp; tf.sheet1;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;run;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;Thank you&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 12 Dec 2020 02:53:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Is-there-a-limit-to-read-number-of-records-from-xlsx-file-into/m-p/705430#M216409</guid>
      <dc:creator>Stalk</dc:creator>
      <dc:date>2020-12-12T02:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a limit to read number of records from xlsx file into SAS?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Is-there-a-limit-to-read-number-of-records-from-xlsx-file-into/m-p/705432#M216410</link>
      <description>&lt;P&gt;Save the spreadsheet to a csv file, inspect that with a&amp;nbsp;&lt;EM&gt;text editor&lt;/EM&gt; to verify its contents, then read it with a data step.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 12 Dec 2020 06:46:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Is-there-a-limit-to-read-number-of-records-from-xlsx-file-into/m-p/705432#M216410</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-12-12T06:46:23Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a limit to read number of records from xlsx file into SAS?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Is-there-a-limit-to-read-number-of-records-from-xlsx-file-into/m-p/705435#M216412</link>
      <description>&lt;P&gt;Could it be that "sheet1" is not a sheetname, but a named range?&lt;/P&gt;</description>
      <pubDate>Sat, 12 Dec 2020 08:09:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Is-there-a-limit-to-read-number-of-records-from-xlsx-file-into/m-p/705435#M216412</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-12-12T08:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a limit to read number of records from xlsx file into SAS?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Is-there-a-limit-to-read-number-of-records-from-xlsx-file-into/m-p/705472#M216427</link>
      <description>&lt;P&gt;Hello! I'm a student who recently learned SAS so bear with me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There shouldn't be a limit for the number of records. Is there more than 1 sheet in the file? If there are and the rest of the records are on another sheet you need to specify each sheet. For example, since you're importing an Excel file you could try and use PROC IMPORT and then use this statement: SHEET = "Sheet1"; (or whatever the title of the sheets are). You would have to do a separate PROC IMPORT for each sheet though. Here's a link that provides more detail:&amp;nbsp;&lt;A href="https://communities.sas.com/t5/SAS-Procedures/PROC-IMPORT-multiple-sheets/td-p/149597" target="_blank" rel="noopener"&gt;https://communities.sas.com/t5/SAS-Procedures/PROC-IMPORT-multiple-sheets/td-p/149597&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope that helps!&lt;/P&gt;</description>
      <pubDate>Sun, 13 Dec 2020 02:32:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Is-there-a-limit-to-read-number-of-records-from-xlsx-file-into/m-p/705472#M216427</guid>
      <dc:creator>jporterf</dc:creator>
      <dc:date>2020-12-13T02:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a limit to read number of records from xlsx file into SAS?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Is-there-a-limit-to-read-number-of-records-from-xlsx-file-into/m-p/705526#M216467</link>
      <description>&lt;P&gt;I only have one sheet and the sheetname is Sheet1. Saved the xlsx file as CSV still not able to import all the records. I have about 100 variables and 103K records&amp;nbsp;not sure if I want to write a datastep.&lt;/P&gt;</description>
      <pubDate>Sun, 13 Dec 2020 18:20:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Is-there-a-limit-to-read-number-of-records-from-xlsx-file-into/m-p/705526#M216467</guid>
      <dc:creator>Stalk</dc:creator>
      <dc:date>2020-12-13T18:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a limit to read number of records from xlsx file into SAS?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Is-there-a-limit-to-read-number-of-records-from-xlsx-file-into/m-p/705535#M216471</link>
      <description>Please open the CSV file with a text editor, scroll down to the end, and look at the line number.</description>
      <pubDate>Sun, 13 Dec 2020 19:01:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Is-there-a-limit-to-read-number-of-records-from-xlsx-file-into/m-p/705535#M216471</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-12-13T19:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a limit to read number of records from xlsx file into SAS?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Is-there-a-limit-to-read-number-of-records-from-xlsx-file-into/m-p/705539#M216472</link>
      <description>&lt;P&gt;Can you post the log, please.&lt;/P&gt;</description>
      <pubDate>Sun, 13 Dec 2020 19:17:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Is-there-a-limit-to-read-number-of-records-from-xlsx-file-into/m-p/705539#M216472</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2020-12-13T19:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a limit to read number of records from xlsx file into SAS?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Is-there-a-limit-to-read-number-of-records-from-xlsx-file-into/m-p/705543#M216474</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/358432"&gt;@Stalk&lt;/a&gt;&amp;nbsp; - You can use PROC IMPORT with the DBMS = CSV option to both import your CSV and also to generate DATA step code automatically. You may need to use - OPTIONS SOURCE; - to make the DATA step code visible in your SAS log.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 13 Dec 2020 19:53:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Is-there-a-limit-to-read-number-of-records-from-xlsx-file-into/m-p/705543#M216474</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2020-12-13T19:53:15Z</dc:date>
    </item>
  </channel>
</rss>

