<?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: Theory of relativity in SAS programming in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Theory-of-relativity-in-SAS-programming/m-p/636747#M189211</link>
    <description>&lt;P&gt;Susan,&lt;/P&gt;
&lt;P&gt;Absolutely!&lt;/P&gt;
&lt;P&gt;Leonid&lt;/P&gt;</description>
    <pubDate>Thu, 02 Apr 2020 02:35:50 GMT</pubDate>
    <dc:creator>LeonidBatkhan</dc:creator>
    <dc:date>2020-04-02T02:35:50Z</dc:date>
    <item>
      <title>Theory of relativity in SAS programming</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Theory-of-relativity-in-SAS-programming/m-p/636431#M189086</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="einstein-banner.jpg" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/37624iD29E528025AAF489/image-size/large?v=v2&amp;amp;px=999" role="button" title="einstein-banner.jpg" alt="einstein-banner.jpg" /&gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Creativity is intelligence having fun"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ~ Albert Einstein&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The last time I checked, April Fools' Day has not been cancelled this year. Moreover, we all desperately need it as it is scientifically proven that &lt;A href="https://www.mentalfloss.com/article/539632/scientific-benefits-having-laugh" target="_blank" rel="noopener"&gt;laughter is an immune booster&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;No kidding, laughing is a serious matter. That is why today we are going to get serious, very serious, and tackle the most famous and the least understood scientific theory of all time – the theory of relativity – as it relates to programming in general, and SAS programming in particular.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Fasten your seat belt!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any computer program can be described in terms of &lt;EM&gt;space&lt;/EM&gt; and &lt;EM&gt;time&lt;/EM&gt;.&amp;nbsp; For example, SAS code originates in our 3-dimensional heads’ &lt;EM&gt;space&lt;/EM&gt;, transforms into a two-dimensional &lt;EM&gt;space&lt;/EM&gt; entity in a Program Editor, and then progresses through compilation to execution in a one-dimensional &lt;EM&gt;time&lt;/EM&gt; line sequence defined by itself and multi-dimensional SAS computational &lt;EM&gt;space&lt;/EM&gt; also known as infrastructure. This introduces a fundamental concept of relativity theory – &lt;EM&gt;spacetime&lt;/EM&gt; as a unified entity of &lt;EM&gt;space &lt;/EM&gt;and &lt;EM&gt;time. &lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Creative use of the &lt;EM&gt;spacetime&lt;/EM&gt; principle opens unlimited possibilities for SAS code developers. For example, you can embed a DATA step within another DATA step or a PROC step and vice versa.&amp;nbsp; You just need to apply the appropriate spacing to ensure your code has proper readability.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The theory of relativity consists of two interrelated parts: &lt;A href="https://en.wikipedia.org/wiki/Special_relativity" target="_blank" rel="noopener"&gt;special relativity&lt;/A&gt; and &lt;A href="https://en.wikipedia.org/wiki/General_relativity" target="_blank" rel="noopener"&gt;general relativity&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1&gt;Special Theory of Relativity&lt;/H1&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Special relativity applies to all coding methods in the absence of gravity. Consider running the following SAS code:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data AAA;
   set SASHELP.CARS;
   where ORIGIN eq 'Asia';
   data BBB;
      merge AAA SASHELP.CARS;
      by MAKE;
      where TYPE eq 'Truck';
   run;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;While it might seem unusual, this is perfectly legitimate code that 1) does not mention gravity and 2) runs without ERRORs. As you can see, the code for data BBB step is totally embedded within the data AAA step, and it even recursively merges its parent data AAA within itself. If you think about it, it’s pure &lt;EM&gt;spacetime&lt;/EM&gt; – a combination of proper code &lt;EM&gt;spacing&lt;/EM&gt; and &lt;EM&gt;timing&lt;/EM&gt; of execution.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or, you may want to try this code where PROC PRINT is nested within a DATA step and prints its parent data set:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data A;
   x=1;
   y=2;
   proc print data=A;
   run;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;You can even further simplify it by removing the data set names:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data;
   x=1;
   y=2;
   proc print;
   run;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;It still runs perfectly fine and as expected, even though no data set names are specified.&lt;/P&gt;
&lt;P&gt;Here is another beauty where PROC SQL is embedded within a DATA step and recursively reads its own parental data:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data A;
   set SASHELP.CARS;
   where make eq 'Ford';
   proc sql;
      select * from A;
   quit;
