<?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: Concatenating multiple datasets vertically into the same  dataset using ODS output. in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Concatenating-multiple-datasets-vertically-into-the-same-dataset/m-p/262909#M15590</link>
    <description>&lt;P&gt;Thanks. Tried with dictionary.columns &amp;nbsp;and it worked.&lt;/P&gt;</description>
    <pubDate>Mon, 11 Apr 2016 13:59:45 GMT</pubDate>
    <dc:creator>pambardar</dc:creator>
    <dc:date>2016-04-11T13:59:45Z</dc:date>
    <item>
      <title>Concatenating multiple datasets vertically into the same  dataset using ODS output.</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Concatenating-multiple-datasets-vertically-into-the-same-dataset/m-p/262801#M15583</link>
      <description>&lt;P&gt;I am trying to create one dataset(pos) from 2 datsets (abc , def) like below&lt;/P&gt;&lt;P&gt;member &amp;nbsp; &amp;nbsp;variable &amp;nbsp;num&lt;/P&gt;&lt;P&gt;---------- &amp;nbsp; &amp;nbsp;---------- &amp;nbsp; ------&lt;/P&gt;&lt;P&gt;abc &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; avar1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;/P&gt;&lt;P&gt;abc &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; avar2 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2&lt;/P&gt;&lt;P&gt;def &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;dvar1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;/P&gt;&lt;P&gt;def &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;dvar2 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;using ods statement&lt;/P&gt;&lt;P&gt;ods output position=pos (keep=member variable num where=(num&amp;lt;=2));&lt;BR /&gt;proc contents data=abc varnum;&lt;BR /&gt;run;&lt;BR /&gt;ods output close;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ods output position=pos (keep=member variable num where=(num&amp;lt;=2));&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;proc contents data=def varnum;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;run;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ods output close;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My problem is when I run the second ods output staement for 'def' , it overwrites the 'pos' dataset that was created for 'abc' dataset.&lt;/P&gt;&lt;P&gt;i want to concatenate the outputs of 2 ods statements vertically into one dataset.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2016 05:12:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Concatenating-multiple-datasets-vertically-into-the-same-dataset/m-p/262801#M15583</guid>
      <dc:creator>pambardar</dc:creator>
      <dc:date>2016-04-11T05:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenating multiple datasets vertically into the same  dataset using ODS output.</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Concatenating-multiple-datasets-vertically-into-the-same-dataset/m-p/262802#M15584</link>
      <description>&lt;P&gt;ODS OUTPUT creates a new dataset, therefore the old dataset is overwritten.&lt;/P&gt;
&lt;P&gt;Use two different dataset names in the ODS OUTPUT statements and concatenate them later with a data step, or do not close/reopen the ODS destination.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2016 05:41:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Concatenating-multiple-datasets-vertically-into-the-same-dataset/m-p/262802#M15584</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-04-11T05:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenating multiple datasets vertically into the same  dataset using ODS output.</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Concatenating-multiple-datasets-vertically-into-the-same-dataset/m-p/262816#M15586</link>
      <description>&lt;P&gt;Using ODS to output data is a great possibility. Which I use only when I can't get the data I want any "regular way".&lt;/P&gt;
&lt;P&gt;What I can see from your desired output, this information&amp;nbsp;is available&amp;nbsp;directly in SASHELP.VCOLUMN and DICTIONARY.COLUMNS.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2016 06:56:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Concatenating-multiple-datasets-vertically-into-the-same-dataset/m-p/262816#M15586</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2016-04-11T06:56:15Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenating multiple datasets vertically into the same  dataset using ODS output.</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Concatenating-multiple-datasets-vertically-into-the-same-dataset/m-p/262827#M15587</link>
      <description>&lt;P&gt;There is nothing to concatenate:&lt;/P&gt;
&lt;PRE&gt;data want;
  set sashelp.vcolumn;
  where libname="WORK" and memname in ("ABC","DEF");
run;&lt;/PRE&gt;</description>
      <pubDate>Mon, 11 Apr 2016 08:20:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Concatenating-multiple-datasets-vertically-into-the-same-dataset/m-p/262827#M15587</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2016-04-11T08:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenating multiple datasets vertically into the same  dataset using ODS output.</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Concatenating-multiple-datasets-vertically-into-the-same-dataset/m-p/262909#M15590</link>
      <description>&lt;P&gt;Thanks. Tried with dictionary.columns &amp;nbsp;and it worked.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2016 13:59:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Concatenating-multiple-datasets-vertically-into-the-same-dataset/m-p/262909#M15590</guid>
      <dc:creator>pambardar</dc:creator>
      <dc:date>2016-04-11T13:59:45Z</dc:date>
    </item>
  </channel>
</rss>

