<?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 Settng Date parameters to update automatically in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Settng-Date-parameters-to-update-automatically/m-p/787638#M251701</link>
    <description>&lt;P&gt;My below code has a variable in it (CPC.CHNL_PTNR_CASE_BGN_DT AS CaseStartDate) that is a format=date9. I want to automate this report and have the date update automatically every month. Example of what I need is: For Dec report a CaseStartDate 20Dec2021 - 20Jan2022 and for Jan report 21Jan2022 - 20Feb2022, etc etc... Can someone provide an example of how this will look in my code? Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;proc sql; 
create table CPIM_Automation as 
SELECT DISTINCT
CPC.CHNL_PTNR_CASE_ID AS TrackingRecord
,CPT2.CHNL_PTNR_CASE_TYP_DE AS WorkType
,CPT1.CHNL_PTNR_CASE_TYP_DE AS SubType
,CPC.CHNL_PTNR_CASE_STAT_CD AS CaseStatusCode
,CPCS.SRC_SYS_CD AS SourceCode
,CPC.CHNL_PTNR_CASE_BGN_DT AS CaseStartDate
,AGET.CHNL_PTNR_CASE_SBJ_VAL_ID AS AgentType
,AGEY.CHNL_PTNR_CASE_SBJ_VAL_ID AS AgencyType
,CPCS.CHNL_PTNR_CASE_STEP_NB AS StepNumber

FROM 
CPM1P1.CHNL_PTNR_CASE_STEP CPCS
LEFT JOIN CPM1P1.CHNL_PTNR_CASE CPC ON CPCS.CHNL_PTNR_CASE_ID = CPC.CHNL_PTNR_CASE_ID
LEFT JOIN CPM1P1.CHNL_PTNR_CASE_TYP CPT1 ON CPC.CHNL_PTNR_CASE_TYP_CD = CPT1.CHNL_PTNR_CASE_TYP_CD
LEFT JOIN CPM1P1.CHNL_PTNR_CASE_TYP CPT2 ON CPT1.PRNT_CHNL_PTNR_CASE_TYP_CD = CPT2.CHNL_PTNR_CASE_TYP_CD 

       
LEFT JOIN (SELECT DISTINCT
          SUB2.CHNL_PTNR_CASE_ID, SUB2.CHNL_PTNR_CASE_SBJ_VAL_ID
          FROM CPM1P1.CHNL_PTNR_CASE_SBJ SUB2
          WHERE SUB2.CHNL_PTNR_CASE_SBJ_TYP_CD = 'CONTACTAGENTTYPE') AGET
          ON CPCS.CHNL_PTNR_CASE_ID = AGET.CHNL_PTNR_CASE_ID 

LEFT JOIN (SELECT DISTINCT
          SUB3.CHNL_PTNR_CASE_ID, SUB3.CHNL_PTNR_CASE_SBJ_VAL_ID
          FROM CPM1P1.CHNL_PTNR_CASE_SBJ SUB3
          WHERE SUB3.CHNL_PTNR_CASE_SBJ_TYP_CD = 'AGENCYTYPE') AGEY
          ON CPCS.CHNL_PTNR_CASE_ID = AGEY.CHNL_PTNR_CASE_ID
WHERE 
/*CaseStartDate ge intnx (month, today(), -1,'b') and CaseStartDate le intnx ('month',today(),-1,'e')*/
CaseStartDate between '20Oct2021'd and '20Nov2021'd
and SourceCode = 'SSPortal'
and StepNumber = 1 

ORDER BY CPC.CHNL_PTNR_CASE_ID ASC
;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 29 Dec 2021 16:46:44 GMT</pubDate>
    <dc:creator>LMSSAS</dc:creator>
    <dc:date>2021-12-29T16:46:44Z</dc:date>
    <item>
      <title>Settng Date parameters to update automatically</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Settng-Date-parameters-to-update-automatically/m-p/787638#M251701</link>
      <description>&lt;P&gt;My below code has a variable in it (CPC.CHNL_PTNR_CASE_BGN_DT AS CaseStartDate) that is a format=date9. I want to automate this report and have the date update automatically every month. Example of what I need is: For Dec report a CaseStartDate 20Dec2021 - 20Jan2022 and for Jan report 21Jan2022 - 20Feb2022, etc etc... Can someone provide an example of how this will look in my code? Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;proc sql; 
