<?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 Issues Using Macro Do Loops and SQL Dates in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Issues-Using-Macro-Do-Loops-and-SQL-Dates/m-p/530165#M5683</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am pretty new to using macros and proc sql&amp;nbsp;so forgive me if my code is&amp;nbsp;completely off base, but what I am trying to do is take some dates from an sql table&amp;nbsp;and put them into 'batches' based on the week of the date. E.g. the&amp;nbsp;most recent week would=1, the previous week=2 etc.&amp;nbsp;I need this to be dynamic so that I can run it each week to get the most recent weeks output.&lt;/P&gt;&lt;P&gt;I think my main issue is sas is not recognizing my macro dates as dates. Using different date formats hasn't helped and neither has taking out the quotes in my symput statements.&lt;/P&gt;&lt;P&gt;I am using SAS EG. Any guidance is appreciated, thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: bold; font-family: 'courier new'; font-size: 12.0pt; color: navy;"&gt;proc&lt;/SPAN&gt; &lt;SPAN style="font-weight: bold; font-family: 'courier new'; font-size: 12.0pt; color: navy;"&gt;sql&lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new'; font-size: 12.0pt; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new'; font-size: 12.0pt; color: blue;"&gt;create&lt;/SPAN&gt; &lt;SPAN style="font-family: 'courier new'; font-size: 12.0pt; color: blue;"&gt;table&lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new'; font-size: 12.0pt; color: black;"&gt; prep &lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new'; font-size: 12.0pt; color: blue;"&gt;as&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new'; font-size: 12.0pt; color: blue;"&gt;select&lt;/SPAN&gt; &lt;SPAN style="font-family: 'courier new'; font-size: 12.0pt; color: black;"&gt;datepart(createdte) format &lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new'; font-size: 12.0pt; color: teal;"&gt;mmddyy10.&lt;/SPAN&gt; &lt;SPAN style="font-family: 'courier new'; font-size: 12.0pt; color: blue;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new'; font-size: 12.0pt; color: black;"&gt; dateloaded&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue;"&gt;from&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt; table&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: bold; color: navy;"&gt;quit&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: bold; font-family: 'courier new'; font-size: 12.0pt; color: navy;"&gt;proc&lt;/SPAN&gt; &lt;SPAN style="font-weight: bold; font-family: 'courier new'; font-size: 12.0pt; color: navy;"&gt;sql&lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new'; font-size: 12.0pt; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new'; font-size: 12.0pt; color: blue;"&gt;create&lt;/SPAN&gt; &lt;SPAN style="font-family: 'courier new'; font-size: 12.0pt; color: blue;"&gt;table&lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new'; font-size: 12.0pt; color: black;"&gt; dates &lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new'; font-size: 12.0pt; color: blue;"&gt;as&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new'; font-size: 12.0pt; color: blue;"&gt;select&lt;/SPAN&gt; &lt;SPAN style="font-family: 'courier new'; font-size: 12.0pt; color: blue;"&gt;distinct&lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new'; font-size: 12.0pt; color: black;"&gt; dateloaded &lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new'; font-size: 12.0pt; color: blue;"&gt;from&lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new'; font-size: 12.0pt; color: black;"&gt; prep &lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new'; font-size: 12.0pt; color: blue;"&gt;order&lt;/SPAN&gt; &lt;SPAN style="font-family: 'courier new'; font-size: 12.0pt; color: blue;"&gt;by&lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new'; font-size: 12.0pt; color: black;"&gt; dateloaded &lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new'; font-size: 12.0pt; color: blue;"&gt;desc&lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new'; font-size: 12.0pt; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: bold; color: navy;"&gt;quit&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;output ex:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; want to add:&lt;/P&gt;&lt;P&gt;dateloaded&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;batch&lt;/P&gt;&lt;P&gt;01/24/2019&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;1&lt;/P&gt;&lt;P&gt;01/18/2019&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;2&lt;/P&gt;&lt;P&gt;01/10/2019&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;3&lt;/P&gt;&lt;P&gt;01/04/2019&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4&lt;/P&gt;&lt;P&gt;01/03/2019&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4&lt;/P&gt;&lt;P&gt;12/21/2018&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;5&lt;/P&gt;&lt;P&gt;12/20/2018&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: bold; color: navy;"&gt;%macro&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt; loop();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue;"&gt;%global&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt; i ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new'; font-size: 12.0pt; color: blue;"&gt;%do&lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new'; font-size: 12.0pt; color: black;"&gt; i=&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold; font-family: 'courier new'; font-size: 12.0pt; color: teal;"&gt;1&lt;/SPAN&gt; &lt;SPAN style="font-family: 'courier new'; font-size: 12.0pt; color: blue;"&gt;%to&lt;/SPAN&gt; &lt;SPAN style="font-weight: bold; font-family: 'courier new'; font-size: 12.0pt; color: teal;"&gt;13&lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new'; font-size: 12.0pt; color: black;"&gt; ; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new'; font-size: 12.0pt; color: green;"&gt;/*looping through the past 13 weeks (current week plus past 12 weeks/3months) to compare current week to weekly averages over past 3 months*/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data _null_;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;call symput(&lt;/SPAN&gt;&lt;SPAN style="color: purple;"&gt;'startdt'&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: purple;"&gt;"'"&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;||put(intnx(&lt;/SPAN&gt;&lt;SPAN style="color: purple;"&gt;'day'&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;,intnx(&lt;/SPAN&gt;&lt;SPAN style="color: purple;"&gt;'week'&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;,today(),-&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: teal;"&gt;i.&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: purple;"&gt;'b'&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold; color: teal;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="color: teal;"&gt;yymmdd10.&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;)||&lt;/SPAN&gt;&lt;SPAN style="color: purple;"&gt;"'"&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;);&lt;/SPAN&gt;&lt;SPAN style="color: green;"&gt;/*Sunday SQL date*/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;call symput(&lt;/SPAN&gt;&lt;SPAN style="color: purple;"&gt;'enddt'&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: purple;"&gt;"'"&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;||put(intnx(&lt;/SPAN&gt;&lt;SPAN style="color: purple;"&gt;'day'&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;,intnx(&lt;/SPAN&gt;&lt;SPAN style="color: purple;"&gt;'week'&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;,today(),-&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: teal;"&gt;i.&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: purple;"&gt;'b'&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold; color: teal;"&gt;6&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="color: teal;"&gt;yymmdd10.&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;)||&lt;/SPAN&gt;&lt;SPAN style="color: purple;"&gt;"'"&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;); &lt;/SPAN&gt;&lt;SPAN style="color: green;"&gt;/*Saturday SQL date*/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;%&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold; font-style: italic; color: black;"&gt;week&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt; (&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: teal;"&gt;startdt.&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;, &amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: teal;"&gt;enddt.&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;, &amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: teal;"&gt;i.&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue;"&gt;%end&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt; ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: bold; color: navy;"&gt;%mend&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt; loop;&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;&lt;SPAN style="font-weight: bold; color: navy;"&gt;%macro&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt; week(startdt, enddt, i);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue;"&gt;%put&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt; &amp;amp;startdt &amp;amp;enddt &amp;amp;i;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data batches;&lt;/P&gt;&lt;P&gt;set dates;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;if dateloaded&amp;gt;= &amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: teal;"&gt;startdt.&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt; and dateloaded &amp;lt;= &amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: teal;"&gt;enddt.&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;batch = &amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: teal;"&gt;i.&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;proc append base=dates data=batches_&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: teal;"&gt;i.&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: bold; color: navy;"&gt;%mend&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt; week;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%&lt;SPAN style="font-weight: bold; font-style: italic;"&gt;loop&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;error ex:&lt;/P&gt;&lt;P&gt;NOTE: Character values have been converted to numeric values at the places given by: (Line):(Column).&lt;/P&gt;&lt;P&gt;49:2 49:2&lt;/P&gt;&lt;P&gt;NOTE: Invalid numeric data, '2019-01-13' , at line 49 column 2.&lt;/P&gt;</description>
    <pubDate>Fri, 25 Jan 2019 19:10:54 GMT</pubDate>
    <dc:creator>stage_4</dc:creator>
    <dc:date>2019-01-25T19:10:54Z</dc:date>
    <item>
      <title>Issues Using Macro Do Loops and SQL Dates</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Issues-Using-Macro-Do-Loops-and-SQL-Dates/m-p/530165#M5683</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am pretty new to using macros and proc sql&amp;nbsp;so forgive me if my code is&amp;nbsp;completely off base, but what I am trying to do is take some dates from an sql table&amp;nbsp;and put them into 'batches' based on the week of the date. E.g. the&amp;nbsp;most recent week would=1, the previous week=2 etc.&amp;nbsp;I need this to be dynamic so that I can run it each week to get the most recent weeks output.&lt;/P&gt;&lt;P&gt;I think my main issue is sas is not recognizing my macro dates as dates. Using different date formats hasn't helped and neither has taking out the quotes in my symput statements.&lt;/P&gt;&lt;P&gt;I am using SAS EG. Any guidance is appreciated, thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: bold; font-family: 'courier new'; font-size: 12.0pt; color: navy;"&gt;proc&lt;/SPAN&gt; &lt;SPAN style="font-weight: bold; font-family: 'courier new'; font-size: 12.0pt; color: navy;"&gt;sql&lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new'; font-size: 12.0pt; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new'; font-size: 12.0pt; color: blue;"&gt;create&lt;/SPAN&gt; &lt;SPAN style="font-family: 'courier new'; font-size: 12.0pt; color: blue;"&gt;table&lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new'; font-size: 12.0pt; color: black;"&gt; prep &lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new'; font-size: 12.0pt; color: blue;"&gt;as&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new'; font-size: 12.0pt; color: blue;"&gt;select&lt;/SPAN&gt; &lt;SPAN style="font-family: 'courier new'; font-size: 12.0pt; color: black;"&gt;datepart(createdte) format &lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new'; font-size: 12.0pt; color: teal;"&gt;mmddyy10.&lt;/SPAN&gt; &lt;SPAN style="font-family: 'courier new'; font-size: 12.0pt; color: blue;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new'; font-size: 12.0pt; color: black;"&gt; dateloaded&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue;"&gt;from&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt; table&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: bold; color: navy;"&gt;quit&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: bold; font-family: 'courier new'; font-size: 12.0pt; color: navy;"&gt;proc&lt;/SPAN&gt; &lt;SPAN style="font-weight: bold; font-family: 'courier new'; font-size: 12.0pt; color: navy;"&gt;sql&lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new'; font-size: 12.0pt; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new'; font-size: 12.0pt; color: blue;"&gt;create&lt;/SPAN&gt; &lt;SPAN style="font-family: 'courier new'; font-size: 12.0pt; color: blue;"&gt;table&lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new'; font-size: 12.0pt; color: black;"&gt; dates &lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new'; font-size: 12.0pt; color: blue;"&gt;as&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new'; font-size: 12.0pt; color: blue;"&gt;select&lt;/SPAN&gt; &lt;SPAN style="font-family: 'courier new'; font-size: 12.0pt; color: blue;"&gt;distinct&lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new'; font-size: 12.0pt; color: black;"&gt; dateloaded &lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new'; font-size: 12.0pt; color: blue;"&gt;from&lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new'; font-size: 12.0pt; color: black;"&gt; prep &lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new'; font-size: 12.0pt; color: blue;"&gt;order&lt;/SPAN&gt; &lt;SPAN style="font-family: 'courier new'; font-size: 12.0pt; color: blue;"&gt;by&lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new'; font-size: 12.0pt; color: black;"&gt; dateloaded &lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new'; font-size: 12.0pt; color: blue;"&gt;desc&lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new'; font-size: 12.0pt; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: bold; color: navy;"&gt;quit&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;output ex:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; want to add:&lt;/P&gt;&lt;P&gt;dateloaded&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;batch&lt;/P&gt;&lt;P&gt;01/24/2019&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;1&lt;/P&gt;&lt;P&gt;01/18/2019&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;2&lt;/P&gt;&lt;P&gt;01/10/2019&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;3&lt;/P&gt;&lt;P&gt;01/04/2019&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4&lt;/P&gt;&lt;P&gt;01/03/2019&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4&lt;/P&gt;&lt;P&gt;12/21/2018&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;5&lt;/P&gt;&lt;P&gt;12/20/2018&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: bold; color: navy;"&gt;%macro&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt; loop();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue;"&gt;%global&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt; i ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new'; font-size: 12.0pt; color: blue;"&gt;%do&lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new'; font-size: 12.0pt; color: black;"&gt; i=&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold; font-family: 'courier new'; font-size: 12.0pt; color: teal;"&gt;1&lt;/SPAN&gt; &lt;SPAN style="font-family: 'courier new'; font-size: 12.0pt; color: blue;"&gt;%to&lt;/SPAN&gt; &lt;SPAN style="font-weight: bold; font-family: 'courier new'; font-size: 12.0pt; color: teal;"&gt;13&lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new'; font-size: 12.0pt; color: black;"&gt; ; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new'; font-size: 12.0pt; color: green;"&gt;/*looping through the past 13 weeks (current week plus past 12 weeks/3months) to compare current week to weekly averages over past 3 months*/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data _null_;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;call symput(&lt;/SPAN&gt;&lt;SPAN style="color: purple;"&gt;'startdt'&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: purple;"&gt;"'"&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;||put(intnx(&lt;/SPAN&gt;&lt;SPAN style="color: purple;"&gt;'day'&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;,intnx(&lt;/SPAN&gt;&lt;SPAN style="color: purple;"&gt;'week'&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;,today(),-&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: teal;"&gt;i.&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: purple;"&gt;'b'&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold; color: teal;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="color: teal;"&gt;yymmdd10.&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;)||&lt;/SPAN&gt;&lt;SPAN style="color: purple;"&gt;"'"&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;);&lt;/SPAN&gt;&lt;SPAN style="color: green;"&gt;/*Sunday SQL date*/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;call symput(&lt;/SPAN&gt;&lt;SPAN style="color: purple;"&gt;'enddt'&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: purple;"&gt;"'"&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;||put(intnx(&lt;/SPAN&gt;&lt;SPAN style="color: purple;"&gt;'day'&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;,intnx(&lt;/SPAN&gt;&lt;SPAN style="color: purple;"&gt;'week'&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;,today(),-&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: teal;"&gt;i.&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: purple;"&gt;'b'&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold; color: teal;"&gt;6&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="color: teal;"&gt;yymmdd10.&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;)||&lt;/SPAN&gt;&lt;SPAN style="color: purple;"&gt;"'"&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;); &lt;/SPAN&gt;&lt;SPAN style="color: green;"&gt;/*Saturday SQL date*/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;%&lt;/SPAN&gt;&lt;SPAN style="font-weight: bold; font-style: italic; color: black;"&gt;week&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt; (&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: teal;"&gt;startdt.&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;, &amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: teal;"&gt;enddt.&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;, &amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: teal;"&gt;i.&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue;"&gt;%end&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt; ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: bold; color: navy;"&gt;%mend&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt; loop;&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;&lt;SPAN style="font-weight: bold; color: navy;"&gt;%macro&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt; week(startdt, enddt, i);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue;"&gt;%put&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt; &amp;amp;startdt &amp;amp;enddt &amp;amp;i;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data batches;&lt;/P&gt;&lt;P&gt;set dates;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;if dateloaded&amp;gt;= &amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: teal;"&gt;startdt.&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt; and dateloaded &amp;lt;= &amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: teal;"&gt;enddt.&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;batch = &amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: teal;"&gt;i.&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;proc append base=dates data=batches_&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: teal;"&gt;i.&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: bold; color: navy;"&gt;%mend&lt;/SPAN&gt;&lt;SPAN style="color: black;"&gt; week;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%&lt;SPAN style="font-weight: bold; font-style: italic;"&gt;loop&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;error ex:&lt;/P&gt;&lt;P&gt;NOTE: Character values have been converted to numeric values at the places given by: (Line):(Column).&lt;/P&gt;&lt;P&gt;49:2 49:2&lt;/P&gt;&lt;P&gt;NOTE: Invalid numeric data, '2019-01-13' , at line 49 column 2.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jan 2019 19:10:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Issues-Using-Macro-Do-Loops-and-SQL-Dates/m-p/530165#M5683</guid>
      <dc:creator>stage_4</dc:creator>
      <dc:date>2019-01-25T19:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: Issues Using Macro Do Loops and SQL Dates</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Issues-Using-Macro-Do-Loops-and-SQL-Dates/m-p/530174#M5684</link>
      <description>&lt;P&gt;Macro variables should not be formatted with date formats or with datetime formats. Leave them unformatted.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then, your line&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;if dateloaded&amp;gt;= &amp;amp;startdt. and dateloaded &amp;lt;= &amp;amp;enddt.;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;ought to work without errors.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, when running macros, use OPTIONS MPRINT; before you execute the macro, this will generate much more meaningful information in the log.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When asking for help here, do not show us PARTIAL log files. Click on the {i} icon and then paste the relevant parts of the log file (usually at least the entire PROC or entire DATA step where the error is, sometimes more is needed). The information you provided from the log is meaningless in its current form.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jan 2019 19:21:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Issues-Using-Macro-Do-Loops-and-SQL-Dates/m-p/530174#M5684</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-01-25T19:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: Issues Using Macro Do Loops and SQL Dates</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Issues-Using-Macro-Do-Loops-and-SQL-Dates/m-p/530181#M5686</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Welcome to SAS Community!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your formatting the date values as character. i.e. SAS dosen't recognize when you give date as '2019-01-25', it will treat as a character when expecting a date. You can give a SAS numeric date value (Number of days starting 1st jan 1960)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;example:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let today=%sysfunc(today());
