<?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: data compilation and execution in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/data-compilation-and-execution/m-p/524872#M142760</link>
    <description>&lt;P&gt;I suggest you start by trying to understand what a &lt;A href="https://en.m.wikipedia.org/wiki/Compiler" target="_blank"&gt;compiler&lt;/A&gt; is and what it does.&lt;/P&gt;
&lt;P&gt;Then the sentence "The data step is compiled in time from the text, while procedure steps use pre-compiled modules" will make sense to you.&lt;/P&gt;
&lt;P&gt;In the end, EVERYTHING that a computer does is done by feeding machine code to the CPU (the ALU is just a part of the CPU).&lt;/P&gt;</description>
    <pubDate>Sun, 06 Jan 2019 09:13:37 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2019-01-06T09:13:37Z</dc:date>
    <item>
      <title>data compilation and execution</title>
      <link>https://communities.sas.com/t5/SAS-Programming/data-compilation-and-execution/m-p/524861#M142756</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;for example ,when i write below code,&lt;/P&gt;&lt;P&gt;/*********pgm-1*************/&lt;/P&gt;&lt;P&gt;Data get_data;&lt;/P&gt;&lt;P&gt;var1=2+3;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;/*******pgm-2**************/&lt;/P&gt;&lt;P&gt;Data have_data;&lt;/P&gt;&lt;P&gt;set get_data;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;proc freq data=have_data;&lt;/P&gt;&lt;P&gt;table var1;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/****************************/&lt;/P&gt;&lt;P&gt;## i understand SAS is written in C and it compiles everything to Machine languages??. i don't understand what happens after that as below...&lt;/P&gt;&lt;P&gt;Q1: is the&amp;nbsp;ComputatIons in pgm-1 is done by SAS application(for example BASE SAS ,SAS EG etc) itself? for example in Microsoft excel 2+3=5 by itself&amp;nbsp; &amp;nbsp;or does it go to ALU in CPU in both Scenarios??&lt;/P&gt;&lt;P&gt;Q2: in pgm-2, because "get_data" is already a sas data set, does it have to go and come through ALU again(convert to binary) or SAS will understand it a just pulls by itself to create new data set??&lt;/P&gt;&lt;P&gt;Q3: is any computing done by SAS applications itself?&amp;nbsp; if not,&amp;nbsp;is SAS application just a interface between my data and Computer?&lt;/P&gt;&lt;P&gt;Q4: if not, whats the whole point of having an application if everything is thrown back to ALU?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i am new and i am curious.Please suggest.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank You,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 06 Jan 2019 04:05:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/data-compilation-and-execution/m-p/524861#M142756</guid>
      <dc:creator>himalayancat</dc:creator>
      <dc:date>2019-01-06T04:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: data compilation and execution</title>
      <link>https://communities.sas.com/t5/SAS-Programming/data-compilation-and-execution/m-p/524868#M142758</link>
      <description>My understanding is that most part of SAS Foundation I written in C, but I'm not sure how this affects your questions.&lt;BR /&gt;For Q1 I would say the calculation (data step logic) is performed by Base SAS. &lt;BR /&gt;Q2 - the CPU is involved even when moving data, but not sure what you are asking here. PROC FREQ again is performed by modules in Base SAS.&lt;BR /&gt;Q3, define application. If you mean EG, SAS Studio or DMS SAS, the general answer would be no (meaning data operations).&lt;BR /&gt;Q4, you said it yourself, as an interface...?</description>
      <pubDate>Sun, 06 Jan 2019 07:15:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/data-compilation-and-execution/m-p/524868#M142758</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2019-01-06T07:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: data compilation and execution</title>
      <link>https://communities.sas.com/t5/SAS-Programming/data-compilation-and-execution/m-p/524870#M142759</link>
      <description>&lt;P&gt;HI LinusH,&lt;/P&gt;&lt;P&gt;Thank you twice, one for the below &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what i don't understand are follows,&lt;/P&gt;&lt;P&gt;1.&lt;/P&gt;&lt;P&gt;data have_data;&lt;/P&gt;&lt;P&gt;var1=1+2;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;suppose,&lt;/P&gt;&lt;P&gt;1=0001--------compiled in sas&lt;/P&gt;&lt;P&gt;2=0010--------compiled in sas&lt;/P&gt;&lt;P&gt;1+2=0011----not sure if the summation total ,say here "3" is already generated by SAS or computer's CPU&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/***********************/&lt;/P&gt;&lt;P&gt;2.&lt;/P&gt;&lt;P&gt;-You mentioned "proc freq" procedure is done inside sas modules&lt;/P&gt;&lt;P&gt;-is this same for overall proc-procedures/step&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;/***********************/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"define application. If you mean EG, SAS Studio or DMS SAS, the general answer would be no (meaning data operations)."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Q: So data operations are handled by BASE SAS but not SAS EG?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 06 Jan 2019 08:02:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/data-compilation-and-execution/m-p/524870#M142759</guid>
      <dc:creator>himalayancat</dc:creator>
      <dc:date>2019-01-06T08:02:02Z</dc:date>
    </item>
    <item>
      <title>Re: data compilation and execution</title>
      <link>https://communities.sas.com/t5/SAS-Programming/data-compilation-and-execution/m-p/524872#M142760</link>
      <description>&lt;P&gt;I suggest you start by trying to understand what a &lt;A href="https://en.m.wikipedia.org/wiki/Compiler" target="_blank"&gt;compiler&lt;/A&gt; is and what it does.&lt;/P&gt;
&lt;P&gt;Then the sentence "The data step is compiled in time from the text, while procedure steps use pre-compiled modules" will make sense to you.&lt;/P&gt;
&lt;P&gt;In the end, EVERYTHING that a computer does is done by feeding machine code to the CPU (the ALU is just a part of the CPU).&lt;/P&gt;</description>
      <pubDate>Sun, 06 Jan 2019 09:13:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/data-compilation-and-execution/m-p/524872#M142760</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-01-06T09:13:37Z</dc:date>
    </item>
  </channel>
</rss>

