<?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: Need tutorial on the basics of userdefined macros in SAS Studio in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/Need-tutorial-on-the-basics-of-userdefined-macros-in-SAS-Studio/m-p/632180#M8906</link>
    <description>&lt;P&gt;You can save macro code in .sas files, and use %include to include them where needed. Or save them to the autocall library.&lt;/P&gt;</description>
    <pubDate>Sat, 14 Mar 2020 21:07:53 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2020-03-14T21:07:53Z</dc:date>
    <item>
      <title>Need tutorial on the basics of userdefined macros in SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Need-tutorial-on-the-basics-of-userdefined-macros-in-SAS-Studio/m-p/632177#M8904</link>
      <description>&lt;P&gt;Looking for schooling on creating/saving and then using userdefined macros SPECIFICALLY IN the SAS Studio online app.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I understand macros in general, and not looking for help on the code within a macro.&amp;nbsp; Am asking for help using SAS Studio online.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;UPDATE:&amp;nbsp; So basically the answer is the macro can be put where you want in the folders. My experience with the folder structure and creating folders, choosing folders etc to be quirky.&amp;nbsp; But I have extremely slow Internet, so...eh&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found it easiest to put the macro in my default user folder, and it is successfully referenced like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%include '/home/u12345678/sasuser.v94/YourMacroName.sas';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;where the 12345678 would be your individual user number, I reckon.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for everyone's help.&lt;/P&gt;</description>
      <pubDate>Sat, 14 Mar 2020 21:58:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Need-tutorial-on-the-basics-of-userdefined-macros-in-SAS-Studio/m-p/632177#M8904</guid>
      <dc:creator>old_School</dc:creator>
      <dc:date>2020-03-14T21:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: Need tutorial on the basics of userdefined macros in SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Need-tutorial-on-the-basics-of-userdefined-macros-in-SAS-Studio/m-p/632179#M8905</link>
      <description>&lt;P&gt;Start&amp;nbsp;&lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.4&amp;amp;docsetId=mcrolref&amp;amp;docsetTarget=titlepage.htm&amp;amp;locale=en" target="_blank" rel="noopener"&gt;here&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Sat, 14 Mar 2020 21:03:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Need-tutorial-on-the-basics-of-userdefined-macros-in-SAS-Studio/m-p/632179#M8905</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-03-14T21:03:51Z</dc:date>
    </item>
    <item>
      <title>Re: Need tutorial on the basics of userdefined macros in SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Need-tutorial-on-the-basics-of-userdefined-macros-in-SAS-Studio/m-p/632180#M8906</link>
      <description>&lt;P&gt;You can save macro code in .sas files, and use %include to include them where needed. Or save them to the autocall library.&lt;/P&gt;</description>
      <pubDate>Sat, 14 Mar 2020 21:07:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Need-tutorial-on-the-basics-of-userdefined-macros-in-SAS-Studio/m-p/632180#M8906</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-03-14T21:07:53Z</dc:date>
    </item>
    <item>
      <title>Re: Need tutorial on the basics of userdefined macros in SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Need-tutorial-on-the-basics-of-userdefined-macros-in-SAS-Studio/m-p/632181#M8907</link>
      <description>Thanks. However, am looking more for how to use macros in the online SAS Studio. I was in the middle of clarifying my original post as you responded., and again thanks.</description>
      <pubDate>Sat, 14 Mar 2020 21:08:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Need-tutorial-on-the-basics-of-userdefined-macros-in-SAS-Studio/m-p/632181#M8907</guid>
      <dc:creator>old_School</dc:creator>
      <dc:date>2020-03-14T21:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: Need tutorial on the basics of userdefined macros in SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Need-tutorial-on-the-basics-of-userdefined-macros-in-SAS-Studio/m-p/632182#M8908</link>
      <description>&lt;P&gt;SAS Studio is a web app, and therefore "online" by definition. Do you mean SAS On Demand?&lt;/P&gt;
