<?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: SAS EG program window in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-EG-program-window/m-p/455537#M14059</link>
    <description>Here is the data&lt;BR /&gt;&lt;BR /&gt;Product Jan Feb&lt;BR /&gt;Xyz. 200. 100&lt;BR /&gt;AAA. 100. 200&lt;BR /&gt;&lt;BR /&gt;I want to store Jan in a column called currentMonth and Jan + Feb in the ROY column.&lt;BR /&gt;&lt;BR /&gt;Next month I will get a freah sent of the above table from Feb onwards&lt;BR /&gt;&lt;BR /&gt;Feb should be stored in Current Month and the rest of the months in ROY.&lt;BR /&gt;&lt;BR /&gt;Hope this is clear</description>
    <pubDate>Thu, 19 Apr 2018 11:05:25 GMT</pubDate>
    <dc:creator>Ramabc3</dc:creator>
    <dc:date>2018-04-19T11:05:25Z</dc:date>
    <item>
      <title>SAS EG program window</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-EG-program-window/m-p/455469#M14057</link>
      <description>Hi, I am looking for macro that sums up the variable column&lt;BR /&gt;&lt;BR /&gt;Just to give an example : here is the table col names&lt;BR /&gt;&lt;BR /&gt;Product. jan, Feb ...Dec&lt;BR /&gt;&lt;BR /&gt;Months are the variable columns and the table changes every month, as in e.g in the month of Feb, Jan column gets dropped and so on for the March month.&lt;BR /&gt;&lt;BR /&gt;The objective of the macro is to create two new columns current month and rest of the month(summed up)&lt;BR /&gt;&lt;BR /&gt;Thanks in advance&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 19 Apr 2018 04:35:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-EG-program-window/m-p/455469#M14057</guid>
      <dc:creator>Ramabc3</dc:creator>
      <dc:date>2018-04-19T04:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: SAS EG program window [how to improve your question]</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-EG-program-window/m-p/455482#M14058</link>
      <description>&lt;P&gt;Hello &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/125140"&gt;@Ramabc3&lt;/a&gt;,&lt;/P&gt;&lt;BR /&gt; &lt;P&gt;Your question requires more details before experts can help.&amp;nbsp;Can you revise your question to include more information?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Review this checklist:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Specify a meaningful subject line for your topic.&amp;nbsp; Avoid generic subjects like "need help," "SAS query," or "urgent."&lt;/LI&gt;
&lt;LI&gt;When appropriate, provide sample data in text or DATA step format.&amp;nbsp; See &lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712" target="_blank"&gt;this article for one method&lt;/A&gt;&amp;nbsp;you can use.&lt;/LI&gt;
&lt;LI&gt;If you're encountering an error in SAS, include the SAS log or a screenshot of the error condition.&amp;nbsp;Use the&amp;nbsp;&lt;STRONG&gt;Photos&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;button to include the image in your message.&lt;BR /&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" style="width: 279px;"&gt;&lt;IMG src="https://kntur85557.i.lithium.com/t5/image/serverpage/image-id/16608i91A52F817EAC9A69/image-dimensions/279x150?v=1.0" width="279" height="150" alt="use_buttons.png" title="use_buttons.png" /&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;It also helps to include an example (table or picture) of the result that you're trying to achieve.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;To edit your original message, select the "blue gear" icon at the top of the message and select&amp;nbsp;&lt;STRONG&gt;Edit Message&lt;/STRONG&gt;.&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;From there you can adjust the title and add more details to the body of the message.&amp;nbsp; Or, simply reply to this message with any additional information you can supply.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" style="width: 229px;"&gt;&lt;IMG src="https://kntur85557.i.lithium.com/t5/image/serverpage/image-id/16605iAC020BC79315B045/image-size/large?v=1.0&amp;amp;px=600" alt="edit_post.png" title="edit_post.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;SAS experts are eager to help -- help&amp;nbsp;&lt;EM&gt;them&lt;/EM&gt; by providing as much detail as you can.&lt;/P&gt; &lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style:italic;font-size:smaller;"&gt;This prewritten response was triggered for you by fellow SAS Support Communities member &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;&lt;/SPAN&gt;&lt;/P&gt;.</description>
      <pubDate>Thu, 19 Apr 2018 07:03:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-EG-program-window/m-p/455482#M14058</guid>
      <dc:creator>Community_Guide</dc:creator>
      <dc:date>2018-04-19T07:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: SAS EG program window</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-EG-program-window/m-p/455537#M14059</link>
      <description>Here is the data&lt;BR /&gt;&lt;BR /&gt;Product Jan Feb&lt;BR /&gt;Xyz. 200. 100&lt;BR /&gt;AAA. 100. 200&lt;BR /&gt;&lt;BR /&gt;I want to store Jan in a column called currentMonth and Jan + Feb in the ROY column.&lt;BR /&gt;&lt;BR /&gt;Next month I will get a freah sent of the above table from Feb onwards&lt;BR /&gt;&lt;BR /&gt;Feb should be stored in Current Month and the rest of the months in ROY.&lt;BR /&gt;&lt;BR /&gt;Hope this is clear</description>
      <pubDate>Thu, 19 Apr 2018 11:05:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-EG-program-window/m-p/455537#M14059</guid>
      <dc:creator>Ramabc3</dc:creator>
      <dc:date>2018-04-19T11:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: SAS EG program window</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-EG-program-window/m-p/455893#M14067</link>
      <description>&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Product&lt;/TD&gt;&lt;TD&gt;Apr&lt;/TD&gt;&lt;TD&gt;May&lt;/TD&gt;&lt;TD&gt;Jun&lt;/TD&gt;&lt;TD&gt;Jul&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Aug&lt;/TD&gt;&lt;TD&gt;Sep&lt;/TD&gt;&lt;TD&gt;Oct&lt;/TD&gt;&lt;TD&gt;Nov&lt;/TD&gt;&lt;TD&gt;Dec&lt;/TD&gt;&lt;TD&gt;Cur_month&lt;/TD&gt;&lt;TD&gt;ROY&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;15&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;17&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;C&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;17&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;D&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;17&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Column Named "Cur_Month" and "ROY" is what I want to calculate.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As I have already mentioned, this table is dynamic...next month I will have data starting from May to Dec, in which case it will have to store May numbers in the Cur_Month and the rest of the months in ROY as a Sum(Jun+July+Aug+Sep+Oct+Nov+Dec)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please note : I am using SAS Enterprise guide 7.1....I an use the program window to write the code or macro.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ramaa&lt;/P&gt;</description>
      <pubDate>Fri, 20 Apr 2018 11:18:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-EG-program-window/m-p/455893#M14067</guid>
      <dc:creator>Ramabc3</dc:creator>
      <dc:date>2018-04-20T11:18:50Z</dc:date>
    </item>
  </channel>
</rss>

