<?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: intck assistance in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/intck-assistance/m-p/21291#M4489</link>
    <description>try this&lt;BR /&gt;
&lt;BR /&gt;
week = intnx('week',date,0,'b');&lt;BR /&gt;
&lt;BR /&gt;
GL.</description>
    <pubDate>Thu, 13 May 2010 15:58:51 GMT</pubDate>
    <dc:creator>sfsdtegsdsdgdffhgfh</dc:creator>
    <dc:date>2010-05-13T15:58:51Z</dc:date>
    <item>
      <title>intck assistance</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/intck-assistance/m-p/21290#M4488</link>
      <description>Current code is:&lt;BR /&gt;
       if date ge	20081228	 and date le	20090103	then Week=	20081228	;&lt;BR /&gt;
else if date ge	20090104	 and date le	20090110	then Week=	20090104	;&lt;BR /&gt;
else if date ge	20090111	 and date le	20090117	then Week=	20090111	;&lt;BR /&gt;
else if date ge	20090118	 and date le	20090124	then Week=	20090118	;&lt;BR /&gt;
else if date ge	20090125	 and date le	20090131	then Week=	20090125	;&lt;BR /&gt;
else if date ge	20090201	 and date le	20090207	then Week=	20090201	;&lt;BR /&gt;
&lt;BR /&gt;
This continues until the end of 2010. I'd like to condense this code using the intck function but can't seem to figure out how.&lt;BR /&gt;
&lt;BR /&gt;
Any assistance would be greatly appreciated.</description>
      <pubDate>Thu, 13 May 2010 15:38:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/intck-assistance/m-p/21290#M4488</guid>
      <dc:creator>mastereh</dc:creator>
      <dc:date>2010-05-13T15:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: intck assistance</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/intck-assistance/m-p/21291#M4489</link>
      <description>try this&lt;BR /&gt;
&lt;BR /&gt;
week = intnx('week',date,0,'b');&lt;BR /&gt;
&lt;BR /&gt;
GL.</description>
      <pubDate>Thu, 13 May 2010 15:58:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/intck-assistance/m-p/21291#M4489</guid>
      <dc:creator>sfsdtegsdsdgdffhgfh</dc:creator>
      <dc:date>2010-05-13T15:58:51Z</dc:date>
    </item>
    <item>
      <title>Re: intck assistance</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/intck-assistance/m-p/21292#M4490</link>
      <description>here's one possibility ...&lt;BR /&gt;
&lt;BR /&gt;
data test (drop=_:);                                                                                                                    &lt;BR /&gt;
 do _date='28dec08'd to '01jan2011'd by 7;                                                                                              &lt;BR /&gt;
  week='20'||put(intnx('week',_date,0,'b'),yymmdd6.);                                                                                   &lt;BR /&gt;
  output;                                                                                                                               &lt;BR /&gt;
 end;                                                                                                                                   &lt;BR /&gt;
run;</description>
      <pubDate>Thu, 13 May 2010 16:13:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/intck-assistance/m-p/21292#M4490</guid>
      <dc:creator>Bill</dc:creator>
      <dc:date>2010-05-13T16:13:01Z</dc:date>
    </item>
  </channel>
</rss>