&lt;P&gt;In any case, save just like any other program file, and %include from there.&lt;/P&gt;</description>
      <pubDate>Sat, 14 Mar 2020 21:13:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Need-tutorial-on-the-basics-of-userdefined-macros-in-SAS-Studio/m-p/632182#M8908</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-03-14T21:13:16Z</dc:date>
    </item>
    <item>
      <title>Re: Need tutorial on the basics of userdefined macros in SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Need-tutorial-on-the-basics-of-userdefined-macros-in-SAS-Studio/m-p/632183#M8909</link>
      <description>If I may, further questions:&lt;BR /&gt;Where would I save them, in a folder under My Libraries? How do I reference the library or location I put them in?&lt;BR /&gt;&lt;BR /&gt;Where is the autocall library in SAS Studio?</description>
      <pubDate>Sat, 14 Mar 2020 21:16:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Need-tutorial-on-the-basics-of-userdefined-macros-in-SAS-Studio/m-p/632183#M8909</guid>
      <dc:creator>old_School</dc:creator>
      <dc:date>2020-03-14T21:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: Need tutorial on the basics of userdefined macros in SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Need-tutorial-on-the-basics-of-userdefined-macros-in-SAS-Studio/m-p/632184#M8910</link>
      <description>Hi:&lt;BR /&gt;  The SAS Macro Facility is part of Base SAS. So the editor you use (such as SAS Studio) is irrelevant to defining and using macro variables, macro functions or macro programs. &lt;BR /&gt;Cynthia</description>
      <pubDate>Sat, 14 Mar 2020 21:17:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Need-tutorial-on-the-basics-of-userdefined-macros-in-SAS-Studio/m-p/632184#M8910</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2020-03-14T21:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: Need tutorial on the basics of userdefined macros in SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Need-tutorial-on-the-basics-of-userdefined-macros-in-SAS-Studio/m-p/632185#M8911</link>
      <description>Part of my issue is not knowing how to reference the PATH since it is online, and not C:\xxx\xxx.</description>
      <pubDate>Sat, 14 Mar 2020 21:18:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Need-tutorial-on-the-basics-of-userdefined-macros-in-SAS-Studio/m-p/632185#M8911</guid>
      <dc:creator>old_School</dc:creator>
      <dc:date>2020-03-14T21:18:50Z</dc:date>
    </item>
    <item>
      <title>Re: Need tutorial on the basics of userdefined macros in SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Need-tutorial-on-the-basics-of-userdefined-macros-in-SAS-Studio/m-p/632186#M8912</link>
      <description>What I am looking at says SAS Studio, and it is an online app. Dont know nuthin about no SAS on Demand.</description>
      <pubDate>Sat, 14 Mar 2020 21:22:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Need-tutorial-on-the-basics-of-userdefined-macros-in-SAS-Studio/m-p/632186#M8912</guid>
      <dc:creator>old_School</dc:creator>
      <dc:date>2020-03-14T21:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: Need tutorial on the basics of userdefined macros in SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Need-tutorial-on-the-basics-of-userdefined-macros-in-SAS-Studio/m-p/632187#M8913</link>
      <description>My issue is more like where to save macros in the online folder tree (and does it matter where in that pre-defined tree) and how to reference the path to that location and/or library,</description>
      <pubDate>Sat, 14 Mar 2020 21:24:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Need-tutorial-on-the-basics-of-userdefined-macros-in-SAS-Studio/m-p/632187#M8913</guid>
      <dc:creator>old_School</dc:creator>
      <dc:date>2020-03-14T21:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: Need tutorial on the basics of userdefined macros in SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Need-tutorial-on-the-basics-of-userdefined-macros-in-SAS-Studio/m-p/632188#M8914</link>
      <description>&lt;P&gt;You can put the macros in an folder you would like, I have a folder named Macros; and I make that folder part of the Autocall library and then OPTIONS SASAUTOS=() allows you to use any macro in the Autocall library simply by calling the macro.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.4&amp;amp;docsetId=mcrolref&amp;amp;docsetTarget=n0tnxzfskbg5uan1lflv2rh12b6c.htm&amp;amp;locale=en" target="_blank" rel="noopener"&gt;https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.4&amp;amp;docsetId=mcrolref&amp;amp;docsetTarget=n0tnxzfskbg5uan1lflv2rh12b6c.htm&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you don't know the names of the folders used by SAS Studio, you can right click on any folder that is shown, and work out the folder name from the Properties. If you want to create a new folder, you could right-click on "My Folders" and select New-&amp;gt;Folder. Basic stuff that is relatively the same in just about any user-interface.&lt;/P&gt;</description>
      <pubDate>Sat, 14 Mar 2020 21:28:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Need-tutorial-on-the-basics-of-userdefined-macros-in-SAS-Studio/m-p/632188#M8914</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-03-14T21:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: Need tutorial on the basics of userdefined macros in SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Need-tutorial-on-the-basics-of-userdefined-macros-in-SAS-Studio/m-p/632193#M8915</link>
      <description>Thanks, that was helpful, and I am good to go...</description>
      <pubDate>Sat, 14 Mar 2020 21:59:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Need-tutorial-on-the-basics-of-userdefined-macros-in-SAS-Studio/m-p/632193#M8915</guid>
      <dc:creator>old_School</dc:creator>
      <dc:date>2020-03-14T21:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: Need tutorial on the basics of userdefined macros in SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Need-tutorial-on-the-basics-of-userdefined-macros-in-SAS-Studio/m-p/632195#M8916</link>
      <description>That was helpful and let me down the right path.</description>
      <pubDate>Sat, 14 Mar 2020 22:00:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Need-tutorial-on-the-basics-of-userdefined-macros-in-SAS-Studio/m-p/632195#M8916</guid>
      <dc:creator>old_School</dc:creator>
      <dc:date>2020-03-14T22:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: Need tutorial on the basics of userdefined macros in SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Need-tutorial-on-the-basics-of-userdefined-macros-in-SAS-Studio/m-p/632196#M8917</link>
      <description>I found it easiest to put the macro in my default user folder, and it is successfully referenced like this:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;%include '/home/u12345678/sasuser.v94/YourMacroName.sas';&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;where the 12345678 would be your individual user number, I reckon.</description>
      <pubDate>Sat, 14 Mar 2020 22:01:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Need-tutorial-on-the-basics-of-userdefined-macros-in-SAS-Studio/m-p/632196#M8917</guid>
      <dc:creator>old_School</dc:creator>
      <dc:date>2020-03-14T22:01:15Z</dc:date>
    </item>
  </channel>
</rss>

