<?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: Creating report with data _null_ in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Creating-report-with-data-null/m-p/384039#M91639</link>
    <description>&lt;P&gt;What kind of report should it be? Can you display the desired format?&lt;/P&gt;
&lt;P&gt;What variables should be on the report?&lt;/P&gt;
&lt;P&gt;Why do you think you need to merge the datasets?&lt;/P&gt;
&lt;P&gt;Why not just make a concatenation of the four datsets? or only part of them?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 29 Jul 2017 23:30:38 GMT</pubDate>
    <dc:creator>Shmuel</dc:creator>
    <dc:date>2017-07-29T23:30:38Z</dc:date>
    <item>
      <title>Creating report with data _null_</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Creating-report-with-data-null/m-p/384010#M91629</link>
      <description>&lt;P&gt;SAS gurus,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;I want to create a report using these 4 datasets. For this I have to merge all datasets to make a single data set. data two and three has height age gender as common (sorting variables) and data one has height and age (sorting) variables and data four has no common variable. I don't want to loose any common variables from one dataset to another (since merging sometimes eliminates sample variable columns). I want to create a new variable for data three weight_sum for all male weights and female weights. All of these need to be merged to make a single dataset.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;The tricky part is I need to create a .csv report using data _null_ statement (using file statement to store it in a location). Please let me know if you need any further clarification. I would greatly appreciate if anyone&amp;nbsp; helps me in this regard.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please look at the attachments for have to want.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 29 Jul 2017 20:58:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Creating-report-with-data-null/m-p/384010#M91629</guid>
      <dc:creator>buddha_d</dc:creator>
      <dc:date>2017-07-29T20:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: Creating report with data _null_</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Creating-report-with-data-null/m-p/384011#M91630</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/139130"&gt;@buddha_d&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;SAS gurus,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;I want to create a report using these 4 datasets. For this I have to merge all datasets to make a single data set. data two and three has height age gender as common (sorting variables) and data one has height and age (sorting) variables and data four has no common variable. I don't want to loose any common variables from one dataset to another (since merging sometimes eliminates sample variable columns). I want to create a new variable for data three weight_sum for all male weights and female weights. All of these need to be merged to make a single dataset.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;The tricky part is I need to create a .csv report using data _null_ statement (using file statement to store it in a location). Please let me know if you need any further clarification. I would greatly appreciate if anyone&amp;nbsp; helps me in this regard.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks a lot.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please look at the attachments for have to want.&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;What exactly is your question? What part do you need help with?&lt;/P&gt;</description>
      <pubDate>Sat, 29 Jul 2017 21:04:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Creating-report-with-data-null/m-p/384011#M91630</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-07-29T21:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: Creating report with data _null_</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Creating-report-with-data-null/m-p/384012#M91631</link>
      <description>&lt;P&gt;Reeza,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; I need help with the dataset creation in sas then writing code to export the dataset using data _null_ statement (using file statement).&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for asking&lt;/P&gt;</description>
      <pubDate>Sat, 29 Jul 2017 21:06:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Creating-report-with-data-null/m-p/384012#M91631</guid>
      <dc:creator>buddha_d</dc:creator>
      <dc:date>2017-07-29T21:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: Creating report with data _null_</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Creating-report-with-data-null/m-p/384016#M91632</link>
      <description>&lt;P&gt;Alright, well, this is clearly homework, so my &lt;STRONG&gt;personal policy&lt;/STRONG&gt; is to assist, not provide&amp;nbsp;answers. If you post what you've tried and isn't working I'm happy to help debug or identify where you've gone wrong or a direction to go. I'm not going to do your work.&lt;/P&gt;
