<?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: Analytics &amp;amp; Programming in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Re-Analytics-amp-Programming/m-p/637993#M21520</link>
    <description>&lt;P&gt;You really need to take more care in reading our answers to your posts and doing what we ask you to do.&lt;/P&gt;
&lt;P&gt;You were asked to&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;post the WHOLE &lt;U&gt;LOG&lt;/U&gt; of the WHOLE step; this includes the line numbers SAS reports&lt;/LI&gt;
&lt;LI&gt;to use the &amp;lt;/&amp;gt; button to open a window for posting such text; it's here:&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bildschirmfoto 2020-04-07 um 08.32.59.png"&gt;&lt;img src="https://communities.sas.com/skins/images/8D8B612AA6AB1DC7E9A0812281D56E02/responsive_peak/images/image_not_found.png" alt="Bildschirmfoto 2020-04-07 um 08.32.59.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
    <pubDate>Tue, 07 Apr 2020 06:38:00 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2020-04-07T06:38:00Z</dc:date>
    <item>
      <title>Re: Analytics &amp; Programming</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Re-Analytics-amp-Programming/m-p/637980#M21513</link>
      <description>&lt;P&gt;Hello, I'm working on the same question posted on this page.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Programming/Analytics-amp-Programming/m-p/616734/highlight/false#M180603" target="_blank"&gt;https://communities.sas.com/t5/SAS-Programming/Analytics-amp-Programming/m-p/616734/highlight/false#M180603&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I've ran the code and I keep receiving the same error code. I need help being pointed in the right direction.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;DATA WORK.BAKERYSALES ;&lt;BR /&gt;INFILE '/home/emilymoore20/EPG194/output/myTestFolder/BSA570v4_Week4_assignment_data.txt' DELIMITER = '|' MISSOVER DSD LRECL=32767 FIRSTOBS=2 ;&lt;BR /&gt;/* INFORMAT statements do what? sales, month, subtotals, grand total */&lt;BR /&gt;INFORMAT strDate $30. ;&lt;BR /&gt;INFORMAT product best32. ;&lt;BR /&gt;INFORMAT sales nlnum32. ;&lt;BR /&gt;/* FORMAT statements do what? dates */&lt;BR /&gt;FORMAT strDate $30. ;&lt;BR /&gt;FORMAT product best12. ;&lt;BR /&gt;FORMAT sales nlnum12. ;&lt;BR /&gt;INPUT&lt;BR /&gt;strDate $&lt;BR /&gt;product&lt;BR /&gt;sales&lt;BR /&gt;;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Apr 2020 02:49:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Re-Analytics-amp-Programming/m-p/637980#M21513</guid>
      <dc:creator>JDRII</dc:creator>
      <dc:date>2020-04-07T02:49:50Z</dc:date>
    </item>
    <item>
      <title>Re: Analytics &amp; Programming</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Re-Analytics-amp-Programming/m-p/637983#M21514</link>
      <description>&lt;P&gt;Are we supposed to guess what the error you keep getting is?&amp;nbsp; or did you plan to tell us?&lt;/P&gt;
&lt;P&gt;Copy the lines from the SAS log for the whole data step including the error messages.&amp;nbsp; Remember to click on the Insert Code button on the editor menu (looks like &amp;lt; / &amp;gt; ) and paste the lines into the pop-up that appears.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Apr 2020 02:51:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Re-Analytics-amp-Programming/m-p/637983#M21514</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2020-04-07T02:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: Analytics &amp; Programming</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Re-Analytics-amp-Programming/m-p/637984#M21515</link>
      <description>&lt;P&gt;The error I keeping getting is there 1 unclosed DO block&lt;/P&gt;</description>
      <pubDate>Tue, 07 Apr 2020 02:54:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Re-Analytics-amp-Programming/m-p/637984#M21515</guid>
      <dc:creator>JDRII</dc:creator>
      <dc:date>2020-04-07T02:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: Analytics &amp; Programming</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Re-Analytics-amp-Programming/m-p/637985#M21516</link>
      <description>&lt;P&gt;DO&lt;BR /&gt;date3 = SUBSTR(strDate, dateCommaFinder+2);&lt;BR /&gt;dateSpaceFinder=INDEX(date3, ' ');&lt;BR /&gt;month = SUBSTR(date3, 1, dateSpaceFinder);&lt;BR /&gt;SELECT (month);&lt;BR /&gt;WHEN ('January') mnth=01;&lt;BR /&gt;WHEN ('February') mnth=02;&lt;BR /&gt;WHEN ('March') mnth=03;&lt;BR /&gt;WHEN ('April') mnth=04;&lt;BR /&gt;WHEN ('May') mnth=05;&lt;BR /&gt;WHEN ('June') mnth=06;&lt;BR /&gt;WHEN ('July') mnth=07;&lt;BR /&gt;WHEN ('August') mnth=08;&lt;BR /&gt;WHEN ('September') mnth=09;&lt;BR /&gt;WHEN ('October') mnth=10;&lt;BR /&gt;WHEN ('November') mnth=11;&lt;BR /&gt;WHEN ('December') mnth=12;&lt;BR /&gt;OTHERWISE mnth=.;&lt;BR /&gt;END;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Apr 2020 03:00:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Re-Analytics-amp-Programming/m-p/637985#M21516</guid>
      <dc:creator>JDRII</dc:creator>
      <dc:date>2020-04-07T03:00:34Z</dc:date>
    </item>
    <item>
      <title>Re: Analytics &amp; Programming</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Re-Analytics-amp-Programming/m-p/637986#M21517</link>
      <description>&lt;P&gt;You are missing a semicolon on the DO statement.&lt;/P&gt;
