<?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: Bring in variable from other data set in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/Bring-in-variable-from-other-data-set/m-p/454290#M5255</link>
    <description>&lt;P&gt;I deliberately created a new dataset rather than overwrite the existing one as it is not good practice to do so and you get a warning in your SAS log. I suggest you go with the new name. If you want a permanent dataset try something like paper.ceo_firm2.&lt;/P&gt;</description>
    <pubDate>Sun, 15 Apr 2018 20:43:23 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2018-04-15T20:43:23Z</dc:date>
    <item>
      <title>Bring in variable from other data set</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Bring-in-variable-from-other-data-set/m-p/454222#M5243</link>
      <description>&lt;P&gt;Hello SAS community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/88384"&gt;@Shmuel&lt;/a&gt;&amp;nbsp;offered me the following code so that I could bring a variable into the data set I am running a regression on from another data set in my program:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;*bring variable in from other data set; 
proc sql;
     create table paper.ceo_firm as 
      select  a.* , b.VOL
      from paper.ceo_firm as a
      left join paper.CSRP_Monthly_Stock_char4 as b
     on a.ticker = b.ticker and
          a.year = b.year;
quit;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I ran into an error and&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/88384"&gt;@Shmuel&lt;/a&gt;&amp;nbsp;identified it, saying that:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica Neue'; color: #333333;"&gt;The difference in number of observations means that the combination of&amp;nbsp;&lt;STRONG&gt;&lt;SPAN style="font-family: 'Helvetica Neue';"&gt;ticker&lt;/SPAN&gt;&lt;/STRONG&gt;&amp;nbsp;and&amp;nbsp;&lt;STRONG&gt;&lt;SPAN style="font-family: 'Helvetica Neue';"&gt;year&lt;/SPAN&gt;&lt;/STRONG&gt;&amp;nbsp;are not unique.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica Neue'; color: #333333;"&gt;SQL join makes a Cartesian join thus multiplies output.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica Neue'; color: #333333;"&gt;If you know what other variables&amp;nbsp;&lt;STRONG&gt;&lt;SPAN style="font-family: 'Helvetica Neue';"&gt;make it unique -&lt;/SPAN&gt;&lt;/STRONG&gt;&amp;nbsp;add them to the conditions"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica Neue'; color: #333333;"&gt;But I had trouble implementing this because, for one reason, I'm not sure how it would look in the code, and, secondly, I can't imagine how else to make this variable unique since basically my whole program has been revolving around the ticker*year combination.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica Neue'; color: #333333;"&gt;Let me know if you can help take my data set to the next level! If this works to call VOL into my ceo_firm dataset, then I could use it for other variables as well, which could be very useful to me.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica Neue'; color: #333333;"&gt;Thanks for your time!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Helvetica Neue'; color: #333333;"&gt;-SAStuck&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 15 Apr 2018 00:12:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Bring-in-variable-from-other-data-set/m-p/454222#M5243</guid>
      <dc:creator>sastuck</dc:creator>
      <dc:date>2018-04-15T00:12:07Z</dc:date>
    </item>
    <item>
      <title>Re: Bring in variable from other data set</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Bring-in-variable-from-other-data-set/m-p/454225#M5244</link>
      <description>&lt;P&gt;I think it would help to explain why both tables have duplicates by ticker plus year combination. At a guess your monthly stock table has monthly rows for each ticker/year. However why does your CEO firm table have multiple rows per ticker/year?&lt;/P&gt;</description>
      <pubDate>Sun, 15 Apr 2018 01:17:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Bring-in-variable-from-other-data-set/m-p/454225#M5244</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2018-04-15T01:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: Bring in variable from other data set</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Bring-in-variable-from-other-data-set/m-p/454226#M5245</link>
      <description>&lt;P&gt;Would it help the situation if I drop rows with multiple ticker/years?&lt;/P&gt;</description>
      <pubDate>Sun, 15 Apr 2018 01:39:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Bring-in-variable-from-other-data-set/m-p/454226#M5245</guid>
      <dc:creator>sastuck</dc:creator>
      <dc:date>2018-04-15T01:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: Bring in variable from other data set</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Bring-in-variable-from-other-data-set/m-p/454229#M5246</link>
      <description>&lt;P&gt;Posting a few rows showing the duplicates would help us understand the data better otherwise we are just guessing what the best approach should be.&lt;/P&gt;</description>
      <pubDate>Sun, 15 Apr 2018 02:58:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Bring-in-variable-from-other-data-set/m-p/454229#M5246</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2018-04-15T02:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: Bring in variable from other data set</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Bring-in-variable-from-other-data-set/m-p/454233#M5247</link>
      <description>&lt;P&gt;I ran the following code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;*find duplicates: ticker/year combo;
