<?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: Error running this code on SAS elearning platform in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Error-running-this-code-on-SAS-elearning-platform/m-p/568515#M160041</link>
    <description>Which course is this? Not seeing it in the Programming 1 course, so I'm assuming it's a different one?</description>
    <pubDate>Mon, 24 Jun 2019 19:30:12 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2019-06-24T19:30:12Z</dc:date>
    <item>
      <title>Error running this code on SAS elearning platform</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-running-this-code-on-SAS-elearning-platform/m-p/568458#M160022</link>
      <description>&lt;P&gt;Running the SAS code below generates this error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR 22-322: Syntax error, expecting one of the following: a name, a quoted string,&lt;/P&gt;&lt;P&gt;a numeric constant, a datetime constant, a missing value, INPUT, PUT.&lt;/P&gt;&lt;P&gt;30 run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SAS Code:&lt;/P&gt;&lt;P&gt;/*use the COMPBL function to read Location and convert each occurrence of two or more consecutive blanks into a single blank*/&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; weather_japan_clean;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;set&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; pg2.weather_japan;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NewLocation=compbl(Location);&lt;/P&gt;&lt;P&gt;NewStation= ;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This can be found as a response to Lesson 3 &amp;gt;&amp;nbsp;Using Character Functions &amp;gt; Activity &amp;gt; 1.&lt;/P&gt;&lt;P&gt;Kindly review and assist provide correct response&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2019 18:33:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-running-this-code-on-SAS-elearning-platform/m-p/568458#M160022</guid>
      <dc:creator>Jukon2</dc:creator>
      <dc:date>2019-06-24T18:33:23Z</dc:date>
    </item>
    <item>
      <title>Re: Error running this code on SAS elearning platform</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-running-this-code-on-SAS-elearning-platform/m-p/568477#M160025</link>
      <description>&lt;P&gt;Please post the exact log. That will often include more information about exactly where the error is. It usually includes a line and column number in fact that lets you start to figure out where the error may be.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/246203"&gt;@Jukon2&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Running the SAS code below generates this error:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ERROR 22-322: Syntax error, expecting one of the following: a name, a quoted string,&lt;/P&gt;
&lt;P&gt;a numeric constant, a datetime constant, a missing value, INPUT, PUT.&lt;/P&gt;
&lt;P&gt;30 run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SAS Code:&lt;/P&gt;
&lt;P&gt;/*use the COMPBL function to read Location and convert each occurrence of two or more consecutive blanks into a single blank*/&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#000080"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; weather_japan_clean;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;set&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; pg2.weather_japan;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NewLocation=compbl(Location);&lt;/P&gt;
&lt;P&gt;NewStation= ;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#000080"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This can be found as a response to Lesson 3 &amp;gt;&amp;nbsp;Using Character Functions &amp;gt; Activity &amp;gt; 1.&lt;/P&gt;
&lt;P&gt;Kindly review and assist provide correct response&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2019 18:40:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-running-this-code-on-SAS-elearning-platform/m-p/568477#M160025</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-06-24T18:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: Error running this code on SAS elearning platform</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-running-this-code-on-SAS-elearning-platform/m-p/568478#M160026</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;NewStation= ;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;This is invalid code. You have to supply an expression on the right side of the equal sign. Even if you want it to be a missing value.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2019 18:40:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-running-this-code-on-SAS-elearning-platform/m-p/568478#M160026</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-06-24T18:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: Error running this code on SAS elearning platform</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-running-this-code-on-SAS-elearning-platform/m-p/568483#M160028</link>
      <description>&lt;P&gt;I agree with you but this is how it was provided on the elearning platform as a response to one of the activity questions.&lt;/P&gt;&lt;P&gt;I've reached out to their customer service and hope to get a response?&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2019 18:48:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-running-this-code-on-SAS-elearning-platform/m-p/568483#M160028</guid>
      <dc:creator>Jukon2</dc:creator>
      <dc:date>2019-06-24T18:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: Error running this code on SAS elearning platform</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-running-this-code-on-SAS-elearning-platform/m-p/568489#M160029</link>
      <description>I would expect that to be the exercise, where you would then fill in the code for that line. If it's being shown as a solution, it would be wrong.</description>
      <pubDate>Mon, 24 Jun 2019 18:55:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-running-this-code-on-SAS-elearning-platform/m-p/568489#M160029</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-06-24T18:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: Error running this code on SAS elearning platform</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-running-this-code-on-SAS-elearning-platform/m-p/568491#M160031</link>
      <description>&lt;P&gt;Please copy/paste the question and code here, so we can have a look.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2019 18:56:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-running-this-code-on-SAS-elearning-platform/m-p/568491#M160031</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-06-24T18:56:23Z</dc:date>
    </item>
    <item>
      <title>Re: Error running this code on SAS elearning platform</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-running-this-code-on-SAS-elearning-platform/m-p/568492#M160032</link>
      <description>Nope. this is not an exercise please. It is an answer to a question by the instructor. Still the instructor to look into this.</description>
      <pubDate>Mon, 24 Jun 2019 18:58:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-running-this-code-on-SAS-elearning-platform/m-p/568492#M160032</guid>
      <dc:creator>Jukon2</dc:creator>
      <dc:date>2019-06-24T18:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: Error running this code on SAS elearning platform</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-running-this-code-on-SAS-elearning-platform/m-p/568494#M160033</link>
      <description>&lt;P&gt;If this is an actual answer from your instructor, you need to get a new instructor. This one's broken &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2019 19:00:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-running-this-code-on-SAS-elearning-platform/m-p/568494#M160033</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-06-24T19:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: Error running this code on SAS elearning platform</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-running-this-code-on-SAS-elearning-platform/m-p/568495#M160034</link>
      <description>&lt;P&gt;Please find question and answer below.&lt;/P&gt;&lt;P&gt;Open &lt;STRONG&gt;p203a06.sas&lt;/STRONG&gt; from the &lt;STRONG&gt;activities&lt;/STRONG&gt; folder and perform the following tasks:&lt;/P&gt;&lt;P&gt;&lt;!--   InstanceEndEditable   --&gt;&lt;!--   InstanceBeginEditable name=&amp;amp;quot;QA1&amp;amp;quot;   --&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="question"&gt;&lt;UL&gt;&lt;LI&gt;Complete the &lt;STRONG&gt;NewLocation&lt;/STRONG&gt; assignment statement to use the COMPBL function to read &lt;STRONG&gt;Location&lt;/STRONG&gt; and convert each occurrence of two or more consecutive blanks into a single blank.&lt;/LI&gt;&lt;/UL&gt;&lt;/DIV&gt;&lt;DIV class="answer"&gt;&lt;PRE&gt;data weather_japan_clean;
    set pg2.weather_japan;
    NewLocation=&lt;SPAN class="hilight"&gt;compbl(Location)&lt;/SPAN&gt;;
    NewStation= ;
