<?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: Function SUM requires a numeric expression as argument 1. in Programming 1 and 2</title>
    <link>https://communities.sas.com/t5/Programming-1-and-2/Function-SUM-requires-a-numeric-expression-as-argument-1/m-p/954697#M1508</link>
    <description>&lt;P&gt;Your code is the same but your input data isn't. Run this step on both yours and your co-workers dataset and compare the logs and the Output window results:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc contents data = work.last_pay_period;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;:&lt;/P&gt;</description>
    <pubDate>Fri, 27 Dec 2024 20:19:40 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2024-12-27T20:19:40Z</dc:date>
    <item>
      <title>Function SUM requires a numeric expression as argument 1.</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/Function-SUM-requires-a-numeric-expression-as-argument-1/m-p/954692#M1504</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Proglegs_0-1735318357948.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/103389i9F70CA33BA24E1E1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Proglegs_0-1735318357948.png" alt="Proglegs_0-1735318357948.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Dec 2024 16:53:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/Function-SUM-requires-a-numeric-expression-as-argument-1/m-p/954692#M1504</guid>
      <dc:creator>Proglegs</dc:creator>
      <dc:date>2024-12-27T16:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: Function SUM requires a numeric expression as argument 1.</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/Function-SUM-requires-a-numeric-expression-as-argument-1/m-p/954693#M1505</link>
      <description>&lt;P&gt;variables you are using are not numeric... because they do not exist in the dataset...&lt;/P&gt;</description>
      <pubDate>Fri, 27 Dec 2024 17:57:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/Function-SUM-requires-a-numeric-expression-as-argument-1/m-p/954693#M1505</guid>
      <dc:creator>yabwon</dc:creator>
      <dc:date>2024-12-27T17:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: Function SUM requires a numeric expression as argument 1.</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/Function-SUM-requires-a-numeric-expression-as-argument-1/m-p/954694#M1506</link>
      <description>&lt;P&gt;The last of those errors is the most important in this case.&amp;nbsp; Basically is says that the three variables you are trying to SUM do not exist on the dataset you are using.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You either have the wrong dataset or the wrong variable names.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Dec 2024 17:35:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/Function-SUM-requires-a-numeric-expression-as-argument-1/m-p/954694#M1506</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2024-12-27T17:35:00Z</dc:date>
    </item>
    <item>
      <title>Re: Function SUM requires a numeric expression as argument 1.</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/Function-SUM-requires-a-numeric-expression-as-argument-1/m-p/954696#M1507</link>
      <description>&lt;P&gt;I am looking at the log of my co-worker.&amp;nbsp; They did not get an error.&amp;nbsp; Same code.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Proglegs_0-1735326125777.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/103390i7765F0D3AEAB616F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Proglegs_0-1735326125777.png" alt="Proglegs_0-1735326125777.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Dec 2024 19:02:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/Function-SUM-requires-a-numeric-expression-as-argument-1/m-p/954696#M1507</guid>
      <dc:creator>Proglegs</dc:creator>
      <dc:date>2024-12-27T19:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: Function SUM requires a numeric expression as argument 1.</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/Function-SUM-requires-a-numeric-expression-as-argument-1/m-p/954697#M1508</link>
      <description>&lt;P&gt;Your code is the same but your input data isn't. Run this step on both yours and your co-workers dataset and compare the logs and the Output window results:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc contents data = work.last_pay_period;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;:&lt;/P&gt;</description>
      <pubDate>Fri, 27 Dec 2024 20:19:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/Function-SUM-requires-a-numeric-expression-as-argument-1/m-p/954697#M1508</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2024-12-27T20:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: Function SUM requires a numeric expression as argument 1.</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/Function-SUM-requires-a-numeric-expression-as-argument-1/m-p/954714#M1511</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/305970"&gt;@Proglegs&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I am looking at the log of my co-worker.&amp;nbsp; They did not get an error.&amp;nbsp; Same code.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Proglegs_0-1735326125777.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/103390i7765F0D3AEAB616F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Proglegs_0-1735326125777.png" alt="Proglegs_0-1735326125777.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Same code, different data.&lt;/P&gt;</description>
      <pubDate>Sat, 28 Dec 2024 17:05:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/Function-SUM-requires-a-numeric-expression-as-argument-1/m-p/954714#M1511</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2024-12-28T17:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: Function SUM requires a numeric expression as argument 1.</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/Function-SUM-requires-a-numeric-expression-as-argument-1/m-p/954716#M1512</link>
      <description>&lt;P&gt;Since both pictures you posted show the use of WORK datasets then they are by definition reading from different datasets.&amp;nbsp; The WORK library is separate for each SAS process.&lt;/P&gt;</description>
      <pubDate>Sat, 28 Dec 2024 18:25:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/Function-SUM-requires-a-numeric-expression-as-argument-1/m-p/954716#M1512</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2024-12-28T18:25:34Z</dc:date>
    </item>
  </channel>
</rss>

