<?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 sas questions including merge, macro, convert in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/sas-questions-including-merge-macro-convert/m-p/640888#M190972</link>
    <description>&lt;P&gt;Could someone help me answer these problems? thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Instructions&lt;/U&gt;&lt;/STRONG&gt;: Please write the SAS code you would use to do each of the following tasks.&amp;nbsp; The library name should be ONE, the datasets should be named DATA1 (with variables ID, AGE, GENDER, and SMOKE) and DATA2 (with variables REDCAP_ID, Q1, Q2, and Q3).&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Write a code to import DATA1.csv file to SAS dataset into the library and remove duplicates.&lt;/LI&gt;
&lt;LI&gt;Write a merge code to keep only the records that are common in both datasets.&lt;/LI&gt;
&lt;LI&gt;Write a macro to create frequency report for all variables in the combined SAS dataset with rtf destination.&lt;/LI&gt;
&lt;LI&gt;Write a code to convert the variable AGE, which is currently a character variable, to numeric and recode to create age categories 0-20, 21-40, 41-60, 61-80, and 81-100.&lt;/LI&gt;
&lt;LI&gt;Write a format code and apply it to the above categories.&lt;/LI&gt;
&lt;/OL&gt;</description>
    <pubDate>Fri, 17 Apr 2020 23:19:33 GMT</pubDate>
    <dc:creator>Amy0223</dc:creator>
    <dc:date>2020-04-17T23:19:33Z</dc:date>
    <item>
      <title>sas questions including merge, macro, convert</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sas-questions-including-merge-macro-convert/m-p/640888#M190972</link>
      <description>&lt;P&gt;Could someone help me answer these problems? thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Instructions&lt;/U&gt;&lt;/STRONG&gt;: Please write the SAS code you would use to do each of the following tasks.&amp;nbsp; The library name should be ONE, the datasets should be named DATA1 (with variables ID, AGE, GENDER, and SMOKE) and DATA2 (with variables REDCAP_ID, Q1, Q2, and Q3).&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Write a code to import DATA1.csv file to SAS dataset into the library and remove duplicates.&lt;/LI&gt;
&lt;LI&gt;Write a merge code to keep only the records that are common in both datasets.&lt;/LI&gt;
&lt;LI&gt;Write a macro to create frequency report for all variables in the combined SAS dataset with rtf destination.&lt;/LI&gt;
&lt;LI&gt;Write a code to convert the variable AGE, which is currently a character variable, to numeric and recode to create age categories 0-20, 21-40, 41-60, 61-80, and 81-100.&lt;/LI&gt;
&lt;LI&gt;Write a format code and apply it to the above categories.&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Fri, 17 Apr 2020 23:19:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sas-questions-including-merge-macro-convert/m-p/640888#M190972</guid>
      <dc:creator>Amy0223</dc:creator>
      <dc:date>2020-04-17T23:19:33Z</dc:date>
    </item>
    <item>
      <title>Re: sas questions including merge, macro, convert</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sas-questions-including-merge-macro-convert/m-p/640920#M190978</link>
      <description>&lt;P&gt;What have you done so far? Show your code and logs, show some example data, tell us where the results don't meet your expectations.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 18 Apr 2020 05:45:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sas-questions-including-merge-macro-convert/m-p/640920#M190978</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-04-18T05:45:31Z</dc:date>
    </item>
  </channel>
</rss>

