<?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 Programming 1, Lesson 6, Practice p01 in Programming 1 and 2</title>
    <link>https://communities.sas.com/t5/Programming-1-and-2/SAS-Programming-1-Lesson-6-Practice-p01/m-p/520131#M139</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/153972"&gt;@ActuaryJo&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I just ran the solution and it worked fine for me. Perhaps restarting your SAS session will help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best wishes,&lt;/P&gt;
&lt;P&gt;Jeff&lt;/P&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/51161"&gt;@JBailey&lt;/a&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 10 Dec 2018 20:19:40 GMT</pubDate>
    <dc:creator>JBailey</dc:creator>
    <dc:date>2018-12-10T20:19:40Z</dc:date>
    <item>
      <title>SAS Programming 1, Lesson 6, Practice p01</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/SAS-Programming-1-Lesson-6-Practice-p01/m-p/520115#M138</link>
      <description>&lt;P&gt;This program (in the eLearning course) is supposed to produce an excel workbook with three Detail tabs and the Season should be 2014, 2015, 2016. This is true when I run the SAS report, but the excel sheet headings are 2014, 2014, 2014 (see screenshot). I even tried running the solution and it was still incorrect. I am running this in SAS EG 7.1&amp;nbsp;&amp;nbsp;with SAS 9.4 (9.0401M2). I'm not sure what the problem is, it may be an update is needed? The data is correct, just the headings are wrong.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;p106p01.sas:&lt;/P&gt;&lt;P&gt;---------------------------------------------------------&lt;/P&gt;&lt;P&gt;ods excel file="&amp;amp;outpath/StormStats.xlsx"&lt;BR /&gt;style=snow&lt;BR /&gt;options(sheet_name='South Pacific Summary');&lt;BR /&gt;ods noproctitle;&lt;/P&gt;&lt;P&gt;proc means data=pg1.storm_detail maxdec=0 median max;&lt;BR /&gt;class Season;&lt;BR /&gt;var Wind;&lt;BR /&gt;where Basin='SP' and Season in (2014,2015,2016);&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;ods excel options(sheet_name='Detail');&lt;/P&gt;&lt;P&gt;proc print data=pg1.storm_detail noobs;&lt;BR /&gt;where Basin='SP' and Season in (2014,2015,2016);&lt;BR /&gt;by Season;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;ods excel close;&lt;BR /&gt;ods proctitle;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Dec 2018 19:30:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/SAS-Programming-1-Lesson-6-Practice-p01/m-p/520115#M138</guid>
      <dc:creator>ActuaryJo</dc:creator>
      <dc:date>2018-12-10T19:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Programming 1, Lesson 6, Practice p01</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/SAS-Programming-1-Lesson-6-Practice-p01/m-p/520131#M139</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/153972"&gt;@ActuaryJo&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I just ran the solution and it worked fine for me. Perhaps restarting your SAS session will help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best wishes,&lt;/P&gt;
&lt;P&gt;Jeff&lt;/P&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/51161"&gt;@JBailey&lt;/a&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Dec 2018 20:19:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/SAS-Programming-1-Lesson-6-Practice-p01/m-p/520131#M139</guid>
      <dc:creator>JBailey</dc:creator>
      <dc:date>2018-12-10T20:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Programming 1, Lesson 6, Practice p01</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/SAS-Programming-1-Lesson-6-Practice-p01/m-p/520414#M140</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried it several different times to see if it was just a fluke, it doesn't seem to be the session. It produces the correct Season headers in the SAS report, just not in the excel. The code I posted is the solution, so I'm not surprised it works. A friend going through the course with me is using the University Edition and has no problem either.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I appreciate the suggestion though, worth trying for sure!&lt;/P&gt;</description>
      <pubDate>Tue, 11 Dec 2018 15:55:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/SAS-Programming-1-Lesson-6-Practice-p01/m-p/520414#M140</guid>
      <dc:creator>ActuaryJo</dc:creator>
      <dc:date>2018-12-11T15:55:35Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Programming 1, Lesson 6, Practice p01</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/SAS-Programming-1-Lesson-6-Practice-p01/m-p/520899#M141</link>
      <description>&lt;P&gt;Hm that is weird. I took your code and tested it and it works for me. I even check the first few rows for each year in your workbook and they look accurate. The by statement in the frequency procedures is working. Why your titles aren't changing I am not sure of yet.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do me a favor and check your SAS output not the Excel file. How does it look in your results tab? You should see the year breaks like this:&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" image-alt="test.png" style="width: 429px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/25635i36670657078D0475/image-dimensions/429x104?v=v2" width="429" height="104" role="button" title="test.png" alt="test.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Dec 2018 16:42:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/SAS-Programming-1-Lesson-6-Practice-p01/m-p/520899#M141</guid>
      <dc:creator>Panagiotis</dc:creator>
      <dc:date>2018-12-12T16:42:59Z</dc:date>
    </item>
  </channel>
</rss>