create table CPIM_Automation as 
SELECT DISTINCT
CPC.CHNL_PTNR_CASE_ID AS TrackingRecord
,CPT2.CHNL_PTNR_CASE_TYP_DE AS WorkType
,CPT1.CHNL_PTNR_CASE_TYP_DE AS SubType
,CPC.CHNL_PTNR_CASE_STAT_CD AS CaseStatusCode
,CPCS.SRC_SYS_CD AS SourceCode
,CPC.CHNL_PTNR_CASE_BGN_DT AS CaseStartDate
,AGET.CHNL_PTNR_CASE_SBJ_VAL_ID AS AgentType
,AGEY.CHNL_PTNR_CASE_SBJ_VAL_ID AS AgencyType
,CPCS.CHNL_PTNR_CASE_STEP_NB AS StepNumber

FROM 
CPM1P1.CHNL_PTNR_CASE_STEP CPCS
LEFT JOIN CPM1P1.CHNL_PTNR_CASE CPC ON CPCS.CHNL_PTNR_CASE_ID = CPC.CHNL_PTNR_CASE_ID
LEFT JOIN CPM1P1.CHNL_PTNR_CASE_TYP CPT1 ON CPC.CHNL_PTNR_CASE_TYP_CD = CPT1.CHNL_PTNR_CASE_TYP_CD
LEFT JOIN CPM1P1.CHNL_PTNR_CASE_TYP CPT2 ON CPT1.PRNT_CHNL_PTNR_CASE_TYP_CD = CPT2.CHNL_PTNR_CASE_TYP_CD 

       
LEFT JOIN (SELECT DISTINCT
          SUB2.CHNL_PTNR_CASE_ID, SUB2.CHNL_PTNR_CASE_SBJ_VAL_ID
          FROM CPM1P1.CHNL_PTNR_CASE_SBJ SUB2
          WHERE SUB2.CHNL_PTNR_CASE_SBJ_TYP_CD = 'CONTACTAGENTTYPE') AGET
          ON CPCS.CHNL_PTNR_CASE_ID = AGET.CHNL_PTNR_CASE_ID 

LEFT JOIN (SELECT DISTINCT
          SUB3.CHNL_PTNR_CASE_ID, SUB3.CHNL_PTNR_CASE_SBJ_VAL_ID
          FROM CPM1P1.CHNL_PTNR_CASE_SBJ SUB3
          WHERE SUB3.CHNL_PTNR_CASE_SBJ_TYP_CD = 'AGENCYTYPE') AGEY
          ON CPCS.CHNL_PTNR_CASE_ID = AGEY.CHNL_PTNR_CASE_ID
WHERE 
/*CaseStartDate ge intnx (month, today(), -1,'b') and CaseStartDate le intnx ('month',today(),-1,'e')*/
CaseStartDate between '20Oct2021'd and '20Nov2021'd
and SourceCode = 'SSPortal'
and StepNumber = 1 

