<?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 identical records between 2 datasets in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/identical-records-between-2-datasets/m-p/678946#M23899</link>
    <description>&lt;P&gt;I&amp;nbsp; I have 2 datasets (few records duplicated in firstds and those have corresponding records in secondds)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-&amp;gt;Find number of records in common between datasets?&lt;/P&gt;
&lt;P&gt;--&amp;gt;Elusive to first and second datasets.?&lt;/P&gt;
&lt;P&gt;Note: few records have many to many relationship between these datasteps.,guessing my logic is failing here.. please help me.&lt;/P&gt;
&lt;PRE&gt;data both first second;
merge firstds(in=firstinvar) secondds(in=secinvar);
by _all_;
if firstinvar and secinvar then output both;
else if firstinvar then output first;
else if secinvar then output second;
/*put varibles includes firstinvar and secondinvar */ ;
run;&lt;/PRE&gt;</description>
    <pubDate>Mon, 24 Aug 2020 17:34:57 GMT</pubDate>
    <dc:creator>rajeshm</dc:creator>
    <dc:date>2020-08-24T17:34:57Z</dc:date>
    <item>
      <title>identical records between 2 datasets</title>
      <link>https://communities.sas.com/t5/New-SAS-User/identical-records-between-2-datasets/m-p/678946#M23899</link>
      <description>&lt;P&gt;I&amp;nbsp; I have 2 datasets (few records duplicated in firstds and those have corresponding records in secondds)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-&amp;gt;Find number of records in common between datasets?&lt;/P&gt;
&lt;P&gt;--&amp;gt;Elusive to first and second datasets.?&lt;/P&gt;
&lt;P&gt;Note: few records have many to many relationship between these datasteps.,guessing my logic is failing here.. please help me.&lt;/P&gt;
&lt;PRE&gt;data both first second;
merge firstds(in=firstinvar) secondds(in=secinvar);
by _all_;
if firstinvar and secinvar then output both;
else if firstinvar then output first;
else if secinvar then output second;
/*put varibles includes firstinvar and secondinvar */ ;
run;&lt;/PRE&gt;</description>
      <pubDate>Mon, 24 Aug 2020 17:34:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/identical-records-between-2-datasets/m-p/678946#M23899</guid>
      <dc:creator>rajeshm</dc:creator>
      <dc:date>2020-08-24T17:34:57Z</dc:date>
    </item>
    <item>
      <title>Re: identical records between 2 datasets</title>
      <link>https://communities.sas.com/t5/New-SAS-User/identical-records-between-2-datasets/m-p/678962#M23901</link>
      <description>This could really use an example of the data that you're trying to merge together and the desired output. But, a suggestion might be to NOT merge the data. Rather, just combine the two datasets together using a set statement (e.g., "set firstds secondds;"). Then, sort data and remove the observations that you do not want.</description>
      <pubDate>Mon, 24 Aug 2020 18:58:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/identical-records-between-2-datasets/m-p/678962#M23901</guid>
      <dc:creator>cminard</dc:creator>
      <dc:date>2020-08-24T18:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: identical records between 2 datasets</title>
      <link>https://communities.sas.com/t5/New-SAS-User/identical-records-between-2-datasets/m-p/679037#M23909</link>
      <description>Thanks for reply, with set we can combine 2 datasets into one. But how  can I know exclusive to firt dataset and second dataset and intersected records?? Please provide logic.</description>
      <pubDate>Tue, 25 Aug 2020 02:39:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/identical-records-between-2-datasets/m-p/679037#M23909</guid>
      <dc:creator>rajeshm</dc:creator>
      <dc:date>2020-08-25T02:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: identical records between 2 datasets</title>
      <link>https://communities.sas.com/t5/New-SAS-User/identical-records-between-2-datasets/m-p/679038#M23910</link>
      <description>Thanks for reply, with set we can combine 2 datasets into one. But how  can I know exclusive to firt dataset and second dataset and intersected records?? Please provide logic.</description>
      <pubDate>Tue, 25 Aug 2020 02:41:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/identical-records-between-2-datasets/m-p/679038#M23910</guid>
      <dc:creator>rajeshm</dc:creator>
      <dc:date>2020-08-25T02:41:09Z</dc:date>
    </item>
    <item>
      <title>Re: identical records between 2 datasets</title>
      <link>https://communities.sas.com/t5/New-SAS-User/identical-records-between-2-datasets/m-p/679054#M23913</link>
      <description>&lt;P&gt;You say you can have many-to-many matches.&amp;nbsp; So if firstds has 3 records that match 2 records in secondds, how many records do you want in dataset BOTH?&amp;nbsp; 2?, 3?, 5?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your program as is would put 3 there - i.e. as many records as whichever source has the most for a given match.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2020 04:39:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/identical-records-between-2-datasets/m-p/679054#M23913</guid>
      <dc:creator>mkeintz</dc:creator>
      <dc:date>2020-08-25T04:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: identical records between 2 datasets</title>
      <link>https://communities.sas.com/t5/New-SAS-User/identical-records-between-2-datasets/m-p/679059#M23916</link>
      <description>&lt;PRE&gt;first  second /*dataset names */
