<?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: PROC_REPORT - How Can i insert /Display result from different datasets in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/PROC-REPORT-How-Can-i-insert-Display-result-from-different/m-p/369170#M88096</link>
    <description>Ya make sense.. Let me try and get back to you.&lt;BR /&gt;&lt;BR /&gt;Thank you for the response.&lt;BR /&gt;&lt;BR /&gt;##- Please type your reply above this line. Simple formatting, no&lt;BR /&gt;attachments. -##</description>
    <pubDate>Wed, 21 Jun 2017 14:41:39 GMT</pubDate>
    <dc:creator>srinidelite</dc:creator>
    <dc:date>2017-06-21T14:41:39Z</dc:date>
    <item>
      <title>PROC_REPORT - How Can i insert /Display result from different datasets</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-REPORT-How-Can-i-insert-Display-result-from-different/m-p/369104#M88068</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi There ,&lt;BR /&gt;&lt;BR /&gt;I'm looking forward to create a customized report just like below and i gotta two set's named SOURCE and TARGET ,..&lt;BR /&gt;Certainly im very new to SAS programming and struggling to use it in brinig out to the PROC_REPORT FORMAT .&lt;BR /&gt;&lt;BR /&gt;I'certainly able to perform all of below in SQL (count , Dulpicates etc ) howver i'm not sure how to bring it them on this report&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql ;

select  count(*) as TO_NO_OF_RCD_IN_SRC 
from  src_ais.covprmtemp2b2w  ;
quit ;

proc sql ;
select  count(*) as TO_NO_OF_RCD_IN_TGT 
from  src_ais.covprmtgt2b2w  ;
quit ;

proc sql;
select distinct 0 as NO_OF_DUPES_SRC from src_ais.covprmtemp2b2w where not exists
(select cdnumpol,count(*) from src_ais.covprmtemp2b2w group by cdnumpol having count(*)&amp;gt;1)
;quit;
proc sql;
select distinct 0 as NO_OF_DUPES_TGT from src_ais.covprmtgt2b2w where not exists
select cdnumpol,count(*) from src_ais.covprmtgt2b2w group by cdnumpol having count(*)&amp;gt;1
;quit;
 &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I was trying with PRC_REPORT however it doesnt helped me much ..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Total Number of Records in Source&lt;/TD&gt;&lt;TD&gt;5245&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Total Number of Records in Target&lt;/TD&gt;&lt;TD&gt;5245&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Total Number of Duplicate Records in Source&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Duplicate Records in Source&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Total Number of Duplicate Records in Target&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Duplicate Records in Target&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Total number of Rows missing in Source&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Total number of Rows missing in Target&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;FONT color="red"&gt;Total Number of Rows having Mismatches&lt;/FONT&gt;&lt;/TD&gt;&lt;TD&gt;&lt;FONT color="red"&gt;49&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Total Number of Matching Rows&lt;/TD&gt;&lt;TD&gt;5196&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Total number of field level mismatches&lt;/TD&gt;&lt;TD&gt;184&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Total number of Records taken for comparison&lt;/TD&gt;&lt;TD&gt;5245&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your Help is muc appriciated !&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2017 11:57:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-REPORT-How-Can-i-insert-Display-result-from-different/m-p/369104#M88068</guid>
      <dc:creator>srinidelite</dc:creator>
      <dc:date>2017-06-21T11:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: PROC_REPORT - How Can i insert /Display result from different datasets</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-REPORT-How-Can-i-insert-Display-result-from-different/m-p/369160#M88091</link>
      <description>&lt;P&gt;Create tables such that you have a variable that holds the text of the description and the count, append the sets together, print.&lt;/P&gt;
&lt;P&gt;Use the same variable names in all of the sets so columns align when displaying.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2017 14:14:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-REPORT-How-Can-i-insert-Display-result-from-different/m-p/369160#M88091</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-06-21T14:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: PROC_REPORT - How Can i insert /Display result from different datasets</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-REPORT-How-Can-i-insert-Display-result-from-different/m-p/369164#M88093</link>
      <description>Can you please elaborate it?</description>
      <pubDate>Wed, 21 Jun 2017 14:19:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-REPORT-How-Can-i-insert-Display-result-from-different/m-p/369164#M88093</guid>
      <dc:creator>srinidelite</dc:creator>
      <dc:date>2017-06-21T14:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: PROC_REPORT - How Can i insert /Display result from different datasets</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-REPORT-How-Can-i-insert-Display-result-from-different/m-p/369169#M88095</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/136395"&gt;@srinidelite&lt;/a&gt; wrote:&lt;BR /&gt;Can you please elaborate it?&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Do you know how use a create table statement in SQL? That creates the separate data sets with the itens you need.&lt;/P&gt;
&lt;P&gt;Then either a union or data step with set statement to combine the sets.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2017 14:37:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-REPORT-How-Can-i-insert-Display-result-from-different/m-p/369169#M88095</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-06-21T14:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: PROC_REPORT - How Can i insert /Display result from different datasets</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-REPORT-How-Can-i-insert-Display-result-from-different/m-p/369170#M88096</link>
      <description>Ya make sense.. Let me try and get back to you.&lt;BR /&gt;&lt;BR /&gt;Thank you for the response.&lt;BR /&gt;&lt;BR /&gt;##- Please type your reply above this line. Simple formatting, no&lt;BR /&gt;attachments. -##</description>
      <pubDate>Wed, 21 Jun 2017 14:41:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-REPORT-How-Can-i-insert-Display-result-from-different/m-p/369170#M88096</guid>
      <dc:creator>srinidelite</dc:creator>
      <dc:date>2017-06-21T14:41:39Z</dc:date>
    </item>
  </channel>
</rss>

