<?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: Scope of macro variables on local vs remote session in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Scope-of-macro-variables-on-local-vs-remote-session/m-p/751058#M236359</link>
    <description>&lt;P&gt;Thx a lot for your reply&lt;/P&gt;</description>
    <pubDate>Tue, 29 Jun 2021 20:38:05 GMT</pubDate>
    <dc:creator>viona</dc:creator>
    <dc:date>2021-06-29T20:38:05Z</dc:date>
    <item>
      <title>Scope of macro variables on local vs remote session</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Scope-of-macro-variables-on-local-vs-remote-session/m-p/750794#M236216</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;is there a notion a macro variable scope ( global/local) when we are on a remote session?&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;on a local session i have to declare global macro variable (%global) to be able to use it out of the macro where it was created then i'm using %syslput to send this macro variable on a remote session. do i need to declare a global macro variable on server like:&lt;/P&gt;&lt;P&gt;rsubmit;&lt;/P&gt;&lt;P&gt;%global macro_variable_name&lt;/P&gt;&lt;P&gt;endrsubmit;&lt;/P&gt;&lt;P&gt;thx,&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jun 2021 12:50:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Scope-of-macro-variables-on-local-vs-remote-session/m-p/750794#M236216</guid>
      <dc:creator>viona</dc:creator>
      <dc:date>2021-06-28T12:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: Scope of macro variables on local vs remote session</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Scope-of-macro-variables-on-local-vs-remote-session/m-p/750797#M236218</link>
      <description>&lt;P&gt;Remote sessions have the local and global scope for macro variables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want a macro variable to have a global scope on the remote session, then I think you have to declare it as %GLOBAL.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jun 2021 13:11:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Scope-of-macro-variables-on-local-vs-remote-session/m-p/750797#M236218</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2021-06-28T13:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: Scope of macro variables on local vs remote session</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Scope-of-macro-variables-on-local-vs-remote-session/m-p/751058#M236359</link>
      <description>&lt;P&gt;Thx a lot for your reply&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jun 2021 20:38:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Scope-of-macro-variables-on-local-vs-remote-session/m-p/751058#M236359</guid>
      <dc:creator>viona</dc:creator>
      <dc:date>2021-06-29T20:38:05Z</dc:date>
    </item>
  </channel>
</rss>