%put Numeric SAS date value for &amp;amp;=today;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;or you need to tell sas that your giving Date values by &lt;STRONG&gt;'25JAN2019'D&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You need to convert the code like:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Remove PUT &amp;amp; format&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
call symput('startdt',intnx('day',intnx('week',today(),-1.,'b'),0));/*Sunday SQL date*/
call symput('enddt',intnx('day',intnx('week',today(),-1,'b'),6)); /*Saturday SQL date*/
run;

%put &amp;amp;startdt &amp;amp;enddt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jan 2019 19:28:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Issues-Using-Macro-Do-Loops-and-SQL-Dates/m-p/530181#M5686</guid>
      <dc:creator>SuryaKiran</dc:creator>
      <dc:date>2019-01-25T19:28:55Z</dc:date>
    </item>
    <item>
      <title>Re: Issues Using Macro Do Loops and SQL Dates</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Issues-Using-Macro-Do-Loops-and-SQL-Dates/m-p/530182#M5687</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;NOTE: Invalid numeric data, '2019-01-13' , at line 49 column 2.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;That message seems pretty clear.&amp;nbsp; A value with quotes around it or a value with hyphens in it is a string, not a number.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;SAS stores dates as the number of days since 1960.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If you want to generate a specific date you in a human readable form you can use a date literal.&amp;nbsp; Those are quoted text that the DATE informat can convert followed by the letter D.&amp;nbsp; Examples:&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;"01JAN2019"d
