<?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: Transfer data from single table to multiple child table with macro in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Transfer-data-from-single-table-to-multiple-child-table-with/m-p/699083#M213852</link>
    <description>&lt;P&gt;No macro needed:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data
  job (keep=eid job)
  dept (keep=eid dept deptname)
  bonus (keep=eid bonus)
;
set employee;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 16 Nov 2020 10:06:21 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2020-11-16T10:06:21Z</dc:date>
    <item>
      <title>Transfer data from single table to multiple child table with macro</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Transfer-data-from-single-table-to-multiple-child-table-with/m-p/699082#M213851</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have one master table (Employee) from which I need to transfer data to multiple child table with different variable name and keep same format. How can it be done with macro program.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data employee;
input eid ename $ job $ sal dept deptname $ bonus $;
cards;
10001 AB SALES 1000 10 ACCOUNT 100
10001 AC SALES 2000 20 SALES 1001
10002 AD SALES 3000 10 SALES 1002
10003 AE SALES 4000 20 SALES 1003
10003 AF SALES 5000 30 SALES 1004
10001 AG SALES 6000 10 ACCOUNT 1500
10058 AH SALES 14000 40 SALES 1006
;
RUN;


data job;
input eid job $;
cards;
run;

data dept;
input eid dept deptname$;
cards;
run;

data bonus;
input eid bonus $;
cards;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Nov 2020 10:01:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Transfer-data-from-single-table-to-multiple-child-table-with/m-p/699082#M213851</guid>
      <dc:creator>abraham1</dc:creator>
      <dc:date>2020-11-16T10:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: Transfer data from single table to multiple child table with macro</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Transfer-data-from-single-table-to-multiple-child-table-with/m-p/699083#M213852</link>
      <description>&lt;P&gt;No macro needed:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data
  job (keep=eid job)
  dept (keep=eid dept deptname)
  bonus (keep=eid bonus)
;
set employee;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 16 Nov 2020 10:06:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Transfer-data-from-single-table-to-multiple-child-table-with/m-p/699083#M213852</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-11-16T10:06:21Z</dc:date>
    </item>
    <item>
      <title>Re: Transfer data from single table to multiple child table with macro</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Transfer-data-from-single-table-to-multiple-child-table-with/m-p/699085#M213853</link>
      <description>&lt;P&gt;You don't need a macro to do this. Do you want all observations from the original data in each new data set?&lt;/P&gt;</description>
      <pubDate>Mon, 16 Nov 2020 10:16:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Transfer-data-from-single-table-to-multiple-child-table-with/m-p/699085#M213853</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2020-11-16T10:16:37Z</dc:date>
    </item>
  </channel>
</rss>