&lt;STRONG&gt;a b    a b  /* varible names */&lt;/STRONG&gt;
1 a    1 a
2 b    2 b
2 b    2 b
3 c    3 c
3 c    3 c
3 c    4 d
/*desired output should be */
both   onlyA  onlyB
a b     a b    a b
1 a     3 c    4 d
2 b
2 b
3 c
3 c   &lt;/PRE&gt;
&lt;P&gt;please let me know,whether i have given clarity or not??&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2020 05:08:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/identical-records-between-2-datasets/m-p/679059#M23916</guid>
      <dc:creator>rajeshm</dc:creator>
      <dc:date>2020-08-25T05:08:26Z</dc:date>
    </item>
    <item>
      <title>Re: identical records between 2 datasets</title>
      <link>https://communities.sas.com/t5/New-SAS-User/identical-records-between-2-datasets/m-p/679134#M23922</link>
      <description>&lt;P&gt;How can the observation&lt;/P&gt;
&lt;PRE&gt;3 c&lt;/PRE&gt;
&lt;P&gt;be in onlya, when there are two matches for it in dataset second?&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2020 12:14:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/identical-records-between-2-datasets/m-p/679134#M23922</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-08-25T12:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: identical records between 2 datasets</title>
      <link>https://communities.sas.com/t5/New-SAS-User/identical-records-between-2-datasets/m-p/679337#M23932</link>
      <description>&lt;P&gt;3 C record&lt;/P&gt;
&lt;P&gt;in dataset A 3 times and 2 times in dataset B&lt;/P&gt;
&lt;P&gt;I need answer that&amp;nbsp; dataset A has one extra record for 3 C.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;purpose: there is db migration happened, i have pulled records from both dwh into sas and have to compare ..&lt;/P&gt;
&lt;P&gt;now would like to know&lt;/P&gt;
&lt;P&gt;1.only in dataset A(3 c should come here once)&lt;/P&gt;
&lt;P&gt;2.only in dataset B(4 D should come here)&lt;/P&gt;
&lt;P&gt;4 Both/common in A and B(3 C should come here twice)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2020 04:44:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/identical-records-between-2-datasets/m-p/679337#M23932</guid>
      <dc:creator>rajeshm</dc:creator>
      <dc:date>2020-08-26T04:44:01Z</dc:date>
    </item>
    <item>
      <title>dataset differences     //Both,exclusiveA,exclusiveB</title>
      <link>https://communities.sas.com/t5/New-SAS-User/identical-records-between-2-datasets/m-p/679345#M23934</link>
      <description>&lt;P&gt;I have to compare 2 datasets(A and B) and would like to know common records in Both,Exclusive to first and exclusive to second.&amp;nbsp; Please somebody provide the logic&lt;/P&gt;
&lt;P&gt;Note:&lt;/P&gt;
&lt;P&gt;-&amp;gt;1.Dataset A contains duplicate records and Dataset B also contains duplicate records.&lt;/P&gt;
&lt;P&gt;--&amp;gt;2.if dataset A cotains 3 records(duplicate) and dataset B contains only 2 of duplicate records , i should get like exclusive to A has one record.&lt;/P&gt;
&lt;P&gt;--&amp;gt;3.if dataset B cotains 3 records(duplicate) and dataset A contains only 2 of duplicate records , i should get like exclusive to B has one record.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I struggled a lot because(put log)&lt;/P&gt;
&lt;P&gt;amount=944.68 &lt;BR /&gt;indatasetA=1 indatasetB=0&amp;nbsp; /* these are in-varibles for datasets with put */&lt;BR /&gt;amount=944.68 &lt;BR /&gt;indatasetA=0 indatasetB=1&amp;nbsp; /* these are in-varibles for datasets with put */&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc compare&lt;/P&gt;
&lt;DIV class="branch"&gt;
&lt;DIV&gt;
&lt;DIV align="center"&gt;
&lt;TABLE summary="Page Layout" cellspacing="0" cellpadding="0"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;PRE class="batch"&gt;                             Obs ||  sumamount  sumamount      Diff.     % Diff                       
                       ________  ||  _________  _________  _________  _________                       
                                 ||                                                                   
                             12  ||     200.39     200.39  2.842E-14  1.418E-14    &lt;/PRE&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2020 05:24:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/identical-records-between-2-datasets/m-p/679345#M23934</guid>
      <dc:creator>rajeshm</dc:creator>
      <dc:date>2020-08-26T05:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: dataset differences     //Both,exclusiveA,exclusiveB</title>
      <link>https://communities.sas.com/t5/New-SAS-User/identical-records-between-2-datasets/m-p/679349#M23935</link>
      <description>&lt;P&gt;Please do not repost the basically same question in different threads, it only makes it harder to follow answers and suggestions. That's why I moved this post back into this thread.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2020 05:41:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/identical-records-between-2-datasets/m-p/679349#M23935</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-08-26T05:41:30Z</dc:date>
    </item>
    <item>
      <title>Re: identical records between 2 datasets</title>
      <link>https://communities.sas.com/t5/New-SAS-User/identical-records-between-2-datasets/m-p/679352#M23936</link>
      <description>&lt;P&gt;You should first calculate counts by groups for both datasets, and then merge the result, where you filter out those where the counts do not match.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2020 05:43:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/identical-records-between-2-datasets/m-p/679352#M23936</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-08-26T05:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: identical records between 2 datasets</title>
      <link>https://communities.sas.com/t5/New-SAS-User/identical-records-between-2-datasets/m-p/679368#M23937</link>
      <description>&lt;P&gt;Code would look like this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
