<?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: Can I get document on how we use macros in SAS STUDIO%2C SAS PC and SAS BATCH Environments in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Can-I-get-document-on-how-we-use-macros-in-SAS-STUDIO-SAS-PC-and/m-p/703399#M20875</link>
    <description>While I generally agree I would add to this, that the run mode can have an influence if different autoexec are used because of e.g. different server context (SAS App vs SAS DI as a concrete example).</description>
    <pubDate>Thu, 03 Dec 2020 15:19:55 GMT</pubDate>
    <dc:creator>DavidHD</dc:creator>
    <dc:date>2020-12-03T15:19:55Z</dc:date>
    <item>
      <title>Can I get document on how we use macros in SAS STUDIO,SAS PC and SAS BATCH Environments</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Can-I-get-document-on-how-we-use-macros-in-SAS-STUDIO-SAS-PC-and/m-p/703366#M20867</link>
      <description />
      <pubDate>Thu, 03 Dec 2020 13:56:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Can-I-get-document-on-how-we-use-macros-in-SAS-STUDIO-SAS-PC-and/m-p/703366#M20867</guid>
      <dc:creator>srinijareddy</dc:creator>
      <dc:date>2020-12-03T13:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: Can I get document on how we use macros in SAS STUDIO%2C SAS PC and SAS BATCH Environments</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Can-I-get-document-on-how-we-use-macros-in-SAS-STUDIO-SAS-PC-and/m-p/703368#M20869</link>
      <description>&lt;P&gt;&lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.5&amp;amp;docsetId=mcrolref&amp;amp;docsetTarget=titlepage.htm&amp;amp;locale=en" target="_blank" rel="noopener"&gt;SAS® 9.4 Macro Language: Reference&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Macro programming is not dependent on the user interface or the runmode.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2020 13:51:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Can-I-get-document-on-how-we-use-macros-in-SAS-STUDIO-SAS-PC-and/m-p/703368#M20869</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-12-03T13:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: Can I get document on how we use macros in SAS STUDIO%2C SAS PC and SAS BATCH Environments</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Can-I-get-document-on-how-we-use-macros-in-SAS-STUDIO-SAS-PC-and/m-p/703371#M20871</link>
      <description>Okay. But I want to know that can I find any basic explanations on how macros will be used in different environments</description>
      <pubDate>Thu, 03 Dec 2020 13:59:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Can-I-get-document-on-how-we-use-macros-in-SAS-STUDIO-SAS-PC-and/m-p/703371#M20871</guid>
      <dc:creator>srinijareddy</dc:creator>
      <dc:date>2020-12-03T13:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: Can I get document on how we use macros in SAS STUDIO%2C SAS PC and SAS BATCH Environments</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Can-I-get-document-on-how-we-use-macros-in-SAS-STUDIO-SAS-PC-and/m-p/703372#M20872</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/356580"&gt;@srinijareddy&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Okay. But I want to know that can I find any basic explanations on how macros will be used in different environments&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Just in case it has escaped you:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;Macro programming is not dependent on the user interface or the runmode.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2020 14:13:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Can-I-get-document-on-how-we-use-macros-in-SAS-STUDIO-SAS-PC-and/m-p/703372#M20872</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-12-03T14:13:11Z</dc:date>
    </item>
    <item>
      <title>Re: Can I get document on how we use macros in SAS STUDIO%2C SAS PC and SAS BATCH Environments</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Can-I-get-document-on-how-we-use-macros-in-SAS-STUDIO-SAS-PC-and/m-p/703396#M20874</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/356580"&gt;@srinijareddy&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Okay. But I want to know that can I find any basic explanations on how macros will be used in different environments&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The SAS macro language writes code statements.&lt;/P&gt;
