<?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 Merging multiple datasets pairwise in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Merging-multiple-datasets-pairwise/m-p/621751#M182833</link>
    <description>&lt;P&gt;Hello everyone,,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm running multiple models in macro and I have to create combined table of results. I added this statement to my macro thinking that I will just simply merge the outputs from different models and then start working on the table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods output solutionf;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is that the name of the dependent variable is in different output modelinfo, so I added this statement to my model&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods output modelinfo;&lt;BR /&gt;ods output solutionf;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to figure out how to merge these two for all of the models I'm running in macro such that my table with final results would indicate estimates for each of the dependent variables correctly, but I can't find anything.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or maybe my line of thinking is incorrect and there are other (I assume more optimal) ways to do that?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;</description>
    <pubDate>Sun, 02 Feb 2020 12:02:56 GMT</pubDate>
    <dc:creator>Lamda</dc:creator>
    <dc:date>2020-02-02T12:02:56Z</dc:date>
    <item>
      <title>Merging multiple datasets pairwise</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Merging-multiple-datasets-pairwise/m-p/621751#M182833</link>
      <description>&lt;P&gt;Hello everyone,,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm running multiple models in macro and I have to create combined table of results. I added this statement to my macro thinking that I will just simply merge the outputs from different models and then start working on the table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods output solutionf;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is that the name of the dependent variable is in different output modelinfo, so I added this statement to my model&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods output modelinfo;&lt;BR /&gt;ods output solutionf;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to figure out how to merge these two for all of the models I'm running in macro such that my table with final results would indicate estimates for each of the dependent variables correctly, but I can't find anything.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or maybe my line of thinking is incorrect and there are other (I assume more optimal) ways to do that?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;</description>
      <pubDate>Sun, 02 Feb 2020 12:02:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Merging-multiple-datasets-pairwise/m-p/621751#M182833</guid>
      <dc:creator>Lamda</dc:creator>
      <dc:date>2020-02-02T12:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: Merging multiple datasets pairwise</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Merging-multiple-datasets-pairwise/m-p/621752#M182834</link>
      <description>&lt;P&gt;So you give us a very general description of the problem, with no specifics, no code; and all we can do is give a general answer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When you get the SOLUTIONF answer, you could do something like this, assuming you have a macro variable that specifies the dependent variable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data solutionf;
     set solutionf;
     length dependent $ 32.
     dependent = "&amp;amp;dependent";
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 02 Feb 2020 12:07:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Merging-multiple-datasets-pairwise/m-p/621752#M182834</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-02-02T12:07:35Z</dc:date>
    </item>
  </channel>
</rss>

