<?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: What are the best ways to read the large data in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/What-are-the-best-ways-to-read-the-large-data/m-p/538223#M148150</link>
    <description>&lt;P&gt;I am assuming that by "aligned" you mean the data is valid?&amp;nbsp; I also assume that your using proc import.&amp;nbsp; Switch your programming to use a datastep read - as suggested by&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/12447"&gt;@Patrick&lt;/a&gt;,&amp;nbsp;use a data _null_ is you don't want to save the file.&amp;nbsp; In the datastep read, specify each variable, informat, length, format, label etc. In this way once the code is executed, anything which doesn't conform to your structure will show problems in the log with the actual line of data which causes the issues (up to what you have set your options level to).&amp;nbsp; There is no way to do this without reading at least header and first observation of the file.&lt;/P&gt;</description>
    <pubDate>Mon, 25 Feb 2019 09:06:04 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2019-02-25T09:06:04Z</dc:date>
    <item>
      <title>What are the best ways to read the large data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-are-the-best-ways-to-read-the-large-data/m-p/538200#M148144</link>
      <description>&lt;P&gt;what are the best ways to read the large data into SAS&amp;nbsp;without creating the dataset to find out the whether the data is allined&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Feb 2019 07:22:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-are-the-best-ways-to-read-the-large-data/m-p/538200#M148144</guid>
      <dc:creator>vThanu</dc:creator>
      <dc:date>2019-02-25T07:22:01Z</dc:date>
    </item>
    <item>
      <title>Re: What are the best ways to read the large data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-are-the-best-ways-to-read-the-large-data/m-p/538205#M148145</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/247664"&gt;@vThanu&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You will need to provide quite a bit more detail and explanation for us to be able to give you advise.&lt;/P&gt;
&lt;P&gt;On a high level: You can use DATA _NULL_; which will allow you to process data without writing anything to a target table (_NULL_).&lt;/P&gt;</description>
      <pubDate>Mon, 25 Feb 2019 07:29:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-are-the-best-ways-to-read-the-large-data/m-p/538205#M148145</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2019-02-25T07:29:09Z</dc:date>
    </item>
    <item>
      <title>Re: What are the best ways to read the large data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-are-the-best-ways-to-read-the-large-data/m-p/538218#M148148</link>
      <description>&lt;P&gt;1. If you want to verify your code without runing a large load then you can use options obs=0&lt;BR /&gt;2. If you want to validate or check the data then you can control the data load to sas using options obs=&amp;lt;number of records&amp;gt;&lt;BR /&gt;3. If you want to validate the code with the wholde data file then you can use data _null_;&lt;/P&gt;&lt;P&gt;4. If you want to read the data efficeintly, use proc copy or proc dataset if both source and target are using similar db engine.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Feb 2019 09:08:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-are-the-best-ways-to-read-the-large-data/m-p/538218#M148148</guid>
      <dc:creator>Satish_Parida</dc:creator>
      <dc:date>2019-02-25T09:08:24Z</dc:date>
    </item>
    <item>
      <title>Re: What are the best ways to read the large data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-are-the-best-ways-to-read-the-large-data/m-p/538223#M148150</link>
      <description>&lt;P&gt;I am assuming that by "aligned" you mean the data is valid?&amp;nbsp; I also assume that your using proc import.&amp;nbsp; Switch your programming to use a datastep read - as suggested by&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/12447"&gt;@Patrick&lt;/a&gt;,&amp;nbsp;use a data _null_ is you don't want to save the file.&amp;nbsp; In the datastep read, specify each variable, informat, length, format, label etc. In this way once the code is executed, anything which doesn't conform to your structure will show problems in the log with the actual line of data which causes the issues (up to what you have set your options level to).&amp;nbsp; There is no way to do this without reading at least header and first observation of the file.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Feb 2019 09:06:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-are-the-best-ways-to-read-the-large-data/m-p/538223#M148150</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2019-02-25T09:06:04Z</dc:date>
    </item>
    <item>
      <title>Re: What are the best ways to read the large data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-are-the-best-ways-to-read-the-large-data/m-p/538231#M148155</link>
      <description>It usually helps to examine a few lines of data.  That doesn't necessarily involve programming but you can use a program if it would help:&lt;BR /&gt;&lt;BR /&gt;data _null_;&lt;BR /&gt;Infile source;&lt;BR /&gt;input;&lt;BR /&gt;list;&lt;BR /&gt;if _n_ &amp;gt; 10 then stop;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;That dumps the first 11 lines of data to the log for you to inspect.</description>
      <pubDate>Mon, 25 Feb 2019 09:56:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-are-the-best-ways-to-read-the-large-data/m-p/538231#M148155</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2019-02-25T09:56:47Z</dc:date>
    </item>
  </channel>
</rss>

