<?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 Copying value until end of file in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Copying-value-until-end-of-file/m-p/23104#M5074</link>
    <description>Hello &lt;BR /&gt;
&lt;BR /&gt;
I have a SAS datasets generated monthly to which I would like to include a new variable called FileDate. The filedate variable has a fixed value of end of month&lt;BR /&gt;
&lt;BR /&gt;
Could anybody help me as to how I can :&lt;BR /&gt;
- Copy this value of filedate till the end of file is reached or the last record of each monthly dataset.&lt;BR /&gt;
- Roll up these datasets to a quarterly jumbo dataset.&lt;BR /&gt;
&lt;BR /&gt;
Thanks for your time.</description>
    <pubDate>Mon, 30 Nov 2009 14:44:42 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2009-11-30T14:44:42Z</dc:date>
    <item>
      <title>Copying value until end of file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Copying-value-until-end-of-file/m-p/23104#M5074</link>
      <description>Hello &lt;BR /&gt;
&lt;BR /&gt;
I have a SAS datasets generated monthly to which I would like to include a new variable called FileDate. The filedate variable has a fixed value of end of month&lt;BR /&gt;
&lt;BR /&gt;
Could anybody help me as to how I can :&lt;BR /&gt;
- Copy this value of filedate till the end of file is reached or the last record of each monthly dataset.&lt;BR /&gt;
- Roll up these datasets to a quarterly jumbo dataset.&lt;BR /&gt;
&lt;BR /&gt;
Thanks for your time.</description>
      <pubDate>Mon, 30 Nov 2009 14:44:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Copying-value-until-end-of-file/m-p/23104#M5074</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-11-30T14:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: Copying value until end of file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Copying-value-until-end-of-file/m-p/23105#M5075</link>
      <description>data xxx;&lt;BR /&gt;
set monthly1;&lt;BR /&gt;
RETAIN FILEDATE value;&lt;BR /&gt;
...&lt;BR /&gt;
...&lt;BR /&gt;
...&lt;BR /&gt;
Run;&lt;BR /&gt;
&lt;BR /&gt;
proc append;&lt;BR /&gt;
base=jumbo;&lt;BR /&gt;
data = xxx;&lt;BR /&gt;
run;&lt;BR /&gt;
etc</description>
      <pubDate>Mon, 30 Nov 2009 14:51:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Copying-value-until-end-of-file/m-p/23105#M5075</guid>
      <dc:creator>Flip</dc:creator>
      <dc:date>2009-11-30T14:51:41Z</dc:date>
    </item>
    <item>
      <title>Re: Copying value until end of file</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Copying-value-until-end-of-file/m-p/23106#M5076</link>
      <description>To address your quarterly jumbo file request, you should have a "month ending" date, and with that you can derive a quarter-ending/starting date using the INTNX function in a DATA step assignment statement.  Then depending on your SAS variables, you can use PROC SUMMARY / MEANS to generate your quarterly file using the quarter-ending date in your CLASS / BY statement.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Mon, 30 Nov 2009 16:10:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Copying-value-until-end-of-file/m-p/23106#M5076</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2009-11-30T16:10:02Z</dc:date>
    </item>
  </channel>
</rss>