proc freq data=paper.CSRP_Monthly_Stock_char4;
	tables ticker * year / noprint 
		out=paper.multiple_tyCSRP (where=(count &amp;gt; 1));
run;

proc freq data=paper.ceo_firm;
	tables ticker * year / noprint 
		out=paper.multiple_tyfirm (where=(count &amp;gt; 1));
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;And below I am posting examples of the output from the respective tables:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=" dgrid-row dgrid-row-even ui-state-default dgrid-selected ui-state-active"&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Row&lt;/TD&gt;&lt;TD&gt;Ticker&lt;/TD&gt;&lt;TD&gt;Year&lt;/TD&gt;&lt;TD&gt;Count&lt;/TD&gt;&lt;TD&gt;Percent&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;DIV class=" dgrid-row dgrid-row-odd ui-state-default"&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;2011&lt;/TD&gt;&lt;TD&gt;12&lt;/TD&gt;&lt;TD&gt;0.00198938&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;DIV class=" dgrid-row dgrid-row-even ui-state-default"&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;2012&lt;/TD&gt;&lt;TD&gt;12&lt;/TD&gt;&lt;TD&gt;0.00198938&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;DIV class=" dgrid-row dgrid-row-odd ui-state-default"&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;2013&lt;/TD&gt;&lt;TD&gt;12&lt;/TD&gt;&lt;TD&gt;0.00198938&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;DIV class=" dgrid-row dgrid-row-even ui-state-default"&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;2014&lt;/TD&gt;&lt;TD&gt;12&lt;/TD&gt;&lt;TD&gt;0.00198938&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;DIV class=" dgrid-row dgrid-row-odd ui-state-default"&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;6&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;2015&lt;/TD&gt;&lt;TD&gt;12&lt;/TD&gt;&lt;TD&gt;0.00198938&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;DIV class=" dgrid-row dgrid-row-even ui-state-default"&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;7&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;2016&lt;/TD&gt;&lt;TD&gt;12&lt;/TD&gt;&lt;TD&gt;0.00198938&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;DIV class=" dgrid-row dgrid-row-odd ui-state-default"&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;2017&lt;/TD&gt;&lt;TD&gt;12&lt;/TD&gt;&lt;TD&gt;0.00198938&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;DIV class=" dgrid-row dgrid-row-even ui-state-default"&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;9&lt;/TD&gt;&lt;TD&gt;AA&lt;/TD&gt;&lt;TD&gt;2010&lt;/TD&gt;&lt;TD&gt;12&lt;/TD&gt;&lt;TD&gt;0.00198938&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;DIV class=" dgrid-row dgrid-row-odd ui-state-default"&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;TD&gt;AA&lt;/TD&gt;&lt;TD&gt;2011&lt;/TD&gt;&lt;TD&gt;12&lt;/TD&gt;&lt;TD&gt;0.00198938&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;DIV class=" dgrid-row dgrid-row-even ui-state-default"&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;11&lt;/TD&gt;&lt;TD&gt;AA&lt;/TD&gt;&lt;TD&gt;2012&lt;/TD&gt;&lt;TD&gt;12&lt;/TD&gt;&lt;TD&gt;0.00198938&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;DIV class=" dgrid-row dgrid-row-odd ui-state-default"&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;12&lt;/TD&gt;&lt;TD&gt;AA&lt;/TD&gt;&lt;TD&gt;2013&lt;/TD&gt;&lt;TD&gt;12&lt;/TD&gt;&lt;TD&gt;0.00198938&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;DIV class=" dgrid-row dgrid-row-even ui-state-default"&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;13&lt;/TD&gt;&lt;TD&gt;AA&lt;/TD&gt;&lt;TD&gt;2014&lt;/TD&gt;&lt;TD&gt;12&lt;/TD&gt;&lt;TD&gt;0.00198938&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;DIV class=" dgrid-row dgrid-row-odd ui-state-default"&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;14&lt;/TD&gt;&lt;TD&gt;AA&lt;/TD&gt;&lt;TD&gt;2015&lt;/TD&gt;&lt;TD&gt;12&lt;/TD&gt;&lt;TD&gt;0.00198938&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;DIV class=" dgrid-row dgrid-row-even ui-state-default"&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;15&lt;/TD&gt;&lt;TD&gt;AA&lt;/TD&gt;&lt;TD&gt;2016&lt;/TD&gt;&lt;TD&gt;11&lt;/TD&gt;&lt;TD&gt;0.0018235984&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;DIV class=" dgrid-row dgrid-row-odd ui-state-default"&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;16&lt;/TD&gt;&lt;TD&gt;AA&lt;/TD&gt;&lt;TD&gt;2017&lt;/TD&gt;&lt;TD&gt;12&lt;/TD&gt;&lt;TD&gt;0.00198938&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;DIV class=" dgrid-row dgrid-row-even ui-state-default"&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;17&lt;/TD&gt;&lt;TD&gt;AAAP&lt;/TD&gt;&lt;TD&gt;2016&lt;/TD&gt;&lt;TD&gt;12&lt;/TD&gt;&lt;TD&gt;0.00198938&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;DIV class=" dgrid-row dgrid-row-odd ui-state-default"&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;18&lt;/TD&gt;&lt;TD&gt;AAAP&lt;/TD&gt;&lt;TD&gt;2017&lt;/TD&gt;&lt;TD&gt;12&lt;/TD&gt;&lt;TD&gt;0.00198938&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;DIV class=" dgrid-row dgrid-row-even ui-state-default"&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;19&lt;/TD&gt;&lt;TD&gt;AABA&lt;/TD&gt;&lt;TD&gt;2017&lt;/TD&gt;&lt;TD&gt;6&lt;/TD&gt;&lt;TD&gt;0.00099469&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That was&amp;nbsp;paper.CSRP_Monthly_Stock_char4.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;paper.ceo_firm is empty (no duplicates).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 15 Apr 2018 03:19:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Bring-in-variable-from-other-data-set/m-p/454233#M5247</guid>
      <dc:creator>sastuck</dc:creator>
      <dc:date>2018-04-15T03:19:23Z</dc:date>
    </item>
    <item>
      <title>Re: Bring in variable from other data set</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Bring-in-variable-from-other-data-set/m-p/454235#M5248</link>
      <description>&lt;P&gt;So what do you want as an output dataset? If it needs to be unique by ticker / year, then what do you want VOL to be? The sum over each year, the average, the minimum or something else?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want the sum of vol, something like this should work:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
     create table ceo_firm as 
      select  a.* , b.VOL
      from paper.ceo_firm as a
      left join
     (select ticker
                ,year
                ,sum(VOL) as VOL
      from paper.CSRP_Monthly_Stock_char4
      group by ticker
              ,year
     ) as b
     on a.ticker = b.ticker and
     a.year = b.year;