run; 
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The above examples are possible due to coding &lt;A href="https://en.wikipedia.org/wiki/Relativism" target="_blank" rel="noopener"&gt;&lt;EM&gt;relativism&lt;/EM&gt;&lt;/A&gt; – the idea that views are relative to differences in perception and consideration. What you see in a SAS program may be different from how the SAS compiler sees and interprets it. Moreover, as you will find below, what you consider as program code could be construed and interpreted as data, and vice versa.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1&gt;General Theory of Relativity&lt;/H1&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;General relativity applies to objects and methods &lt;EM&gt;in the presence of gravity&lt;/EM&gt; and explains its relation to other objects and methods. It is general relativity that deals with such eminent phenomena as &lt;A href="https://en.wikipedia.org/wiki/Black_hole" target="_blank" rel="noopener"&gt;black holes&lt;/A&gt;: regions of spacetime exhibiting gravitational acceleration so strong that nothing, I mean, &lt;EM&gt;nothing&lt;/EM&gt; – no objects, particles or even electromagnetic radiation such as light – can escape from it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The following code example illustrates the concept of a black hole as it relates to SAS programming:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;;;;;;;;;;;;;;;;;;;;;;;;;;
; %let time = LINE      ;
; %let s=%length(&amp;amp;TIME) ;
; data B                ;
;    input              ;
;    TYPE = 'Gravity'   ;
;    &amp;amp;time.s&amp;amp;s          ;
;    data A             ;
;       TYPE = 'Light'  ;
;    run                ;
; run                   ;
;;;;;;;;;;;;;;;;;;;;;;;;;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The code is very similar to the ones above it, but as you can see, we did introduce &lt;EM&gt;gravity&lt;/EM&gt; in it. If you dare to run it, you will see that the embedded DATA step (data A)&amp;nbsp; is prominently absent from the SAS LOG, not to mention that it never runs. Typical black hole: we know it exists, but no one can see it in action.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This can only be explained by such a strong gravitational pull of the data set B that nothing can escape from it, precisely the definition of a black hole. &amp;nbsp;Can you provide your explanation?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1&gt;Conclusion&lt;/H1&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope by now you are convinced that a combination of &lt;EM&gt;spacing&lt;/EM&gt; and &lt;EM&gt;timing&lt;/EM&gt; can produce quite remarkable effects making your SAS code unbelievably elegant and nerdy at the same time. (The degree to which it’s elegant or nerdy is relative to your attitude, perception and consideration.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am optimistic that after reading and sifting through these theoretical fundamentals and coding examples you will reach beyond your traditional thinking, discover your fourth dimension and come up with your own code masterpieces that are related to the relativity theory.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please share your thoughts and ideas below.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1&gt;Additional resources&lt;/H1&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;April 1, 2019: &lt;A href="https://blogs.sas.com/content/sgf/2019/04/01/dividing-by-zero-with-sas/" target="_blank" rel="noopener"&gt;Dividing by zero with SAS&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;April 1, 2018: &lt;A href="https://blogs.sas.com/content/sgf/2018/04/01/sas-discovers-a-new-planet-in-the-solar-system/" target="_blank" rel="noopener"&gt;SAS discovers a new planet in the Solar System&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;April 1, 2017: &lt;A href="https://blogs.sas.com/content/sgf/2017/04/01/sas-code-to-prove-fermats-last-theorem/" target="_blank" rel="noopener"&gt;SAS code to prove Fermat's Last Theorem&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 11 Apr 2020 02:33:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Theory-of-relativity-in-SAS-programming/m-p/636431#M189086</guid>
      <dc:creator>LeonidBatkhan</dc:creator>
      <dc:date>2020-04-11T02:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: Theory of relativity in SAS programming</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Theory-of-relativity-in-SAS-programming/m-p/636474#M189098</link>
      <description>&lt;P&gt;Wow.&lt;/P&gt;
&lt;P&gt;My mind is blown.&lt;/P&gt;
&lt;P&gt;So much cleverness condensed in such little space!&lt;/P&gt;
&lt;P&gt;Almost like a white dwarf.&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2020 09:41:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Theory-of-relativity-in-SAS-programming/m-p/636474#M189098</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2020-04-01T09:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: Theory of relativity in SAS programming</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Theory-of-relativity-in-SAS-programming/m-p/636508#M189110</link>
      <description>&lt;P&gt;It's also been established that the faster that you write SAS code -- as your coding activity approaches the speed of light -- the slower that you will age relative to programmers who use other languages.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(Or is it the other way around? I forget things in my old age.)&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2020 12:04:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Theory-of-relativity-in-SAS-programming/m-p/636508#M189110</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2020-04-01T12:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: Theory of relativity in SAS programming</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Theory-of-relativity-in-SAS-programming/m-p/636542#M189126</link>
      <description>&lt;P&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-Community-Manager"&gt;&lt;SPAN class="lia-link-navigation lia-page-link lia-link-disabled lia-user-name-link" style="color: #ff751a;"&gt;&lt;SPAN class="login-bold"&gt;&amp;nbsp;&lt;A class="trigger-hovercard" style="color: #ff751a;" href="https://communities.sas.com/t5/user/viewprofilepage/user-id/4" target="_blank"&gt;ChrisHemedinger&lt;/A&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;, the speed of your SAS code writing and your age are irrelevant, as long as you know &lt;A title="CALL EXECUTE made easy for SAS data-driven programming" href="https://blogs.sas.com/content/sgf/2017/08/02/call-execute-for-sas-data-driven-programming/" target="_self"&gt;how to use CALL EXECUTE to write SAS code for you&lt;/A&gt;&amp;nbsp;.&amp;nbsp; Or you can even &lt;A title="Let SAS write batch scripts for you" href="https://blogs.sas.com/content/sgf/2018/01/25/let-sas-write-batch-scripts/" target="_blank" rel="noopener"&gt;let SAS write batch scripts for you&lt;/A&gt; .&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2020 14:14:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Theory-of-relativity-in-SAS-programming/m-p/636542#M189126</guid>
      <dc:creator>LeonidBatkhan</dc:creator>
      <dc:date>2020-04-01T14:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: Theory of relativity in SAS programming</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Theory-of-relativity-in-SAS-programming/m-p/636569#M189133</link>
      <description>&lt;P&gt;Thank you, &lt;A class="trigger-hovercard" style="color: #007dc3;" href="https://communities.sas.com/t5/user/viewprofilepage/user-id/16961" target="_blank"&gt;ChrisNZ&lt;/A&gt; !&lt;/P&gt;
&lt;P&gt;Here is your white dwarf:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _;
   if 0;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2020 14:11:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Theory-of-relativity-in-SAS-programming/m-p/636569#M189133</guid>
      <dc:creator>LeonidBatkhan</dc:creator>
      <dc:date>2020-04-01T14:11:10Z</dc:date>
    </item>
    <item>
      <title>Re: Theory of relativity in SAS programming</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Theory-of-relativity-in-SAS-programming/m-p/636603#M189141</link>
      <description>Chris,&lt;BR /&gt;&lt;BR /&gt;Wasn't it: "the faster you're coding the slower it's running"? &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;All the best&lt;BR /&gt;Bart</description>
      <pubDate>Wed, 01 Apr 2020 16:41:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Theory-of-relativity-in-SAS-programming/m-p/636603#M189141</guid>
      <dc:creator>yabwon</dc:creator>
      <dc:date>2020-04-01T16:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: Theory of relativity in SAS programming</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Theory-of-relativity-in-SAS-programming/m-p/636623#M189151</link>
      <description>&lt;P&gt;Great post as always, Leonid!&amp;nbsp; Thanks for sharing!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Be safe and stay healthy!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kirk&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2020 18:17:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Theory-of-relativity-in-SAS-programming/m-p/636623#M189151</guid>
      <dc:creator>KirkLafler</dc:creator>
      <dc:date>2020-04-01T18:17:07Z</dc:date>
    </item>
    <item>
      <title>Re: Theory of relativity in SAS programming</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Theory-of-relativity-in-SAS-programming/m-p/636625#M189153</link>
      <description>&lt;P&gt;Thank you, Kirk. I am glad you like it. Hope you and yours are safe and healthy too!&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2020 18:22:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Theory-of-relativity-in-SAS-programming/m-p/636625#M189153</guid>
      <dc:creator>LeonidBatkhan</dc:creator>
      <dc:date>2020-04-01T18:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: Theory of relativity in SAS programming</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Theory-of-relativity-in-SAS-programming/m-p/636714#M189195</link>
      <description>&lt;P&gt;Leonid,&lt;/P&gt;
&lt;P&gt;Thanks for another creative April 1 post! The laughs are both generally and relatively timely.&lt;/P&gt;
&lt;P&gt;Susan&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2020 23:55:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Theory-of-relativity-in-SAS-programming/m-p/636714#M189195</guid>
      <dc:creator>SJSlaughter</dc:creator>
      <dc:date>2020-04-01T23:55:18Z</dc:date>
    </item>
    <item>
      <title>Re: Theory of relativity in SAS programming</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Theory-of-relativity-in-SAS-programming/m-p/636747#M189211</link>
      <description>&lt;P&gt;Susan,&lt;/P&gt;
&lt;P&gt;Absolutely!&lt;/P&gt;
&lt;P&gt;Leonid&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2020 02:35:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Theory-of-relativity-in-SAS-programming/m-p/636747#M189211</guid>
      <dc:creator>LeonidBatkhan</dc:creator>
      <dc:date>2020-04-02T02:35:50Z</dc:date>
    </item>
    <item>
      <title>Re: Theory of relativity in SAS programming</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Theory-of-relativity-in-SAS-programming/m-p/637912#M189670</link>
      <description>&lt;P&gt;Awesome Leonid!&amp;nbsp; That was funny and enlightening.&amp;nbsp; That's a tough balance to strike.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Apr 2020 18:37:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Theory-of-relativity-in-SAS-programming/m-p/637912#M189670</guid>
      <dc:creator>wrrichar1</dc:creator>
      <dc:date>2020-04-06T18:37:25Z</dc:date>
    </item>
    <item>
      <title>Re: Theory of relativity in SAS programming</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Theory-of-relativity-in-SAS-programming/m-p/637917#M189673</link>
      <description>&lt;P&gt;Thank you, &lt;A class="trigger-hovercard" style="color: #007dc3;" href="https://communities.sas.com/t5/user/viewprofilepage/user-id/54982" target="_blank"&gt;wrrichar1&lt;/A&gt;!&lt;/P&gt;
&lt;P&gt;Yea, I felt like a tightrope walker balancing over the abyss of reality...&lt;/P&gt;</description>
      <pubDate>Mon, 06 Apr 2020 18:47:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Theory-of-relativity-in-SAS-programming/m-p/637917#M189673</guid>
      <dc:creator>LeonidBatkhan</dc:creator>
      <dc:date>2020-04-06T18:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: Theory of relativity in SAS programming</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Theory-of-relativity-in-SAS-programming/m-p/638830#M189981</link>
      <description>&lt;P&gt;Great post &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/51532"&gt;@LeonidBatkhan&lt;/a&gt;!&lt;/P&gt;
&lt;P&gt;I smiled at the statement you made "What you see in a SAS program is different from how the SAS compiler sees and interprets it."... when I used to teach SAS programming classes I would emphasise the importance of reading SAS code like the compiler would interpret it. Look for the tokens (or missing tokens) and challenge yourself to see what would happen behind the scenes before you run it. In my book, it distinguishes oneself from "doing" SAS programming to "being" a SAS programmer. Anyone can copy/paste code and try to work it out with debugging/troubleshooting but knowing how the code works and what the code will do before you run it, demonstrates a higher level of understanding and being an efficient SAS programmer.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Apr 2020 04:46:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Theory-of-relativity-in-SAS-programming/m-p/638830#M189981</guid>
      <dc:creator>MichelleHomes</dc:creator>
      <dc:date>2020-04-10T04:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: Theory of relativity in SAS programming</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Theory-of-relativity-in-SAS-programming/m-p/638978#M190021</link>
      <description>&lt;P&gt;Thank you, &lt;A class="trigger-hovercard" style="color: #007dc3;" href="https://communities.sas.com/t5/user/viewprofilepage/user-id/19750" target="_blank" rel="noopener"&gt;MichelleHomes&lt;/A&gt;, I am glad it made you smile. Your point is exactly what I exploited here. &lt;span class="lia-unicode-emoji" title=":winking_face_with_tongue:"&gt;😜&lt;/span&gt; &lt;/P&gt;</description>
      <pubDate>Fri, 10 Apr 2020 14:34:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Theory-of-relativity-in-SAS-programming/m-p/638978#M190021</guid>
      <dc:creator>LeonidBatkhan</dc:creator>
      <dc:date>2020-04-10T14:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: Theory of relativity in SAS programming</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Theory-of-relativity-in-SAS-programming/m-p/639382#M190216</link>
      <description>&lt;P&gt;so beautifully articulated. thank you for sharing these amazing tips on relativity in sas code.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Apr 2020 00:17:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Theory-of-relativity-in-SAS-programming/m-p/639382#M190216</guid>
      <dc:creator>sqlGoddess</dc:creator>
      <dc:date>2020-04-13T00:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: Theory of relativity in SAS programming</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Theory-of-relativity-in-SAS-programming/m-p/639484#M190261</link>
      <description>&lt;P&gt;Thank you, &lt;A class="trigger-hovercard" style="color: #007dc3;" href="https://communities.sas.com/t5/user/viewprofilepage/user-id/4911" target="_blank"&gt;charus&lt;/A&gt; for your such a nice comment! I am glad you liked it.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Apr 2020 14:37:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Theory-of-relativity-in-SAS-programming/m-p/639484#M190261</guid>
      <dc:creator>LeonidBatkhan</dc:creator>
      <dc:date>2020-04-13T14:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: Theory of relativity in SAS programming</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Theory-of-relativity-in-SAS-programming/m-p/645552#M193006</link>
      <description>&lt;P&gt;Awesome&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/51532"&gt;@LeonidBatkhan&lt;/a&gt;,&amp;nbsp;&lt;BR /&gt;After reading this article, I wish SAS launch Relativity Mode in the future&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 06 May 2020 11:44:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Theory-of-relativity-in-SAS-programming/m-p/645552#M193006</guid>
      <dc:creator>Kalind_Patel</dc:creator>
      <dc:date>2020-05-06T11:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: Theory of relativity in SAS programming</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Theory-of-relativity-in-SAS-programming/m-p/645607#M193018</link>
      <description>&lt;P&gt;Thank you, &lt;A class="trigger-hovercard" style="color: #007dc3;" href="https://communities.sas.com/t5/user/viewprofilepage/user-id/71754" target="_blank"&gt;Kalind_Patel&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;The "relativity mode" has always been in SAS from its inception: just use proper spacing and watch your timing. &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 May 2020 14:23:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Theory-of-relativity-in-SAS-programming/m-p/645607#M193018</guid>
      <dc:creator>LeonidBatkhan</dc:creator>
      <dc:date>2020-05-06T14:23:09Z</dc:date>
    </item>
    <item>
      <title>Re: Theory of relativity in SAS programming</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Theory-of-relativity-in-SAS-programming/m-p/674020#M202888</link>
      <description>&lt;P&gt;Fun post. Blame me not finding it until now on warped spacetime.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After some thought I realized that we can continue this embedding. Here are three steps deep:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data AAA;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;set SASHELP.CARS;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;where ORIGIN eq 'Asia';&lt;BR /&gt;&amp;nbsp; &amp;nbsp;data BBB;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; merge AAA SASHELP.CARS;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; by MAKE;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; where TYPE eq 'Truck';&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; proc sql;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;create table CCC as (select Make, Model, MSRP from BBB);&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; quit;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;run;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm reminded of somebody who said&lt;/P&gt;&lt;P&gt;"Every flea has smaller fleas, upon their backs to bite 'em.&lt;/P&gt;&lt;P&gt;And those fleas and smaller fleas, and so ad infinitum."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One further warning - if you use the "Format Code" button on the final SAS code, it ceases working completely. I gather the black hole sucks everything in. (black holes really suck.)&lt;/P&gt;</description>
      <pubDate>Sun, 02 Aug 2020 21:54:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Theory-of-relativity-in-SAS-programming/m-p/674020#M202888</guid>
      <dc:creator>Johndberglund</dc:creator>
      <dc:date>2020-08-02T21:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: Theory of relativity in SAS programming</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Theory-of-relativity-in-SAS-programming/m-p/674162#M202954</link>
      <description>&lt;P&gt;Hi &lt;A class="trigger-hovercard" style="color: #007dc3;" href="https://communities.sas.com/t5/user/viewprofilepage/user-id/148275" target="_blank"&gt;Johndberglund&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;You got it!&lt;/P&gt;
&lt;P&gt;However, when I applied code formatting (I don't have the Code Format button in my EG so I had to use Edit -&amp;gt; Format Code) to the last code, I got the following:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;;;;;;;;;;;;;;;;;;;;;;;;;;
;
%let time = LINE;
;
%let s=%length(&amp;amp;TIME);
;

data B;
	;
	input;
	;
	TYPE = 'Gravity';
	;
	&amp;amp;time.s&amp;amp;s;
	;

data A;
	;
	TYPE = 'Light';
	;
run;
;
run;
;;;;;;;;;;;;;;;;;;;;;;;;;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;which worked as fine as before the code formatting. Apparently, it depends on the state you were in when running your code.&amp;nbsp; (I am in Maryland). Or time of day. Or anything else. In any case, it just reaffirms that theory or relativity is closely related to the the &lt;A href="https://en.wikipedia.org/wiki/Uncertainty_principle" target="_self"&gt;Heisenberg's uncertainty principle&lt;/A&gt;...&lt;/P&gt;</description>
      <pubDate>Mon, 03 Aug 2020 15:31:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Theory-of-relativity-in-SAS-programming/m-p/674162#M202954</guid>
      <dc:creator>LeonidBatkhan</dc:creator>
      <dc:date>2020-08-03T15:31:39Z</dc:date>
    </item>
  </channel>
</rss>

