<?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: How to extact mismatch columns from SCD type2 data set in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/How-to-extact-mismatch-columns-from-SCD-type2-data-set/m-p/499632#M180</link>
    <description>To determine as a mismatch, since it's a scd type 2 Table,if there is any&lt;BR /&gt;change in previous record in any of the columns, then a new record will be&lt;BR /&gt;created,with the statical columns such as valid date from and valid date&lt;BR /&gt;to,&lt;BR /&gt;&lt;BR /&gt;So, if any columns in row 1 is not equal to row 2 then it is considered as&lt;BR /&gt;a mismatch, we just need to display the specific mismatched column,&lt;BR /&gt;&lt;BR /&gt;Since we have almost 200 table's with more columns , looking for some&lt;BR /&gt;generic solution , if I can pass a table name in the macro code , the&lt;BR /&gt;output data set with a specific mismatched columns as shown in the example.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 27 Sep 2018 18:05:31 GMT</pubDate>
    <dc:creator>learn_SAS_23</dc:creator>
    <dc:date>2018-09-27T18:05:31Z</dc:date>
    <item>
      <title>How to extact mismatch columns from SCD type2 data  set</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-extact-mismatch-columns-from-SCD-type2-data-set/m-p/499512#M157</link>
      <description>&lt;P&gt;We are Having SCD Type 2 tables almost 200 tables , with 250 columns in each table.&lt;/P&gt;&lt;P&gt;for&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EX: STUDENT details&lt;/P&gt;&lt;P&gt;STUDENT_ID&amp;nbsp; &amp;nbsp; VALID_FROM_DT&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;VALID_TO_DT&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; NAME&amp;nbsp; &amp;nbsp; &amp;nbsp; CITY&amp;nbsp; &amp;nbsp; &amp;nbsp;CONTACT_NO&amp;nbsp; &amp;nbsp; BRANCH&lt;BR /&gt;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;04-April-2018&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;10-April-2018&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; XYZ&amp;nbsp; &amp;nbsp; Chennai&amp;nbsp; &amp;nbsp; 12345&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;CSE&lt;/P&gt;&lt;P&gt;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;10-April-2018&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;31-DEC-2055&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;XYZ&amp;nbsp; &amp;nbsp; &amp;nbsp; MUMBAI&amp;nbsp; &amp;nbsp;87777&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;CSE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;looking for some generic solution where to exact only mismatch columns for this case the output should be&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;OUTPUT : &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;STUDENT_ID&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;VALID_FROM_DT&amp;nbsp; &amp;nbsp; &amp;nbsp; VALID_TO_DT&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;CITY&amp;nbsp; &amp;nbsp; &amp;nbsp; CONTACT_NO&lt;/STRONG&gt;&lt;BR /&gt;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 04-April-2018&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 10-April-2018&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Chennai&amp;nbsp; &amp;nbsp; 12345&lt;BR /&gt;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 10-April-2018&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;31-DEC-2055&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MUMBAI&amp;nbsp; &amp;nbsp; 87777&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can this solution is possible , if so can it be some generic wherei can use this for all my 200 tables.&lt;/P&gt;&lt;P&gt;Thanks in Advance .&lt;/P&gt;</description>
      <pubDate>Thu, 27 Sep 2018 13:39:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-extact-mismatch-columns-from-SCD-type2-data-set/m-p/499512#M157</guid>
      <dc:creator>learn_SAS_23</dc:creator>
      <dc:date>2018-09-27T13:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to extact mismatch columns from SCD type2 data  set [how to improve your question]</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-extact-mismatch-columns-from-SCD-type2-data-set/m-p/499535#M158</link>
      <description>&lt;P&gt;Hello &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/225493"&gt;@learn_SAS_23&lt;/a&gt;,&lt;/P&gt;&lt;BR /&gt; &lt;P&gt;Your question requires more details before experts can help.&amp;nbsp;Can you revise your question to include more information?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Review this checklist:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Specify a meaningful subject line for your topic.&amp;nbsp; Avoid generic subjects like "need help," "SAS query," or "urgent."&lt;/LI&gt;