&lt;P&gt;Good Luck.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 29 Jul 2017 21:31:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Creating-report-with-data-null/m-p/384016#M91632</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-07-29T21:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: Creating report with data _null_</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Creating-report-with-data-null/m-p/384023#M91633</link>
      <description>&lt;P&gt;Reeza, How can I merge two datasets when there is no common variables? I have merged 3 datasets that have common variables, but stuck with the last part?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 29 Jul 2017 21:47:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Creating-report-with-data-null/m-p/384023#M91633</guid>
      <dc:creator>buddha_d</dc:creator>
      <dc:date>2017-07-29T21:47:35Z</dc:date>
    </item>
    <item>
      <title>Re: Creating report with data _null_</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Creating-report-with-data-null/m-p/384032#M91634</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/139130"&gt;@buddha_d&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;Please post the code you've already written into:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 333px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/14207iDE2B87E8459C6DC3/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As for merging your data set four:&lt;/P&gt;
&lt;P&gt;To which record(s) do you believe should it get merged. Show us the result of your 3 merged data sets and then tell us where the ds four record should get merged to.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You need first to solve the logical question (what) before we can jump to&amp;nbsp;the how.&lt;/P&gt;</description>
      <pubDate>Sat, 29 Jul 2017 22:44:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Creating-report-with-data-null/m-p/384032#M91634</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2017-07-29T22:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: Creating report with data _null_</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Creating-report-with-data-null/m-p/384033#M91635</link>
      <description>&lt;P&gt;So what is the rule for merging?&lt;/P&gt;</description>
      <pubDate>Sat, 29 Jul 2017 22:50:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Creating-report-with-data-null/m-p/384033#M91635</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-07-29T22:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: Creating report with data _null_</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Creating-report-with-data-null/m-p/384039#M91639</link>
      <description>&lt;P&gt;What kind of report should it be? Can you display the desired format?&lt;/P&gt;
&lt;P&gt;What variables should be on the report?&lt;/P&gt;
&lt;P&gt;Why do you think you need to merge the datasets?&lt;/P&gt;
&lt;P&gt;Why not just make a concatenation of the four datsets? or only part of them?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 29 Jul 2017 23:30:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Creating-report-with-data-null/m-p/384039#M91639</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2017-07-29T23:30:38Z</dc:date>
    </item>
    <item>
      <title>Re: Creating report with data _null_</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Creating-report-with-data-null/m-p/384042#M91640</link>
      <description>&lt;P&gt;Here's a list of the ways you can combine a SAS dataset and how to accomplish each of them:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/lrcon/69852/HTML/default/viewer.htm#n1tgk0uanvisvon1r26lc036k0w7.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lrcon/69852/HTML/default/viewer.htm#n1tgk0uanvisvon1r26lc036k0w7.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 30 Jul 2017 00:24:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Creating-report-with-data-null/m-p/384042#M91640</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-07-30T00:24:28Z</dc:date>
    </item>
    <item>
      <title>Re: Creating report with data _null_</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Creating-report-with-data-null/m-p/384050#M91642</link>
      <description>&lt;P&gt;my sincerely apologies to all of you who responded. I was out and just checked the messages.&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sort data=one out=one1;&lt;BR /&gt;by height age gender;&lt;BR /&gt;run;&lt;BR /&gt;proc sort data=two out=two2;&lt;BR /&gt;by height age gender;&lt;BR /&gt;run;&lt;BR /&gt;data two_concat;&lt;BR /&gt;merge two2 one1;&lt;BR /&gt;by height age gender;&lt;BR /&gt;run;&lt;BR /&gt;proc sort data=two_concat out=two_concat1;&lt;BR /&gt;by height age;&lt;BR /&gt;run;&lt;BR /&gt;data concat;&lt;BR /&gt;merge three two_concat1;&lt;BR /&gt;by height age;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the last dataset is just a dataset I have to add as information sake. But when i tried to merge with other three datasets, I was not able to do it. Then the question came, how to merge it. I heard we can make indexes and them together. But never worked on it.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;The criteria is to make a single dataset that contains all the observations concatenated. When I run my code I am getting repeated values (the values that are less than the most observations dataset). How can I avoid that to begin with and as i progress along with this I would ask more questions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks all for your help&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 30 Jul 2017 04:47:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Creating-report-with-data-null/m-p/384050#M91642</guid>
      <dc:creator>buddha_d</dc:creator>
      <dc:date>2017-07-30T04:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: Creating report with data _null_</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Creating-report-with-data-null/m-p/384051#M91643</link>
      <description>&lt;P&gt;sorry I messed up with dataset names&lt;/P&gt;</description>
      <pubDate>Sun, 30 Jul 2017 04:48:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Creating-report-with-data-null/m-p/384051#M91643</guid>
      <dc:creator>buddha_d</dc:creator>
      <dc:date>2017-07-30T04:48:39Z</dc:date>
    </item>
    <item>
      <title>Re: Creating report with data _null_</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Creating-report-with-data-null/m-p/384052#M91644</link>
      <description>&lt;P&gt;Pay attention:&lt;/P&gt;
