<?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: how to set up variable(s) for one of multiple SAS data sets? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/how-to-set-up-variable-s-for-one-of-multiple-SAS-data-sets/m-p/742397#M232226</link>
    <description>&lt;P&gt;Thank you for you advise and help. Your code is just what I need.&lt;/P&gt;</description>
    <pubDate>Wed, 19 May 2021 13:32:21 GMT</pubDate>
    <dc:creator>tianerhu</dc:creator>
    <dc:date>2021-05-19T13:32:21Z</dc:date>
    <item>
      <title>how to set up variable(s) for one of multiple SAS data sets?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-set-up-variable-s-for-one-of-multiple-SAS-data-sets/m-p/742303#M232162</link>
      <description>&lt;P&gt;I have one SAS data set MM and want to create three SAS data set, A , B , C ,respectively.&lt;/P&gt;
&lt;P&gt;There are six variables in SAS data set MM—— score1 , score2 , score3 , score4 , score5 ,score6 ;&lt;/P&gt;
&lt;P&gt;if I want to set up one new variable, average = mean(of score1-score6), and put it into data set B&amp;nbsp; , how should I do ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data A B C;&lt;/P&gt;
&lt;P&gt;set MM；&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 23:51:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-set-up-variable-s-for-one-of-multiple-SAS-data-sets/m-p/742303#M232162</guid>
      <dc:creator>tianerhu</dc:creator>
      <dc:date>2021-05-18T23:51:36Z</dc:date>
    </item>
    <item>
      <title>Re: how to set up variable(s) for one of multiple SAS data sets?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-set-up-variable-s-for-one-of-multiple-SAS-data-sets/m-p/742306#M232164</link>
      <description>&lt;P&gt;The description of your needs is tenuous. This sticks to your script:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data A B(keep=average) C;
  set MM；
  average = mean(of score1-score6),&amp;nbsp;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 May 2021 01:10:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-set-up-variable-s-for-one-of-multiple-SAS-data-sets/m-p/742306#M232164</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2021-05-19T01:10:13Z</dc:date>
    </item>
    <item>
      <title>Re: how to set up variable(s) for one of multiple SAS data sets?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-set-up-variable-s-for-one-of-multiple-SAS-data-sets/m-p/742397#M232226</link>
      <description>&lt;P&gt;Thank you for you advise and help. Your code is just what I need.&lt;/P&gt;</description>
      <pubDate>Wed, 19 May 2021 13:32:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-set-up-variable-s-for-one-of-multiple-SAS-data-sets/m-p/742397#M232226</guid>
      <dc:creator>tianerhu</dc:creator>
      <dc:date>2021-05-19T13:32:21Z</dc:date>
    </item>
  </channel>
</rss>