'01-jan-2019'D&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN&gt;Since it looks like you are generating macro variables to use to compare the date values then the easiest thing is to just leave the values as the number of days.&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
  call symputx('startdt',intnx('week',today(),-&amp;amp;i.,'b'));
  call symputx('enddt',intnx('week',today(),-&amp;amp;i.,'e'));
run;

%week (&amp;amp;startdt., &amp;amp;enddt., &amp;amp;i.);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN&gt;If you did want to generate more human readable format for the macro variables then use the DATE9 format and add the quotes and D suffix.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You could add them in the macro call rather than in the macro variables themselves.&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
  call symputx('startdt',put(intnx('week',today(),-&amp;amp;i.,'b'),date9.);
  call symputx('enddt',put(intnx('week',today(),-&amp;amp;i.,'e'),date9.);
run;

%week ("&amp;amp;startdt"d, "&amp;amp;enddt"d, &amp;amp;i.);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN&gt;Or included them in the macro variables themselves.&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
  call symputx('startdt',quote(put(intnx('week',today(),-&amp;amp;i.,'b'),date9.))||'d');
  call symputx('enddt',quote(put(intnx('week',today(),-&amp;amp;i.,'e'),date9.))||'d');
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN&gt;Example:&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;1001  %let i=0;
1002  data _null_;
1003    call symputx('startdt',quote(put(intnx('week',today(),-&amp;amp;i.,'b'),date9.))||'d');
1004    call symputx('enddt',quote(put(intnx('week',today(),-&amp;amp;i.,'e'),date9.))||'d');
1005  run;

NOTE: DATA statement used (Total process time):
      real time           0.10 seconds
      cpu time            0.01 seconds


1006  %put &amp;amp;=i &amp;amp;=startdt &amp;amp;=enddt ;
I=0 STARTDT="20JAN2019"d ENDDT="26JAN2019"d&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jan 2019 19:35:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Issues-Using-Macro-Do-Loops-and-SQL-Dates/m-p/530182#M5687</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-01-25T19:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: Issues Using Macro Do Loops and SQL Dates</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Issues-Using-Macro-Do-Loops-and-SQL-Dates/m-p/530225#M5708</link>
      <description>&lt;P&gt;You may need to review more about dates in general before attempting to work with macros and dates.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/Working-with-Dates-and-Times-in-SAS-Tutorial/ta-p/424354" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/Working-with-Dates-and-Times-in-SAS-Tutorial/ta-p/424354&lt;/A&gt; has a PDF with much information about dates.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jan 2019 21:09:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Issues-Using-Macro-Do-Loops-and-SQL-Dates/m-p/530225#M5708</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-01-25T21:09:04Z</dc:date>
    </item>
    <item>
      <title>Re: Issues Using Macro Do Loops and SQL Dates</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Issues-Using-Macro-Do-Loops-and-SQL-Dates/m-p/530227#M5709</link>
      <description>&lt;P&gt;Thank you this was very helpful! Here is my updated WORKING code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;options mcompile mlogic mprint;
%macro loop();
    %global i ;
    %do i=1 %to 13 ; /*looping through the past 13 weeks (current week plus past 12 weeks/3months) to compare current week to weekly averages over past 3 months*/
			data _null_;
				call symput('startdt',quote(put(intnx('week',today(),-&amp;amp;i.,'b'),date9.))||'d');/*Sunday SQL date*/
				call symput('enddt',quote(put(intnx('week',today(),-&amp;amp;i.,'e'),date9.))||'d'); /*Saturday SQL date*/
			run;
          	%week (&amp;amp;startdt., &amp;amp;enddt., &amp;amp;i.);
	%end ;
%mend loop;

%macro week(startdt, enddt, i);
data batches_&amp;amp;i;
set dates;
batch = &amp;amp;i.;
where dateloaded&amp;gt;= &amp;amp;startdt. and dateloaded &amp;lt;= &amp;amp;enddt.;
run;
proc append base=batches data=batches_&amp;amp;i.; run;

%mend week;

%loop(); &lt;/PRE&gt;</description>
      <pubDate>Fri, 25 Jan 2019 21:20:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Issues-Using-Macro-Do-Loops-and-SQL-Dates/m-p/530227#M5709</guid>
      <dc:creator>stage_4</dc:creator>
      <dc:date>2019-01-25T21:20:32Z</dc:date>
    </item>
  </channel>
</rss>

