<?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: combining data in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/combining-data/m-p/239118#M6199</link>
    <description>&lt;P&gt;As with anything else, I would not recommend putting "data" in the table name or table headers. &amp;nbsp;Consider your approach, what happens if you get updates for a month, what happens the next year etc. &amp;nbsp;Would it not be far easier to work with one large dataset which has another column:&lt;BR /&gt;DATE_RECIEVED &amp;nbsp; Other variables...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then each upload, you insert the new data with a given date. &amp;nbsp;Then your programs can be written to just point to one dataset, and use the date variable to group. &amp;nbsp;Far easier than messing around with filenames etc.&lt;/P&gt;</description>
    <pubDate>Mon, 14 Dec 2015 11:11:38 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2015-12-14T11:11:38Z</dc:date>
    <item>
      <title>combining data</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/combining-data/m-p/239091#M6195</link>
      <description>&lt;P&gt;Hi, we recieve monthly data and create YTD data. Before i just had a code&amp;nbsp; e.g. "DATA YTDdat; SET dJan dFeb ... dDec;RUN;". If there was no month&amp;nbsp;mentioned in&amp;nbsp;a SET statement, it would give me an error message, but will append all existing months all the same. Now I am creating essentially the same code, but it gives an error message e.g. "ERROR: File ONL_DEC15.DATA does not exist" but does not create a file with existing months. My question: is there a way to create YTD data automatically, depending on whether the data for a particular month exists?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Dec 2015 04:44:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/combining-data/m-p/239091#M6195</guid>
      <dc:creator>VS</dc:creator>
      <dc:date>2015-12-14T04:44:51Z</dc:date>
    </item>
    <item>
      <title>Re: combining data</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/combining-data/m-p/239098#M6196</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Here You go ...

data jan;
input X;
datalines;
1
1
;
data Feb;
input X;
datalines;
2
2
;
OPTIONS  NODSNFERR;
data want;
set jan HELLOOOO Feb;
/* "HELLOOOO" data dont exists */
run;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DL&gt;
&lt;DD&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DD&gt;
&lt;/DL&gt;</description>
      <pubDate>Mon, 14 Dec 2015 08:03:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/combining-data/m-p/239098#M6196</guid>
      <dc:creator>pearsoninst</dc:creator>
      <dc:date>2015-12-14T08:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: combining data</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/combining-data/m-p/239118#M6199</link>
      <description>&lt;P&gt;As with anything else, I would not recommend putting "data" in the table name or table headers. &amp;nbsp;Consider your approach, what happens if you get updates for a month, what happens the next year etc. &amp;nbsp;Would it not be far easier to work with one large dataset which has another column:&lt;BR /&gt;DATE_RECIEVED &amp;nbsp; Other variables...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then each upload, you insert the new data with a given date. &amp;nbsp;Then your programs can be written to just point to one dataset, and use the date variable to group. &amp;nbsp;Far easier than messing around with filenames etc.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Dec 2015 11:11:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/combining-data/m-p/239118#M6199</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2015-12-14T11:11:38Z</dc:date>
    </item>
    <item>
      <title>Re: combining data</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/combining-data/m-p/239265#M6211</link>
      <description>&lt;P&gt;Thank you. This is very valuable suggestion. i've got several projects which will benefit from this approach.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Dec 2015 22:12:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/combining-data/m-p/239265#M6211</guid>
      <dc:creator>VS</dc:creator>
      <dc:date>2015-12-14T22:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: combining data</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/combining-data/m-p/239266#M6212</link>
      <description>Thanks a lot! Have to learn more about OPTIONS.</description>
      <pubDate>Mon, 14 Dec 2015 22:22:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/combining-data/m-p/239266#M6212</guid>
      <dc:creator>VS</dc:creator>
      <dc:date>2015-12-14T22:22:10Z</dc:date>
    </item>
  </channel>
</rss>

