<?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 How to create in a single column values in to diff tables..? in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-create-in-a-single-column-values-in-to-diff-tables/m-p/4870#M1955</link>
    <description>i have data table like this with brand_cd field&lt;BR /&gt;
Brand_cd&lt;BR /&gt;
12&lt;BR /&gt;
13&lt;BR /&gt;
14&lt;BR /&gt;
&lt;BR /&gt;
i want output like this(Different tables)&lt;BR /&gt;
&lt;BR /&gt;
Brand_cd1(one table)&lt;BR /&gt;
12&lt;BR /&gt;
Brand_cd2(second table)&lt;BR /&gt;
13&lt;BR /&gt;
Brand_cd3(third table)&lt;BR /&gt;
14</description>
    <pubDate>Mon, 01 Oct 2007 12:27:10 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2007-10-01T12:27:10Z</dc:date>
    <item>
      <title>How to create in a single column values in to diff tables..?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-create-in-a-single-column-values-in-to-diff-tables/m-p/4870#M1955</link>
      <description>i have data table like this with brand_cd field&lt;BR /&gt;
Brand_cd&lt;BR /&gt;
12&lt;BR /&gt;
13&lt;BR /&gt;
14&lt;BR /&gt;
&lt;BR /&gt;
i want output like this(Different tables)&lt;BR /&gt;
&lt;BR /&gt;
Brand_cd1(one table)&lt;BR /&gt;
12&lt;BR /&gt;
Brand_cd2(second table)&lt;BR /&gt;
13&lt;BR /&gt;
Brand_cd3(third table)&lt;BR /&gt;
14</description>
      <pubDate>Mon, 01 Oct 2007 12:27:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-create-in-a-single-column-values-in-to-diff-tables/m-p/4870#M1955</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-10-01T12:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to create in a single column values in to diff tables..?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-create-in-a-single-column-values-in-to-diff-tables/m-p/4871#M1956</link>
      <description>Example:&lt;BR /&gt;
&lt;BR /&gt;
/* sample data set with 3 observations */&lt;BR /&gt;
data a;&lt;BR /&gt;
 Brand_cd=12;output;&lt;BR /&gt;
 Brand_cd=13;output;&lt;BR /&gt;
 Brand_cd=14;output;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
/*macro to output line into new table*/&lt;BR /&gt;
%macro test(currTable,index);&lt;BR /&gt;
   data &amp;amp;currTable;&lt;BR /&gt;
   	set a(firstobs=&amp;amp;index obs=&amp;amp;index);&lt;BR /&gt;
   	output;&lt;BR /&gt;
   run;&lt;BR /&gt;
%mend test;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
/* invoke the macro */&lt;BR /&gt;
%test(Brand_cd1,1);&lt;BR /&gt;
%test(Brand_cd2,2);&lt;BR /&gt;
%test(Brand_cd3,3);</description>
      <pubDate>Thu, 04 Oct 2007 10:18:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-create-in-a-single-column-values-in-to-diff-tables/m-p/4871#M1956</guid>
      <dc:creator>Anitha_SAS</dc:creator>
      <dc:date>2007-10-04T10:18:13Z</dc:date>
    </item>
  </channel>
</rss>