ORDER BY CPC.CHNL_PTNR_CASE_ID ASC
;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Dec 2021 16:46:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Settng-Date-parameters-to-update-automatically/m-p/787638#M251701</guid>
      <dc:creator>LMSSAS</dc:creator>
      <dc:date>2021-12-29T16:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: Settng Date parameters to update automatically</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Settng-Date-parameters-to-update-automatically/m-p/787640#M251703</link>
      <description>&lt;P&gt;Please clarify this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;For Dec report a CaseStartDate 20Dec2021 - 20Jan2022 and for Jan report 21Jan2022 - 20Feb2022, etc etc... Can someone provide an example of how this will look in my code? Thank you!&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So for December 2021, you want to analyze case start dates in parts of December 2021 and January 2022? And why sometimes the range goes from the 20th of a month to the 20th of the next month, and other times the range goes from the 21st of one month to the 20th of the next month?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How does the program know what date range to use, if say, the program is run on a specific date? When TODAY() returns December 29, 2021, what date interval should be used? What date interval in general?&lt;/P&gt;</description>
      <pubDate>Wed, 29 Dec 2021 16:52:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Settng-Date-parameters-to-update-automatically/m-p/787640#M251703</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2021-12-29T16:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: Settng Date parameters to update automatically</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Settng-Date-parameters-to-update-automatically/m-p/787641#M251704</link>
      <description>&lt;P&gt;Why does the interval change from 20 to 20 in your first one to 21 to 20 in the second one?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;STRONG&gt;20&lt;/STRONG&gt;Dec2021 - &lt;STRONG&gt;20&lt;/STRONG&gt;Jan2022 and for Jan report &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;21&lt;/STRONG&gt;&lt;/FONT&gt;Jan2022 - &lt;STRONG&gt;20&lt;/STRONG&gt;Feb2022&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Assuming that's a typo of some kind AND&lt;STRONG&gt; that you're running this after the 20th of the reporting month and before the end of the reporting month&amp;nbsp;&lt;/STRONG&gt;something like this may work:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;CaseStartDate between (intnx('month', today(), -1, 'b')+20) and (intnx('month', today(), 0, 'b')+20)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/393528"&gt;@LMSSAS&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;My below code has a variable in it (CPC.CHNL_PTNR_CASE_BGN_DT AS CaseStartDate) that is a format=date9. I want to automate this report and have the date update automatically every month. Example of what I need is: For Dec report a CaseStartDate 20Dec2021 - 20Jan2022 and for Jan report 21Jan2022 - 20Feb2022, etc etc... Can someone provide an example of how this will look in my code? Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;proc sql; 
create table CPIM_Automation as 
SELECT DISTINCT
CPC.CHNL_PTNR_CASE_ID AS TrackingRecord
,CPT2.CHNL_PTNR_CASE_TYP_DE AS WorkType
,CPT1.CHNL_PTNR_CASE_TYP_DE AS SubType
,CPC.CHNL_PTNR_CASE_STAT_CD AS CaseStatusCode
,CPCS.SRC_SYS_CD AS SourceCode
,CPC.CHNL_PTNR_CASE_BGN_DT AS CaseStartDate
,AGET.CHNL_PTNR_CASE_SBJ_VAL_ID AS AgentType
,AGEY.CHNL_PTNR_CASE_SBJ_VAL_ID AS AgencyType
,CPCS.CHNL_PTNR_CASE_STEP_NB AS StepNumber

FROM 
CPM1P1.CHNL_PTNR_CASE_STEP CPCS
LEFT JOIN CPM1P1.CHNL_PTNR_CASE CPC ON CPCS.CHNL_PTNR_CASE_ID = CPC.CHNL_PTNR_CASE_ID
LEFT JOIN CPM1P1.CHNL_PTNR_CASE_TYP CPT1 ON CPC.CHNL_PTNR_CASE_TYP_CD = CPT1.CHNL_PTNR_CASE_TYP_CD
LEFT JOIN CPM1P1.CHNL_PTNR_CASE_TYP CPT2 ON CPT1.PRNT_CHNL_PTNR_CASE_TYP_CD = CPT2.CHNL_PTNR_CASE_TYP_CD 

       
LEFT JOIN (SELECT DISTINCT
          SUB2.CHNL_PTNR_CASE_ID, SUB2.CHNL_PTNR_CASE_SBJ_VAL_ID
          FROM CPM1P1.CHNL_PTNR_CASE_SBJ SUB2
          WHERE SUB2.CHNL_PTNR_CASE_SBJ_TYP_CD = 'CONTACTAGENTTYPE') AGET
          ON CPCS.CHNL_PTNR_CASE_ID = AGET.CHNL_PTNR_CASE_ID 

LEFT JOIN (SELECT DISTINCT
          SUB3.CHNL_PTNR_CASE_ID, SUB3.CHNL_PTNR_CASE_SBJ_VAL_ID
          FROM CPM1P1.CHNL_PTNR_CASE_SBJ SUB3
          WHERE SUB3.CHNL_PTNR_CASE_SBJ_TYP_CD = 'AGENCYTYPE') AGEY
          ON CPCS.CHNL_PTNR_CASE_ID = AGEY.CHNL_PTNR_CASE_ID
