<?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: Divide the month and year in seperate columns in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Divide-the-month-and-year-in-seperate-columns/m-p/837847#M331300</link>
    <description>&lt;P&gt;Try this&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
input DOB :mmddyy10.;
format DOB mmddyy10.;
datalines;
10/10/2003
07/29/1980
03/26/1978
;

data want;
   set have;
   month = put(DOB, monname. -l);
   year  = year(DOB);
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 11 Oct 2022 13:10:11 GMT</pubDate>
    <dc:creator>PeterClemmensen</dc:creator>
    <dc:date>2022-10-11T13:10:11Z</dc:date>
    <item>
      <title>Divide the month and year in seperate columns</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Divide-the-month-and-year-in-seperate-columns/m-p/837844#M331298</link>
      <description>Hi,&lt;BR /&gt;I have a dataset&lt;BR /&gt;DOB&lt;BR /&gt;10/10/2003&lt;BR /&gt;07/29/1980&lt;BR /&gt;03/26/1978&lt;BR /&gt;&lt;BR /&gt;I want a data test which has a separate column of month(text) and year.&lt;BR /&gt;DOB month year&lt;BR /&gt;10/102003 October 2003&lt;BR /&gt;07/29/1980 July 1980&lt;BR /&gt;03/26/1978 March 1978&lt;BR /&gt;&lt;BR /&gt;Thank you in advance&lt;BR /&gt;</description>
      <pubDate>Tue, 11 Oct 2022 12:59:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Divide-the-month-and-year-in-seperate-columns/m-p/837844#M331298</guid>
      <dc:creator>Smitha9</dc:creator>
      <dc:date>2022-10-11T12:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: Divide the month and year in seperate columns</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Divide-the-month-and-year-in-seperate-columns/m-p/837847#M331300</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
input DOB :mmddyy10.;
format DOB mmddyy10.;
datalines;
10/10/2003
07/29/1980
03/26/1978
;

data want;
   set have;
   month = put(DOB, monname. -l);
   year  = year(DOB);
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 11 Oct 2022 13:10:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Divide-the-month-and-year-in-seperate-columns/m-p/837847#M331300</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2022-10-11T13:10:11Z</dc:date>
    </item>
  </channel>
</rss>