create table count_a as
  select
    a,
    b,
    count(*) as count_a
  from a
  group by a, b
;
create table count_b as
  select
    a,
    b,
    count(*) as count_b
  from b
  group by a, b
;
quit;

data
  match
  only_a
  only_b
  more_in_a
  more_in_b
;
merge
  count_a (in=in_a)
  count_b (in=in_b)
;
by a b;
if in_a and in_b
then do;
  if count_a = count_b then output match;
  else if count_a &amp;gt; count_b then output more_in_a;
  else output more_in_b;
end;
else if in_a then output only_a;
else output only_b;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 26 Aug 2020 07:28:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/identical-records-between-2-datasets/m-p/679368#M23937</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-08-26T07:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: dataset differences     //Both,exclusiveA,exclusiveB</title>
      <link>https://communities.sas.com/t5/New-SAS-User/identical-records-between-2-datasets/m-p/679385#M23939</link>
      <description>&lt;P&gt;i am not yet tested your code&amp;nbsp; But&amp;nbsp; can you let me know what to do in this below case.&lt;/P&gt;
&lt;P&gt;My log:&lt;/P&gt;
&lt;P&gt;amount=944.68&amp;nbsp; &amp;nbsp;/* dataset varible and its value */&lt;BR /&gt;indatasetA=1 indatasetB=0&amp;nbsp; /* these are in-varibles for 2 datasets*/&lt;BR /&gt;amount=944.68&amp;nbsp;&amp;nbsp;&lt;BR /&gt;indatasetA=0 indatasetB=1&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;my question: here it should be&amp;nbsp;&amp;nbsp;indatasetA=1 indatasetB=1&amp;nbsp; but why considering those values as different?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Later&amp;nbsp; compared&amp;nbsp; with proc&amp;nbsp; and got so many as below ,same value but difference is there, thats why i am failing to implement my logic,in this case what to do?&lt;/P&gt;
&lt;P&gt;proc compare&lt;/P&gt;
&lt;DIV class="branch"&gt;
&lt;DIV&gt;
&lt;DIV align="center"&gt;
&lt;TABLE summary="Page Layout" cellspacing="0" cellpadding="0"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;PRE class="batch"&gt;                             Obs ||  sumamount  sumamount      Diff.     % Diff                       
                       ________  ||  _________  _________  _________  _________                       
                                 ||                                                                   
                             12  ||     200.39     200.39  2.842E-14  1.418E-14    &lt;/PRE&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 26 Aug 2020 09:54:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/identical-records-between-2-datasets/m-p/679385#M23939</guid>
      <dc:creator>rajeshm</dc:creator>
      <dc:date>2020-08-26T09:54:39Z</dc:date>
    </item>
    <item>
      <title>Re: dataset differences     //Both,exclusiveA,exclusiveB</title>
      <link>https://communities.sas.com/t5/New-SAS-User/identical-records-between-2-datasets/m-p/679390#M23940</link>
      <description>&lt;P&gt;Numeric precision; because of the fact that all calculations (and storage) are done in binary, results of different calculation paths (or different imports from a database) can differ in minuscule amounts. To get exact matches, apply the ROUND function.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2020 10:06:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/identical-records-between-2-datasets/m-p/679390#M23940</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-08-26T10:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: identical records between 2 datasets</title>
      <link>https://communities.sas.com/t5/New-SAS-User/identical-records-between-2-datasets/m-p/679398#M23941</link>
      <description>&lt;P&gt;Thanks a ton .&lt;/P&gt;