WHERE 
/*CaseStartDate ge intnx (month, today(), -1,'b') and CaseStartDate le intnx ('month',today(),-1,'e')*/
CaseStartDate between '20Oct2021'd and '20Nov2021'd
and SourceCode = 'SSPortal'
and StepNumber = 1 

ORDER BY CPC.CHNL_PTNR_CASE_ID ASC
;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Dec 2021 16:52:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Settng-Date-parameters-to-update-automatically/m-p/787641#M251704</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-12-29T16:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: Settng Date parameters to update automatically</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Settng-Date-parameters-to-update-automatically/m-p/787643#M251706</link>
      <description>It would be from the 20th of month through the 20th of the next month. So CaseStartDate 20Dec2021 - 20Jan2022 and for Jan report 20Jan2022 - 20Feb2022, etc etc...&lt;BR /&gt;&lt;BR /&gt;If Today () returns December 29, 2021 then it would be Today (),-9</description>
      <pubDate>Wed, 29 Dec 2021 16:59:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Settng-Date-parameters-to-update-automatically/m-p/787643#M251706</guid>
      <dc:creator>LMSSAS</dc:creator>
      <dc:date>2021-12-29T16:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: Settng Date parameters to update automatically</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Settng-Date-parameters-to-update-automatically/m-p/787645#M251708</link>
      <description>Thanks so much, that worked!!!&lt;BR /&gt;&lt;BR /&gt;I appreciate it!!</description>
      <pubDate>Wed, 29 Dec 2021 17:05:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Settng-Date-parameters-to-update-automatically/m-p/787645#M251708</guid>
      <dc:creator>LMSSAS</dc:creator>
      <dc:date>2021-12-29T17:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: Settng Date parameters to update automatically</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Settng-Date-parameters-to-update-automatically/m-p/787650#M251711</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/393528"&gt;@LMSSAS&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;It would be from the 20th of month through the 20th of the next month. So CaseStartDate 20Dec2021 - 20Jan2022 and for Jan report 20Jan2022 - 20Feb2022, etc etc...&lt;BR /&gt;&lt;BR /&gt;If Today () returns December 29, 2021 then it would be Today (),-9&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Well since you seem to have an answer, I won't bother providing another one, but I believe your problem description (or planned analysis) is still flawed, as the 20th of the month will appear in two intervals, and the rest of the days in the month appear in one interval.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And you have Case Start Date values in January 2022, when that hasn't happened yet?&lt;/P&gt;</description>
      <pubDate>Wed, 29 Dec 2021 17:14:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Settng-Date-parameters-to-update-automatically/m-p/787650#M251711</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2021-12-29T17:14:09Z</dc:date>
    </item>
    <item>
      <title>Re: Settng Date parameters to update automatically</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Settng-Date-parameters-to-update-automatically/m-p/787668#M251716</link>
      <description>Thank you for your response, you caused me to think. And yes, my logic is flawed.  My concern is that different months have a different number of days, so how will the program know how many days from today(), will get me to the 20th of the month. This may be what you are explaining with the 20th of the month appearing in two intervals and the rest of the days in the month appear in one interval..&lt;BR /&gt;&lt;BR /&gt;Regarding the Case Start Date values in January 2022, that date will have passed by the time this runs for the Dec - Jan report. So I will run the 20Dec2021 - 20Jan2022 on Jan 21st.  The Jan - Feb will run on Feb 21st.&lt;BR /&gt;&lt;BR /&gt;So Starting on Jan 21st it will run to include the previous days.</description>
      <pubDate>Wed, 29 Dec 2021 18:41:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Settng-Date-parameters-to-update-automatically/m-p/787668#M251716</guid>
      <dc:creator>LMSSAS</dc:creator>
      <dc:date>2021-12-29T18:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: Settng Date parameters to update automatically</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Settng-Date-parameters-to-update-automatically/m-p/787669#M251717</link>
      <description>Thank you for your response, you caused me to think. And yes, my logic is flawed.  My concern is that different months have a different number of days, so how will the program know how many days from today(), will get me to the 20th of the month. This may be what you are explaining with the 20th of the month appearing in two intervals and the rest of the days in the month appear in one interval, yes? &lt;BR /&gt;&lt;BR /&gt;Regarding the Case Start Date values in January 2022, that date will have passed by the time this runs for the Dec - Jan report. So I will run the 20Dec2021 – 20Jan2022 on Jan 21st.  The Jan – Feb will run on Feb 21st. &lt;BR /&gt;So Starting on Jan 21st it will run to include the previous days.&lt;BR /&gt;</description>
      <pubDate>Wed, 29 Dec 2021 18:42:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Settng-Date-parameters-to-update-automatically/m-p/787669#M251717</guid>
      <dc:creator>LMSSAS</dc:creator>
      <dc:date>2021-12-29T18:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: Settng Date parameters to update automatically</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Settng-Date-parameters-to-update-automatically/m-p/787671#M251718</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/393528"&gt;@LMSSAS&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Thank you for your response, you caused me to think. And yes, my logic is flawed. My concern is that different months have a different number of days, so how will the program know how many days from today(), will get me to the 20th of the month. This may be what you are explaining with the 20th of the month appearing in two intervals and the rest of the days in the month appear in one interval, yes? &lt;BR /&gt;&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P class="1640803701028"&gt;The fourth parameter in the INTNX function causes the date to align to the beginning of the month and then adding 20 guarantee's it's always the 20th date.&amp;nbsp;&lt;/P&gt;
