<?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: Create sas data set with dates YYMM nuymeric in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Create-sas-data-set-with-dates-YYMM-nuymeric/m-p/923580#M363598</link>
    <description>&lt;P&gt;Besides what &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;&amp;nbsp;already advised you, it looks like you have an Excel table already generated. How about importing it?&lt;/P&gt;
&lt;P&gt;Bart&lt;/P&gt;</description>
    <pubDate>Tue, 09 Apr 2024 11:49:46 GMT</pubDate>
    <dc:creator>yabwon</dc:creator>
    <dc:date>2024-04-09T11:49:46Z</dc:date>
    <item>
      <title>Create sas data set with dates YYMM nuymeric</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-sas-data-set-with-dates-YYMM-nuymeric/m-p/923571#M363590</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;What is the way to create the following data set with 6 columns M1-M6 with numeric number (represent date in format YYMM).Please note that I need it because the data sets tables have YYMM name and when I run macro later I need to mention to which data sets use.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ronein_0-1712661651805.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/95345iE55F3CC60D581E85/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ronein_0-1712661651805.png" alt="Ronein_0-1712661651805.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2024 11:21:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-sas-data-set-with-dates-YYMM-nuymeric/m-p/923571#M363590</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2024-04-09T11:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: Create sas data set with dates YYMM nuymeric</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-sas-data-set-with-dates-YYMM-nuymeric/m-p/923576#M363594</link>
      <description>&lt;P&gt;This is essentially the same as your other question, where you want macro variables that have these values. The only difference is that here you would have to loop in a data step, whereas when you want macro variables you can do the looping in a data step with CALL SYMPUTX or with a macro loop.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I already explained how to do it in your other thread.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2024 11:35:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-sas-data-set-with-dates-YYMM-nuymeric/m-p/923576#M363594</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2024-04-09T11:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: Create sas data set with dates YYMM nuymeric</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-sas-data-set-with-dates-YYMM-nuymeric/m-p/923580#M363598</link>
      <description>&lt;P&gt;Besides what &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;&amp;nbsp;already advised you, it looks like you have an Excel table already generated. How about importing it?&lt;/P&gt;
&lt;P&gt;Bart&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2024 11:49:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-sas-data-set-with-dates-YYMM-nuymeric/m-p/923580#M363598</guid>
      <dc:creator>yabwon</dc:creator>
      <dc:date>2024-04-09T11:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: Create sas data set with dates YYMM nuymeric</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-sas-data-set-with-dates-YYMM-nuymeric/m-p/923649#M363625</link>
      <description>&lt;P&gt;The YYMMN4. format will display a date value in this way; use it in a PUT function. Calculate the dates with INTNX.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2024 16:41:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-sas-data-set-with-dates-YYMM-nuymeric/m-p/923649#M363625</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2024-04-09T16:41:22Z</dc:date>
    </item>
    <item>
      <title>Re: Create sas data set with dates YYMM nuymeric</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-sas-data-set-with-dates-YYMM-nuymeric/m-p/923659#M363632</link>
      <description>&lt;P&gt;It is not clear what you mean (and posting a photograph does not help).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you want a DATE value with a display format like YYMMN4. format attached that will display the dates with just the last two digits of the year and two digit month number?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you want an INTEGER value like 2,404 with no format (or perhaps the 4. format) attached so it prints like 2404?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And please explain in more detail WHY you need this dataset?&amp;nbsp; What exactly are you going to do with it?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you planning to combine it with actual data? What does that data look like? How do you plan to combine them?&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2024 18:01:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-sas-data-set-with-dates-YYMM-nuymeric/m-p/923659#M363632</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2024-04-09T18:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: Create sas data set with dates YYMM nuymeric</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-sas-data-set-with-dates-YYMM-nuymeric/m-p/923697#M363647</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
array M{6};
start=mdy(7,1,2019);
   do month=0 to 34;
     do n=1 to dim(M);
      M{n}=intnx('month',intnx('month',start,month),n);
	 end;
	 output;
   end;
keep m1-m6;
format m1-m6 yymmn4.;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 10 Apr 2024 03:00:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-sas-data-set-with-dates-YYMM-nuymeric/m-p/923697#M363647</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2024-04-10T03:00:28Z</dc:date>
    </item>
  </channel>
</rss>