&lt;P&gt;The END at the end closes the select group, you need another END statement after that to close the DO group.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Apr 2020 03:10:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Re-Analytics-amp-Programming/m-p/637986#M21517</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2020-04-07T03:10:41Z</dc:date>
    </item>
    <item>
      <title>Re: Analytics &amp; Programming</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Re-Analytics-amp-Programming/m-p/637993#M21520</link>
      <description>&lt;P&gt;You really need to take more care in reading our answers to your posts and doing what we ask you to do.&lt;/P&gt;
&lt;P&gt;You were asked to&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;post the WHOLE &lt;U&gt;LOG&lt;/U&gt; of the WHOLE step; this includes the line numbers SAS reports&lt;/LI&gt;
&lt;LI&gt;to use the &amp;lt;/&amp;gt; button to open a window for posting such text; it's here:&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bildschirmfoto 2020-04-07 um 08.32.59.png"&gt;&lt;img src="https://communities.sas.com/skins/images/8D8B612AA6AB1DC7E9A0812281D56E02/responsive_peak/images/image_not_found.png" alt="Bildschirmfoto 2020-04-07 um 08.32.59.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Tue, 07 Apr 2020 06:38:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Re-Analytics-amp-Programming/m-p/637993#M21520</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-04-07T06:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: Analytics &amp; Programming</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Re-Analytics-amp-Programming/m-p/638004#M21522</link>
      <description>&lt;P&gt;And if you need to solve the same homework assignment that was mentioned in the original thread, then you should first let us know &lt;EM&gt;your&lt;/EM&gt; answers. We can then offer corrections if we find mistakes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that the code as posted in this thread is syntactically complete and correct. You need to copy/paste it as is to run it successfully.&lt;/P&gt;
&lt;P&gt;Correction: this is not true. Both DO statements miss a semicolon.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Apr 2020 11:55:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Re-Analytics-amp-Programming/m-p/638004#M21522</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-04-07T11:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: Analytics &amp; Programming</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Re-Analytics-amp-Programming/m-p/638024#M21523</link>
      <description>&lt;PRE&gt;DATA new;
SET bakerysales;
dateSlashFinder=FIND(strDate,"/");
dateCommaFinder=INDEX(strDate, ',');
FORMAT productSales COMMA20.;
FORMAT productName $30.;
FORMAT date MMDDYY10.;
/* REPLACE THIS COMMENT TEXT TO ANSWER THE QUESTION: What is the if/else statement accomplishing? Your answer should be specific and complete, and describe (among other things) the purpose of the DO loop.*/
IF dateCommaFinder = 0 THEN 
	DO 
	    date = input(strDate,MMDDYY10.);
	    FORMAT date MMDDYY10.;	
        day = day(date);
        mnth=month(date);
        year=year(date);
	END;&lt;/PRE&gt;</description>
      <pubDate>Tue, 07 Apr 2020 11:36:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Re-Analytics-amp-Programming/m-p/638024#M21523</guid>
      <dc:creator>JDRII</dc:creator>
      <dc:date>2020-04-07T11:36:27Z</dc:date>
    </item>
  </channel>
</rss>

