<?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 PROC Compare btwn SAS ds and Teradata Table in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/PROC-Compare-btwn-SAS-ds-and-Teradata-Table/m-p/99164#M27902</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I spent all night loading a teradata table from a SAS dataset (approx 344K records in ds) but only 332K on the table (soo close) but had to kill the process to get to the office.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to SAS (last couple of days) so I am still getting up to speed with the syntax but I was wondering if I could run a PROC Compare between the two (I have libnames for both) and then capture the delta in another SAS Dataset?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Jun 2013 11:20:30 GMT</pubDate>
    <dc:creator>MarkLurie</dc:creator>
    <dc:date>2013-06-07T11:20:30Z</dc:date>
    <item>
      <title>PROC Compare btwn SAS ds and Teradata Table</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-Compare-btwn-SAS-ds-and-Teradata-Table/m-p/99164#M27902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I spent all night loading a teradata table from a SAS dataset (approx 344K records in ds) but only 332K on the table (soo close) but had to kill the process to get to the office.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to SAS (last couple of days) so I am still getting up to speed with the syntax but I was wondering if I could run a PROC Compare between the two (I have libnames for both) and then capture the delta in another SAS Dataset?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jun 2013 11:20:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-Compare-btwn-SAS-ds-and-Teradata-Table/m-p/99164#M27902</guid>
      <dc:creator>MarkLurie</dc:creator>
      <dc:date>2013-06-07T11:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: PROC Compare btwn SAS ds and Teradata Table</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-Compare-btwn-SAS-ds-and-Teradata-Table/m-p/99165#M27903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check you logs.&amp;nbsp; Teradata tools like FASTLOAD will eliminate duplicate records, but it should report that in the log.&lt;/P&gt;&lt;P&gt;You might check your SAS data for duplicate rows.&amp;nbsp; Or it is possible that the variables in your TD table have transformed one or more variables and caused records to appear to be duplicates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use PROC COMPARE , but it will mean that SAS will have to pull all 344K records out of TD to compare.&lt;/P&gt;&lt;P&gt;Might be easier to summarize on key variables (patient id, date, etc) and compare the summaries to see if there is a pattern to the loss.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jun 2013 13:48:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-Compare-btwn-SAS-ds-and-Teradata-Table/m-p/99165#M27903</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2013-06-07T13:48:16Z</dc:date>
    </item>
  </channel>
</rss>