run;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;It will be nice to put ' ' in that space but I can't tell what the instructor was trying to depict or explain further. Thanks anyway.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2019 19:01:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-running-this-code-on-SAS-elearning-platform/m-p/568495#M160034</guid>
      <dc:creator>Jukon2</dc:creator>
      <dc:date>2019-06-24T19:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: Error running this code on SAS elearning platform</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-running-this-code-on-SAS-elearning-platform/m-p/568515#M160041</link>
      <description>Which course is this? Not seeing it in the Programming 1 course, so I'm assuming it's a different one?</description>
      <pubDate>Mon, 24 Jun 2019 19:30:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-running-this-code-on-SAS-elearning-platform/m-p/568515#M160041</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-06-24T19:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: Error running this code on SAS elearning platform</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-running-this-code-on-SAS-elearning-platform/m-p/568532#M160055</link>
      <description>&lt;P&gt;Data manipulation Techniques&lt;/P&gt;&lt;P&gt;Lesson 3 &amp;gt;&amp;nbsp;Using Character Functions &amp;gt; Activity &amp;gt; 1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kindly review and assist provide correct response&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SAS Code:&lt;/P&gt;&lt;P&gt;/*use the COMPBL function to read Location and convert each occurrence of two or more consecutive blanks into a single blank*/&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; weather_japan_clean;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;set&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; pg2.weather_japan;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NewLocation=compbl(Location);&lt;/P&gt;&lt;P&gt;NewStation= ;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This can be found as a response to Lesson 3 &amp;gt;&amp;nbsp;Using Character Functions &amp;gt; Activity &amp;gt; 1.&lt;/P&gt;&lt;P&gt;Kindly review and assist provide correct response&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2019 20:25:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-running-this-code-on-SAS-elearning-platform/m-p/568532#M160055</guid>
      <dc:creator>Jukon2</dc:creator>
      <dc:date>2019-06-24T20:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: Error running this code on SAS elearning platform</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-running-this-code-on-SAS-elearning-platform/m-p/568534#M160056</link>
      <description>You'll have to wait for SAS Learning to respond, most people won't have access to the course. You've already mentioned that you've contacted them, so that's the best course at the moment. FYI - the courses have been recently re-designed so it's definitely possible there's bugs in them still.</description>
      <pubDate>Mon, 24 Jun 2019 20:28:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-running-this-code-on-SAS-elearning-platform/m-p/568534#M160056</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-06-24T20:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: Error running this code on SAS elearning platform</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-running-this-code-on-SAS-elearning-platform/m-p/568543#M160062</link>
      <description>&lt;P&gt;Most probably!. Thanks for responding.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2019 20:35:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-running-this-code-on-SAS-elearning-platform/m-p/568543#M160062</guid>
      <dc:creator>Jukon2</dc:creator>
      <dc:date>2019-06-24T20:35:25Z</dc:date>
    </item>
  </channel>
</rss>