&lt;P&gt;1) In most of your input records height=17, age=45 - are the same.&lt;BR /&gt;&amp;nbsp; &amp;nbsp; By using MERGE - those rows will output in one MALE record and one FEMALE record.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; Is this your intention?&lt;/P&gt;
&lt;P&gt;2) Data THREE has same variables names like data ONE: alias, city, zipcode&lt;BR /&gt;&amp;nbsp; &amp;nbsp; that means that by MERGE data will overide and you will get last observation data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; Is that what you want?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does each observation represent one person? Do height, age and gender make it unique equivalent to an ID ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe next code will fit your needs:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
   set four (rename=(name=manager date=mng_date))
         one 
         two 
         three
    ;
         retain manager title earning mng_date;
rum;
proc sort data=want; 
   by height age gender;
run;
        &lt;/CODE&gt;&lt;/PRE&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>Sun, 30 Jul 2017 05:26:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Creating-report-with-data-null/m-p/384052#M91644</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2017-07-30T05:26:11Z</dc:date>
    </item>
    <item>
      <title>Re: Creating report with data _null_</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Creating-report-with-data-null/m-p/384054#M91645</link>
      <description>&lt;P&gt;Shmuel,&lt;/P&gt;&lt;P&gt;1) In most of your input records height=17, age=45 - are the same.&lt;BR /&gt;&amp;nbsp; &amp;nbsp; By using MERGE - those rows will output in one MALE record and one FEMALE record.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Is this your intention? &lt;STRONG&gt;Yes&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;2) Data THREE has same variables names like data ONE: alias, city, zipcode&lt;BR /&gt;&amp;nbsp; &amp;nbsp; that means that by MERGE data will overide and you will get last observation data.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Is that what you want? &lt;STRONG&gt;No&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does each observation represent one person? &amp;nbsp;&lt;STRONG&gt;yes Sir&lt;/STRONG&gt;. Do height, age and gender make it unique equivalent to an ID ? &lt;STRONG&gt;No, but that's all I have to mess with.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Thank you&amp;nbsp;for your response. Yes, you are right, I am getting the repeated observations from last observation.I used this code below. How can I have just same number of observations and missing values for other repeating values of the last observation (which I don't want). Is there any other like proc sql gets me what I want. Please advise. Thanks for responding.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data one;&lt;BR /&gt;input height age weight2 gender2$ alias2$ city2$ zipcode2$ store$;&lt;BR /&gt;cards;&lt;BR /&gt;17 45 25 ganges fakenote wilming 584157 walmart&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;data two;&lt;BR /&gt;input height age weight1 gender$ date mmddyy10. alias1$ city1$ zipcode1$;&lt;BR /&gt;cards;&lt;BR /&gt;17 45 247.96 male 07/21/2017 john1 richmond 12546&lt;BR /&gt;17 45 283.13 female 06/15/2017 cindy1 siouxcit 45104&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;data three;&lt;BR /&gt;input height age weight gender$ alias$ city$ zipcode$;&lt;BR /&gt;cards;&lt;BR /&gt;17 45 45.5 male john richmond 12546&lt;BR /&gt;17 45 56.48 male shawn Newyork 40534&lt;BR /&gt;17 45 57.78 female cindy siouxcit 45104&lt;BR /&gt;17 45 45.21 female crawford chicago 15483&lt;BR /&gt;17 45 47.14 male jason brooking 57006&lt;BR /&gt;17 45 94.18 female gita villa 58461&lt;BR /&gt;17 45 98.84 male johnson volga 15581&lt;BR /&gt;17 45 85.96 female smita raymond 48634&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;data four;&lt;BR /&gt;input name$ title$ earning dollar7. date mmddyy10.;&lt;BR /&gt;cards;&lt;BR /&gt;Kum&amp;amp;go Manager $65,000 07/29/2017&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc sort data=three out=three1(rename=(gender=gender1)) ;&lt;BR /&gt;by height age gender;&lt;BR /&gt;run;&lt;BR /&gt;proc sort data=two out=two2;&lt;BR /&gt;by height age gender;&lt;BR /&gt;run;&lt;BR /&gt;data two_concat;&lt;BR /&gt;merge two2 three1;&lt;BR /&gt;by height age ;&lt;BR /&gt;run;&lt;BR /&gt;proc sort data=two_concat out=two_concat1;&lt;BR /&gt;by height age;&lt;BR /&gt;run;&lt;BR /&gt;data concat;&lt;BR /&gt;merge one two_concat1;&lt;BR /&gt;by height age;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 30 Jul 2017 06:00:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Creating-report-with-data-null/m-p/384054#M91645</guid>
      <dc:creator>buddha_d</dc:creator>
      <dc:date>2017-07-30T06:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: Creating report with data _null_</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Creating-report-with-data-null/m-p/384055#M91646</link>
      <description>&lt;P&gt;What do you mean by "&lt;SPAN&gt;How can I have just &lt;STRONG&gt;same number&lt;/STRONG&gt; of observations&amp;nbsp;" ?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Is it sum of all datasets' number of observation? While merging you get less because of fittings.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You don't want to overide data from THREE on ONE - then you need to rename variables to have them uniqu&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;like you have in TWO.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;As to FOUR - should data be on every observation the same ? Thats why I set FOUR first with renaming and retaining of its variables.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Can you post desired output?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 30 Jul 2017 06:19:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Creating-report-with-data-null/m-p/384055#M91646</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2017-07-30T06:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: Creating report with data _null_</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Creating-report-with-data-null/m-p/384085#M91651</link>
      <description>&lt;P&gt;Not sure why you included the code as an attachment instead of using the Insert SAS code button to paste it in.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data one;