&lt;P class="1640803701028"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="1640803701028"&gt;I think&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;&amp;nbsp;concern is that you're reporting 20th June to 20th July and then 20th of July to 20th of August. This means that the 20th of July is included in both data extracts. I suspect you actually want not overlapping periods instead?&amp;nbsp;&lt;/P&gt;
&lt;P class="1640803701028"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="1640803701028"&gt;Second issue is when you're running. If you plan to run this daily, what happens if you run it the first 20 days of the month? How you plan to operationalize this matters.&lt;/P&gt;
&lt;P class="1640803701028"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="1640803701028"&gt;&lt;STRONG&gt; I'd also recommend modifying this to include the dates in the query somehow so each extract was uniquely identified.&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Dec 2021 18:51:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Settng-Date-parameters-to-update-automatically/m-p/787671#M251718</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-12-29T18:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: Settng Date parameters to update automatically</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Settng-Date-parameters-to-update-automatically/m-p/787681#M251724</link>
      <description>Yes, that is correct. I do NOT want overlapping periods? Can I make this adjustment in the INTNX Function or will it require additional logic?&lt;BR /&gt;I do not plan to run this daily, it will be a monthly report. it will begin on the 21st of January and will include the first 20 days of the current month, in this case January and I will pull (December 20-31 - Jan 1-20). The rest of the schedule will look like the list below: Do you see an issue with this logic?  I do not, I think this will work.&lt;BR /&gt;Dec 20, 2021 - Jan 20, 2022&lt;BR /&gt;Jan 21, 2022 - Feb 20, 2022&lt;BR /&gt;Feb 21, 2022 - March 20, 2022&lt;BR /&gt;March 21, 2022 - April 20, 2022&lt;BR /&gt;April 21, 2022 - May 20, 2022&lt;BR /&gt;May 21, 2022 - June 20, 2022&lt;BR /&gt;June 21, 2022 - July 20, 2022&lt;BR /&gt;July 21, 2022 - August 20, 2022&lt;BR /&gt;Aug 21, 2022 - Sept 20, 2022&lt;BR /&gt;Sept 21, 2022 - Oct 20, 2022&lt;BR /&gt;Oct 21, 2022 - Nov 20, 2022&lt;BR /&gt;Nov 21, 2022 - Dec 20, 2022&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 29 Dec 2021 19:36:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Settng-Date-parameters-to-update-automatically/m-p/787681#M251724</guid>
      <dc:creator>LMSSAS</dc:creator>
      <dc:date>2021-12-29T19:36:14Z</dc:date>
    </item>
  </channel>
</rss>