&lt;P&gt;There will not be any difference in behavior for the generated statements by "environment" than if you wrote the code and ran it.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2020 15:15:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Can-I-get-document-on-how-we-use-macros-in-SAS-STUDIO-SAS-PC-and/m-p/703396#M20874</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-12-03T15:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: Can I get document on how we use macros in SAS STUDIO%2C SAS PC and SAS BATCH Environments</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Can-I-get-document-on-how-we-use-macros-in-SAS-STUDIO-SAS-PC-and/m-p/703399#M20875</link>
      <description>While I generally agree I would add to this, that the run mode can have an influence if different autoexec are used because of e.g. different server context (SAS App vs SAS DI as a concrete example).</description>
      <pubDate>Thu, 03 Dec 2020 15:19:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Can-I-get-document-on-how-we-use-macros-in-SAS-STUDIO-SAS-PC-and/m-p/703399#M20875</guid>
      <dc:creator>DavidHD</dc:creator>
      <dc:date>2020-12-03T15:19:55Z</dc:date>
    </item>
    <item>
      <title>Re: Can I get document on how we use macros in SAS STUDIO%2C SAS PC and SAS BATCH Environments</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Can-I-get-document-on-how-we-use-macros-in-SAS-STUDIO-SAS-PC-and/m-p/703408#M20878</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/336811"&gt;@DavidHD&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;While I generally agree I would add to this, that the run mode can have an influence if different autoexec are used because of e.g. different server context (SAS App vs SAS DI as a concrete example).&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You could have different macro parameters/variables, yes, but the macro language will be the same.&lt;/P&gt;
&lt;P&gt;And changes between environments would be site-specific and documented there, but not in any publicly available resource.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2020 15:31:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Can-I-get-document-on-how-we-use-macros-in-SAS-STUDIO-SAS-PC-and/m-p/703408#M20878</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-12-03T15:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: Can I get document on how we use macros in SAS STUDIO%2C SAS PC and SAS BATCH Environments</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Can-I-get-document-on-how-we-use-macros-in-SAS-STUDIO-SAS-PC-and/m-p/703483#M20882</link>
      <description>&lt;P&gt;&amp;gt;&amp;gt;&amp;nbsp;&lt;SPAN&gt;The SAS macro language writes code statements. &amp;lt;&amp;lt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;That's a narrow view of what the macro facility can do.&amp;nbsp; It can also prompt the user for input, read to and write from external files, obtain information about the programming environment, and create librefs and filerefs, all without generating any non-macro code.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2020 19:21:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Can-I-get-document-on-how-we-use-macros-in-SAS-STUDIO-SAS-PC-and/m-p/703483#M20882</guid>
      <dc:creator>JackHamilton</dc:creator>
      <dc:date>2020-12-03T19:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: Can I get document on how we use macros in SAS STUDIO%2C SAS PC and SAS BATCH Environments</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Can-I-get-document-on-how-we-use-macros-in-SAS-STUDIO-SAS-PC-and/m-p/703504#M20883</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13901"&gt;@JackHamilton&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&amp;gt;&amp;gt;&amp;nbsp;&lt;SPAN&gt;The SAS macro language writes code statements. &amp;lt;&amp;lt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;That's a narrow view of what the macro facility can do.&amp;nbsp; It can also prompt the user for input, read to and write from external files, obtain information about the programming environment, and create librefs and filerefs, all without generating any non-macro code.&lt;/SPAN&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Yes you can write a lot of Fopen, and related read and write stuff. ALL of it uses datastep functions with %sysfunc, which statement was not available when I first delved into learning macro code with SAS 5.&lt;/P&gt;
&lt;P&gt;So I would not consider that a pure macro facility. In fact in many ways obfuscating stuff that may be better done with a data step.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If by "prompt for use input" by using the %window code, same thing basically as Window from the data step. If the later EG "prompt" that is not the quite the same a using pure macro code to get such in general.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I pity anyone going down the road of writing 50 page reports using %sysfunc(Fput,id,%somemacrovalue) statements.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2020 21:21:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Can-I-get-document-on-how-we-use-macros-in-SAS-STUDIO-SAS-PC-and/m-p/703504#M20883</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-12-03T21:21:18Z</dc:date>
    </item>
    <item>
      <title>Re: Can I get document on how we use macros in SAS STUDIO%2C SAS PC and SAS BATCH Environments</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Can-I-get-document-on-how-we-use-macros-in-SAS-STUDIO-SAS-PC-and/m-p/703589#M20885</link>
      <description>&lt;P&gt;Prompting for user input from code is largely obsolete, as defined user prompts for EG nodes and stored processes have taken over that functionality. User inputs from code can't be done in a client/server environment.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Dec 2020 11:36:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Can-I-get-document-on-how-we-use-macros-in-SAS-STUDIO-SAS-PC-and/m-p/703589#M20885</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-12-04T11:36:42Z</dc:date>
    </item>
  </channel>
</rss>