&lt;P&gt;I got the expected result after applying round function with your logic.&lt;/P&gt;
&lt;P&gt;i confused a lot with proc compare and put logs but after applying round function,but no where found the information to apply round...&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2020 11:02:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/identical-records-between-2-datasets/m-p/679398#M23941</guid>
      <dc:creator>rajeshm</dc:creator>
      <dc:date>2020-08-26T11:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: dataset differences     //Both,exclusiveA,exclusiveB</title>
      <link>https://communities.sas.com/t5/New-SAS-User/identical-records-between-2-datasets/m-p/679745#M23946</link>
      <description>&lt;P&gt;while reading from database into sas ,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I put&amp;nbsp; &amp;nbsp;length and format+informat&amp;nbsp; &amp;nbsp;(format+informat 11.2, length &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt;&lt;/P&gt;
&lt;PRE&gt;proc sql;
select
AMT   as sumamount format=11.2 &lt;STRONG&gt;informat=11.2&lt;/STRONG&gt; length=8,
from  mytable f
where xx condition;
quit;
&lt;/PRE&gt;
&lt;P&gt;it should read from database as &lt;STRONG&gt;11.2 informat&lt;/STRONG&gt; only right ? but after reading into sas. 234.44 is not equal to 233.44 (pulled from another dwh) this is happening for few records only.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2020 14:42:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/identical-records-between-2-datasets/m-p/679745#M23946</guid>
      <dc:creator>rajeshm</dc:creator>
      <dc:date>2020-08-27T14:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: identical records between 2 datasets</title>
      <link>https://communities.sas.com/t5/New-SAS-User/identical-records-between-2-datasets/m-p/679769#M23947</link>
      <description>&lt;P&gt;How can i achieve&amp;nbsp;Datasets "more_in_a and "more_in_b" with proc sql?&lt;/P&gt;
&lt;P&gt;Datasets "Match,only_a,only_b"&amp;nbsp; can be achieved with proc sql.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2020 15:33:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/identical-records-between-2-datasets/m-p/679769#M23947</guid>
      <dc:creator>rajeshm</dc:creator>
      <dc:date>2020-08-27T15:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: identical records between 2 datasets</title>
      <link>https://communities.sas.com/t5/New-SAS-User/identical-records-between-2-datasets/m-p/679812#M23950</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/52150"&gt;@rajeshm&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;How can i achieve&amp;nbsp;Datasets "more_in_a and "more_in_b" with proc sql?&lt;/P&gt;
&lt;P&gt;Datasets "Match,only_a,only_b"&amp;nbsp; can be achieved with proc sql.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Maxim 14: Use the Right Tool.&lt;/P&gt;
&lt;P&gt;The right tool is the data step, so you use it.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2020 17:07:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/identical-records-between-2-datasets/m-p/679812#M23950</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-08-27T17:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: dataset differences     //Both,exclusiveA,exclusiveB</title>
      <link>https://communities.sas.com/t5/New-SAS-User/identical-records-between-2-datasets/m-p/679814#M23951</link>
      <description>&lt;P&gt;The format does not change the value; to align values, use the ROUND function, as already suggested.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2020 17:09:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/identical-records-between-2-datasets/m-p/679814#M23951</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-08-27T17:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: dataset differences     //Both,exclusiveA,exclusiveB</title>
      <link>https://communities.sas.com/t5/New-SAS-User/identical-records-between-2-datasets/m-p/680698#M24011</link>
      <description>&lt;P&gt;Agreed.&lt;/P&gt;
&lt;P&gt;format is for presenting the data and informat is for reading the data, means that i told sas to read in that way.&lt;/P&gt;
&lt;P&gt;when i checked my data also it showed me 143.24 like that. but later problem started.&lt;/P&gt;
&lt;PRE&gt;proc sql;
create table mytable as
select
f.TRANSACTION_AMT as sumamount format=11.2 informat=11.2 length=8,
from xxxxxx
quit;&lt;/PRE&gt;
&lt;P&gt;Even when i checked the data it showed me 143.24 in sas but finally faced problems with this kind of issues(143.24!=143.24) .thats why i would like to know. my surprise is for few records it matched but for problem.i confused a lot.&lt;/P&gt;
&lt;P&gt;Dont mind for my stupid questions but what i read about informat&amp;nbsp; is not matching here.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Sep 2020 13:42:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/identical-records-between-2-datasets/m-p/680698#M24011</guid>
      <dc:creator>rajeshm</dc:creator>
      <dc:date>2020-09-01T13:42:29Z</dc:date>
    </item>
  </channel>
</rss>

