<?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: Why am I getting the errors? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-solve-the-errors/m-p/536122#M147309</link>
    <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/257739"&gt;@mdoddala&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please don't post the same question twice.&lt;/P&gt;
&lt;P&gt;Answers here:&amp;nbsp;&lt;A href="https://communities.sas.com/t5/SAS-Programming/How-do-I-solve-the-errors/m-p/536113#M147292&amp;nbsp;" target="_blank"&gt;https://communities.sas.com/t5/SAS-Programming/How-do-I-solve-the-errors/m-p/536113#M147292&amp;nbsp;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I suggest you delete your post here.&lt;/P&gt;</description>
    <pubDate>Sat, 16 Feb 2019 05:56:16 GMT</pubDate>
    <dc:creator>Patrick</dc:creator>
    <dc:date>2019-02-16T05:56:16Z</dc:date>
    <item>
      <title>How do I solve the errors?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-solve-the-errors/m-p/536113#M147292</link>
      <description>&lt;PRE&gt;libname clinic '/home/mdoddala0';&lt;BR /&gt;data clinic.admit7;&lt;BR /&gt; set clinic.weightclub;&lt;BR /&gt; proc tabulate data=clinic.admit7;&lt;BR /&gt; class team;&lt;BR /&gt;var startweight endweight;&lt;BR /&gt;table team*(startweight endweight),mean;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;run; &lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the code to create the weightclub dataset&lt;/P&gt;&lt;P&gt;input IdNumber 1-4 Name $6-20 Team $22-27 StartWeight 29-31 EndWeight 33-35;&lt;BR /&gt;Loss=StartWeight-EndWeight;&lt;BR /&gt;cards;&lt;BR /&gt;1023 David Shaw red 189 165&lt;BR /&gt;1049 Amelia Serrano yellow 145 124&lt;BR /&gt;1219 Alan Nance red 210 192&lt;BR /&gt;1246 Ravi Sinha yellow 194 177&lt;BR /&gt;1078 Ashley McKnight red 127 118&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Feb 2019 03:37:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-solve-the-errors/m-p/536113#M147292</guid>
      <dc:creator>mdoddala</dc:creator>
      <dc:date>2019-02-16T03:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: How do I solve the errors?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-solve-the-errors/m-p/536114#M147293</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try this&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;proc tabulate data=clinic.admit7;&lt;BR /&gt; class team;&lt;BR /&gt;var startweight endweight;&lt;BR /&gt;table team,(startweight endweight)*mean;&lt;BR /&gt;run;&lt;/PRE&gt;</description>
      <pubDate>Sat, 16 Feb 2019 03:41:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-solve-the-errors/m-p/536114#M147293</guid>
      <dc:creator>stat_sas</dc:creator>
      <dc:date>2019-02-16T03:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: How do I solve the errors?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-solve-the-errors/m-p/536116#M147294</link>
      <description>&lt;P&gt;still getting the errors:(&lt;/P&gt;&lt;DIV class="dijitBorderContainer-child dijitBorderContainer-dijitTitlePane dijitBorderContainerPane dijitAlignTop dijitTitlePane"&gt;&lt;DIV class="dijitTitlePaneContentOuter sasLogTOC sasTOCDropDown"&gt;&lt;DIV class="dijitReset"&gt;&lt;DIV class="dijitTitlePaneContentInner"&gt;&lt;DIV class="dojoDndContainer dijitTree"&gt;&lt;DIV class="dijitTreeContainer"&gt;&lt;DIV class="dijitTreeIsRoot dijitTreeNode dijitTreeNodeLoaded dijitLoaded"&gt;&lt;DIV class="dijitTreeNodeContainer"&gt;&lt;DIV class="dijitTreeIsRoot dijitTreeNode dijitTreeNodeLoaded dijitLoaded"&gt;&lt;DIV class="dijitTreeRow dijitTreeRowSelected"&gt;&lt;SPAN class="dijitTreeContent dijitTreeContentExpanded"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="dijitTreeLabel"&gt;Errors (2)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="dijitTreeNodeContainer"&gt;&lt;DIV class="dijitTreeNode dijitTreeNodeNotLoaded dijitNotLoaded"&gt;&lt;DIV class="dijitTreeRow"&gt;&lt;SPAN class="dijitTreeContent"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="dijitTreeLabel sasError"&gt;ERROR: Variable StartWeight in list does not match type prescribed for this list.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="dijitTreeIsLast dijitTreeNode dijitTreeNodeNotLoaded dijitNotLoaded"&gt;&lt;DIV class="dijitTreeRow"&gt;&lt;SPAN class="dijitTreeContent"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="dijitTreeLabel sasError"&gt;ERROR: Variable EndWeight in list does not match type prescribed for this list.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="dijitTreeIsRoot dijitTreeNode dijitTreeNodeNotLoaded dijitNotLoaded"&gt;&lt;DIV class="dijitTreeRow"&gt;&lt;SPAN class="dijitTreeContent"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="dijitTreeLabel"&gt;Warnings&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="dijitTreeIsRoot dijitTreeNode dijitTreeNodeNotLoaded dijitNotLoaded"&gt;&lt;DIV class="dijitTreeRow"&gt;&lt;SPAN class="dijitTreeContent"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="dijitTreeLabel"&gt;Notes (7)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="dijitBorderContainer dijitContainer dijitBorderContainer-child dijitBorderContainer-dijitBorderContainer dijitBorderContainerPane dijitAlignCenter dijitLayoutContainer"&gt;&lt;DIV class="dijitContentPane dijitBorderContainer-child dijitBorderContainer-dijitContentPane dijitBorderContainerPane dijitAlignCenter"&gt;&lt;DIV&gt;&lt;DIV class="sasSource"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;70&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;71 libname clinic '/home/mdoddala0';&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;NOTE: Libref CLINIC refers to the same physical library as KRRISH.&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;NOTE: Libref CLINIC was successfully assigned as follows:&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;Engine: V9&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;Physical Name: /home/mdoddala0&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;72 data clinic.admit7;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;73 set clinic.weightclub;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;NOTE: There were 5 observations read from the data set CLINIC.WEIGHTCLUB.&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;NOTE: The data set CLINIC.ADMIT7 has 5 observations and 6 variables.&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;NOTE: DATA statement used (Total process time):&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;real time 0.02 seconds&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;user cpu time 0.00 seconds&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;system cpu time 0.00 seconds&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;memory 799.53k&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;OS Memory 29100.00k&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;Timestamp 02/16/2019 04:09:31 AM&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;Step Count 115 Switch Count 3&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;Page Faults 0&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;Page Reclaims 181&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;Page Swaps 0&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;Voluntary Context Switches 46&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;Involuntary Context Switches 0&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;Block Input Operations 0&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;Block Output Operations 264&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;74 proc tabulate data=clinic.admit7;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;75 class team;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;76 var startweight endweight;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;ERROR: Variable StartWeight in list does not match type prescribed for this list.&lt;/DIV&gt;&lt;DIV class="sasError"&gt;ERROR: Variable EndWeight in list does not match type prescribed for this list.&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;77 table team,(startweight endweight)*mean;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;78 run;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;NOTE: PROCEDURE TABULATE used (Total process time):&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;real time 0.00 seconds&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;user cpu time 0.00 seconds&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;system cpu time 0.00 seconds&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;memory 388.37k&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;OS Memory 28840.00k&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;Timestamp 02/16/2019 04:09:31 AM&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;Step Count 116 Switch Count 0&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;Page Faults 0&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;Page Reclaims 60&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;Page Swaps 0&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;Voluntary Context Switches 9&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;Involuntary Context Switches 0&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;Block Input Operations 288&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;Block Output Operations 0&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 16 Feb 2019 04:19:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-solve-the-errors/m-p/536116#M147294</guid>
      <dc:creator>mdoddala</dc:creator>
      <dc:date>2019-02-16T04:19:44Z</dc:date>
    </item>
    <item>
      <title>Why am I getting the errors?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-solve-the-errors/m-p/536119#M147308</link>
      <description>&lt;PRE&gt;libname clinic '/home/mdoddala0';&lt;BR /&gt;data clinic.admit7;&lt;BR /&gt; set clinic.weightclub;&lt;BR /&gt; proc tabulate data=clinic.admit7;&lt;BR /&gt; class team;&lt;BR /&gt;var StartWeight EndWeight;&lt;BR /&gt;table team,(StartWeight EndWeight)*mean;&lt;BR /&gt;run;&lt;/PRE&gt;&lt;PRE&gt;data weightclub; &lt;BR /&gt;input IdNumber 1-4 Name  $6-20 Team $22-27 StartWeight  29-31 EndWeight 33-35; &lt;BR /&gt;Loss=StartWeight-EndWeight;&lt;BR /&gt;cards; &lt;BR /&gt;1023 David Shaw      red    189 165 &lt;BR /&gt;1049 Amelia Serrano  yellow 145 124 &lt;BR /&gt;1219 Alan Nance      red    210 192 &lt;BR /&gt;1246 Ravi Sinha      yellow 194 177 &lt;BR /&gt;1078 Ashley McKnight red    127 118 &lt;BR /&gt;; &lt;BR /&gt;run&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Feb 2019 05:41:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-solve-the-errors/m-p/536119#M147308</guid>
      <dc:creator>mdoddala</dc:creator>
      <dc:date>2019-02-16T05:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting the errors?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-solve-the-errors/m-p/536122#M147309</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/257739"&gt;@mdoddala&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please don't post the same question twice.&lt;/P&gt;
&lt;P&gt;Answers here:&amp;nbsp;&lt;A href="https://communities.sas.com/t5/SAS-Programming/How-do-I-solve-the-errors/m-p/536113#M147292&amp;nbsp;" target="_blank"&gt;https://communities.sas.com/t5/SAS-Programming/How-do-I-solve-the-errors/m-p/536113#M147292&amp;nbsp;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I suggest you delete your post here.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Feb 2019 05:56:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-solve-the-errors/m-p/536122#M147309</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2019-02-16T05:56:16Z</dc:date>
    </item>
    <item>
      <title>Re: How do I solve the errors?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-solve-the-errors/m-p/536123#M147298</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/257739"&gt;@mdoddala&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A SAS data step must end with a RUN; command. Look at the code you've posted. Something is off there.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Feb 2019 05:58:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-solve-the-errors/m-p/536123#M147298</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2019-02-16T05:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting the errors?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-solve-the-errors/m-p/536124#M147310</link>
      <description>&lt;P&gt;I couldn't find an option to delete&lt;/P&gt;</description>
      <pubDate>Sat, 16 Feb 2019 06:01:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-solve-the-errors/m-p/536124#M147310</guid>
      <dc:creator>mdoddala</dc:creator>
      <dc:date>2019-02-16T06:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: How do I solve the errors?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-solve-the-errors/m-p/536125#M147300</link>
      <description>&lt;P&gt;I think it ended with a run; statement&lt;/P&gt;</description>
      <pubDate>Sat, 16 Feb 2019 06:04:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-solve-the-errors/m-p/536125#M147300</guid>
      <dc:creator>mdoddala</dc:creator>
      <dc:date>2019-02-16T06:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: How do I solve the errors?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-solve-the-errors/m-p/536126#M147301</link>
      <description>This message means that StartWeight and EndWeight are not numeric variables... they are character.  The program you originally posted would have created them as numeric.  Somehow a different program created clinic.weightclub</description>
      <pubDate>Sat, 16 Feb 2019 06:05:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-solve-the-errors/m-p/536126#M147301</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2019-02-16T06:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting the errors?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-solve-the-errors/m-p/536131#M147311</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/257739"&gt;@mdoddala&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You as the poster of the question should have access to below menu:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 368px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/27214i546058B5CF39141E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Feb 2019 06:13:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-solve-the-errors/m-p/536131#M147311</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2019-02-16T06:13:42Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting the errors?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-solve-the-errors/m-p/536135#M147312</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/12447"&gt;@Patrick&lt;/a&gt;&amp;nbsp; Sir, this is what I'm seeing&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="delete.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/27215i8F27C027B2EF62C2/image-size/large?v=v2&amp;amp;px=999" role="button" title="delete.PNG" alt="delete.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Feb 2019 06:18:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-solve-the-errors/m-p/536135#M147312</guid>
      <dc:creator>mdoddala</dc:creator>
      <dc:date>2019-02-16T06:18:27Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting the errors?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-solve-the-errors/m-p/536138#M147313</link>
      <description>&lt;P&gt;ok - then I also don't know how you could delete the whole post. Just leave it then.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Feb 2019 06:34:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-solve-the-errors/m-p/536138#M147313</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2019-02-16T06:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting the errors?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-solve-the-errors/m-p/536140#M147314</link>
      <description>&lt;P&gt;Haha alright sorry for any inconvenience:(&lt;/P&gt;</description>
      <pubDate>Sat, 16 Feb 2019 06:36:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-solve-the-errors/m-p/536140#M147314</guid>
      <dc:creator>mdoddala</dc:creator>
      <dc:date>2019-02-16T06:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting the errors?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-solve-the-errors/m-p/536144#M147315</link>
      <description>&lt;P&gt;I merged the threads.&lt;/P&gt;
&lt;P&gt;Please do not double-post.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Feb 2019 08:51:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-solve-the-errors/m-p/536144#M147315</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-02-16T08:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: How do I solve the errors?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-solve-the-errors/m-p/536152#M147318</link>
      <description>&lt;P&gt;Back to your question after these&amp;nbsp;editorial exercises...&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;First: The data step you posted as source for data set weightclub produces numeric variables. So &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/4954"&gt;@Astounding&lt;/a&gt;&amp;nbsp;is right about the cause of your log errors: your input data was created by a different program. If you run the data step in your post from yesterday first and then the data/tablulate step, you don't get the errors.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Second: &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/42042"&gt;@stat_sas&lt;/a&gt;&amp;nbsp; pointed out that you should use a star instead of a comma in your Proc Tabulate.&lt;/P&gt;
&lt;P&gt;not:&amp;nbsp;table team,(StartWeight EndWeight),mean;&lt;/P&gt;
&lt;P&gt;but:&amp;nbsp;table team,(StartWeight EndWeight)*mean;&lt;/P&gt;
&lt;P&gt;The star gives you the wanted statistic, while the comma adds an extra dimension and produces 2 useless tables. But it works and does not cause errors in the log.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Third: As &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/12447"&gt;@Patrick&lt;/a&gt;&amp;nbsp;pointed out, you omitted a run statement before Proc Tabulate. Data steps and Proc steps are two different things, you cannot use a proc statement inside a data step, so you need to terminate the Data step before continuing your program with a Proc step. &lt;U&gt;Your run statement is terminating the Proc Tabulate step, not the Data step&lt;/U&gt;. However, any Proc xx or Data statement acts as an implicit termination of the preceding step, so this omission does not cause any errors, but is generally seen as sloppy coding.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Conclusion: Your program runs without errors, if you use the right input, But it needs the correction proposed by sas_stats to give the desired output. And please help yourself (and others reading your code) by always using an explicit step termination. Good luck with the weight club.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Feb 2019 12:02:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-solve-the-errors/m-p/536152#M147318</guid>
      <dc:creator>ErikLund_Jensen</dc:creator>
      <dc:date>2019-02-16T12:02:58Z</dc:date>
    </item>
    <item>
      <title>Re: How do I solve the errors?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-solve-the-errors/m-p/536174#M147321</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/12887"&gt;@ErikLund_Jensen&lt;/a&gt;&amp;nbsp;for your clear explanation:) I think I did the mistake and I was not connecting the right dataset. Thanks again for being patient with me! I'm a beginner programmer in SAS.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Feb 2019 18:54:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-solve-the-errors/m-p/536174#M147321</guid>
      <dc:creator>mdoddala</dc:creator>
      <dc:date>2019-02-16T18:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting the errors?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-solve-the-errors/m-p/536237#M147335</link>
      <description>&lt;P&gt;please mark you questions as solved to close the thread.&amp;nbsp; Be kind and do leave things behind.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 17 Feb 2019 13:23:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-solve-the-errors/m-p/536237#M147335</guid>
      <dc:creator>VDD</dc:creator>
      <dc:date>2019-02-17T13:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: How do I solve the errors?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-solve-the-errors/m-p/536241#M147336</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/257739"&gt;@mdoddala&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We all started as beginners, so don't let that trouble you. I know it is difficult, because SAS is not like other tools on your PC. SAS is old. A few core technologies may have survived, but SAS is probably the one and only end user tool that has been with us since data processing meant MVS systems with card punchers for input and line printers for output. I remember writing a SAS program when somebody came to tell me that Ronald Reagan had beaten Carter, and it is a marvel that a platform is still readily available to run that program today.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SAS was easier to learn in those days. In the beginning was the Data Step and a few procedures, but SAS evolved and expanded to cover new technologies. Display Manager came with CRT terminals, SAS Macro language arrived to add a scripting language to SAS, with relational databases came ODBC, SQL came as the new highlight of end-user query tools and was added to SAS also, New presentation technologies found their way into SAS with the Output Delivery System and so on. Now SAS VIYA has arrived and will over time relegate people like me to dinosaurs, but that is another story.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As an old SAS hand one had a lifetime to adopt to all these new possibilities, but a new user today will get the whole package with tools an tiers and metadata and what not. It is like a whole world of its own, and no single person can be an expert in all parts of it, but SAS version 9 is still based on the good old principles, the core is a batch system, and all SAS applications from Display Manager to SAS Studio are just interfaces that helps the user to write a program, submit it to processing in background and retrive the result.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This makes SAS stand apart from most applications that interact with a database. SAS does not handle transactions, but whole files and data sets, and this concept is difficult to comprehend for a Java or Visual Studio programmer. It is a different way of thinking, and an understanding of the concept of steps as separate blocks connected only via data files or -sets is necessary together with knowledge of the language elements and the way SAS handles a program, just as knowing the principles of boiling and roasting is essential to utilize an induction range.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A new user may find it difficult to get a starting point, but in my opinion the best way in is "&lt;STRONG&gt;The Little SAS Bok, a primer&lt;/STRONG&gt;". It is now in 5. edition and not so little anymore, but it takes you in hand and guides you all the way from a having a basic understanding to become a full fledged SAS programmer. This link gives an introduction to the book:&lt;BR /&gt;&lt;A href="https://www.sas.com/storefront/aux/en/splsb/65423_excerpt.pdf" target="_self"&gt;https://www.sas.com/storefront/aux/en/splsb/65423_excerpt.pdf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 17 Feb 2019 14:57:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-solve-the-errors/m-p/536241#M147336</guid>
      <dc:creator>ErikLund_Jensen</dc:creator>
      <dc:date>2019-02-17T14:57:02Z</dc:date>
    </item>
  </channel>
</rss>