&lt;LI&gt;When appropriate, provide sample data in text or DATA step format.&amp;nbsp; See &lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712" target="_blank"&gt;this article for one method&lt;/A&gt;&amp;nbsp;you can use.&lt;/LI&gt;
&lt;LI&gt;If you're encountering an error in SAS, include the SAS log or a screenshot of the error condition.&amp;nbsp;Use the&amp;nbsp;&lt;STRONG&gt;Photos&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;button to include the image in your message.&lt;BR /&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" style="width: 279px;"&gt;&lt;IMG src="https://kntur85557.i.lithium.com/t5/image/serverpage/image-id/16608i91A52F817EAC9A69/image-dimensions/279x150?v=1.0" width="279" height="150" alt="use_buttons.png" title="use_buttons.png" /&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;It also helps to include an example (table or picture) of the result that you're trying to achieve.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;To edit your original message, select the "blue gear" icon at the top of the message and select&amp;nbsp;&lt;STRONG&gt;Edit Message&lt;/STRONG&gt;.&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;From there you can adjust the title and add more details to the body of the message.&amp;nbsp; Or, simply reply to this message with any additional information you can supply.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" style="width: 229px;"&gt;&lt;IMG src="https://kntur85557.i.lithium.com/t5/image/serverpage/image-id/16605iAC020BC79315B045/image-size/large?v=1.0&amp;amp;px=600" alt="edit_post.png" title="edit_post.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;SAS experts are eager to help -- help&amp;nbsp;&lt;EM&gt;them&lt;/EM&gt; by providing as much detail as you can.&lt;/P&gt; &lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style:italic;font-size:smaller;"&gt;This prewritten response was triggered for you by fellow SAS Support Communities member &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&lt;/SPAN&gt;&lt;/P&gt;.</description>
      <pubDate>Thu, 27 Sep 2018 14:30:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-extact-mismatch-columns-from-SCD-type2-data-set/m-p/499535#M158</guid>
      <dc:creator>Community_Guide</dc:creator>
      <dc:date>2018-09-27T14:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to extact mismatch columns from SCD type2 data  set</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-extact-mismatch-columns-from-SCD-type2-data-set/m-p/499538#M159</link>
      <description>&lt;P&gt;Define the rules for determining a "mismatch".&lt;/P&gt;
&lt;P&gt;For instance are the apparent date values shown involved in the "mismatch" for selecting those records? If there are any variables not to be considered you would need to mention them.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Sep 2018 14:36:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-extact-mismatch-columns-from-SCD-type2-data-set/m-p/499538#M159</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-09-27T14:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to extact mismatch columns from SCD type2 data set</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-extact-mismatch-columns-from-SCD-type2-data-set/m-p/499632#M180</link>
      <description>To determine as a mismatch, since it's a scd type 2 Table,if there is any&lt;BR /&gt;change in previous record in any of the columns, then a new record will be&lt;BR /&gt;created,with the statical columns such as valid date from and valid date&lt;BR /&gt;to,&lt;BR /&gt;&lt;BR /&gt;So, if any columns in row 1 is not equal to row 2 then it is considered as&lt;BR /&gt;a mismatch, we just need to display the specific mismatched column,&lt;BR /&gt;&lt;BR /&gt;Since we have almost 200 table's with more columns , looking for some&lt;BR /&gt;generic solution , if I can pass a table name in the macro code , the&lt;BR /&gt;output data set with a specific mismatched columns as shown in the example.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 27 Sep 2018 18:05:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-extact-mismatch-columns-from-SCD-type2-data-set/m-p/499632#M180</guid>
      <dc:creator>learn_SAS_23</dc:creator>
      <dc:date>2018-09-27T18:05:31Z</dc:date>
    </item>
  </channel>
</rss>