quit;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 15 Apr 2018 04:15:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Bring-in-variable-from-other-data-set/m-p/454235#M5248</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2018-04-15T04:15:01Z</dc:date>
    </item>
    <item>
      <title>Re: Bring in variable from other data set</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Bring-in-variable-from-other-data-set/m-p/454266#M5253</link>
      <description>&lt;P&gt;Your code worked. I will accept it as the solution. I did run into an error though. I know I am just making a simple mistake:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt; 1          OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 70         
 71         proc reg data=paper.ceo_firm plots(maxpoints=none);
 72         model salary=annual_return bonus stock_awards age male vol;
 ERROR: Variable VOL not found.
 NOTE: The previous statement has been deleted.
 73         run;
 
 WARNING: No variables specified for an SSCP matrix. Execution terminating.
 NOTE: PROCEDURE REG used (Total process time):
       real time           0.00 seconds
       user cpu time       0.00 seconds
       system cpu time     0.00 seconds
       memory              3408.59k
       OS Memory           33216.00k
       Timestamp           04/15/2018 01:24:17 PM
       Step Count                        89  Switch Count  0
       Page Faults                       0
       Page Reclaims                     481
       Page Swaps                        0
       Voluntary Context Switches        3
       Involuntary Context Switches      0
       Block Input Operations            0
       Block Output Operations           48
       
 
 74         
 75         OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 87       &lt;/PRE&gt;&lt;P&gt;Should I adapt your code to name the table paper.ceo_firm? Or adapt my model to pull from the table your code created, work.ceo_firm? Let me know! Thanks!&lt;/P&gt;</description>
      <pubDate>Sun, 15 Apr 2018 13:26:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Bring-in-variable-from-other-data-set/m-p/454266#M5253</guid>
      <dc:creator>sastuck</dc:creator>
      <dc:date>2018-04-15T13:26:06Z</dc:date>
    </item>
    <item>
      <title>Re: Bring in variable from other data set</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Bring-in-variable-from-other-data-set/m-p/454290#M5255</link>
      <description>&lt;P&gt;I deliberately created a new dataset rather than overwrite the existing one as it is not good practice to do so and you get a warning in your SAS log. I suggest you go with the new name. If you want a permanent dataset try something like paper.ceo_firm2.&lt;/P&gt;</description>
      <pubDate>Sun, 15 Apr 2018 20:43:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Bring-in-variable-from-other-data-set/m-p/454290#M5255</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2018-04-15T20:43:23Z</dc:date>
    </item>
  </channel>
</rss>