input height age weight2 gender2$ alias2$ city2$ zipcode2$ store$;
cards; 
17 45 25 ganges fakenote wilming 584157 walmart
;
run;

data two;
input height age weight1 gender$ date mmddyy10. alias1$ city1$ zipcode1$;
cards;
17 45 247.96 male 07/21/2017 john1 richmond 12546
17 45 283.13 female 06/15/2017 cindy1 siouxcit 45104
;
run;

data three;
input height age weight gender$ alias$ city$ zipcode$;
cards;
17 45 45.5 male john richmond 12546
17 45 56.48 male shawn Newyork 40534
17 45 57.78 female cindy siouxcit 45104
17 45 45.21 female crawford chicago 15483
17 45 47.14 male jason brooking 57006
17 45 94.18 female gita villa 58461
17 45 98.84 male johnson volga 15581
17 45 85.96 female smita raymond 48634
;
run;

data four;
input name$ title$ earning date mmddyy.;
cards;
Kum&amp;amp;Go Manager $65,000 07/29/2017;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Your data files don't really look related to each other.&lt;/P&gt;
&lt;P&gt;Perhaps you just want to stack the first three together and then add in the single observation from FOUR so that the MANAGER name is on every observation?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want ;
  if _n_=1 then set four;
  set one two three;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;Watch out for variables with similar names, but that actually have different content.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 30 Jul 2017 16:58:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Creating-report-with-data-null/m-p/384085#M91651</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2017-07-30T16:58:27Z</dc:date>
    </item>
  </channel>
</rss>

