<?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: Macro dropdown list and info box EG 5.1 in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Macro-dropdown-list-and-info-box-EG-5-1/m-p/138510#M11159</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Will,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's a good question, but no, it's not possible -- at least not directly.&amp;nbsp; The program editor displays this "help" when the macro definition is inline in the same program file, but not for autocall macros or macros that were submitted in another program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, you can achieve a similar experience&lt;A href="http://blogs.sas.com/content/sasdummy/2011/11/17/sas-program-editor-abbrevs/"&gt; if you define editor abbreviations for your macros&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Apr 2014 12:15:03 GMT</pubDate>
    <dc:creator>ChrisHemedinger</dc:creator>
    <dc:date>2014-04-30T12:15:03Z</dc:date>
    <item>
      <title>Macro dropdown list and info box EG 5.1</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Macro-dropdown-list-and-info-box-EG-5-1/m-p/138509#M11158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have only been using SAS for about a month, but I have created a few permanent macros for things I do often.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right now, if I define a macro within a program I will get a drop down menu of available macros when I start typing '%...'&amp;nbsp; and once I have clicked or typed the macro name, I get a box with information saying the macro variable names and any information I want displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://communities.sas.com/servlet/JiveServlet/showImage/2-208980-6172/Capture.JPG"&gt;&lt;IMG alt="Capture.JPG" class="jive-image jiveImage" height="98" src="https://communities.sas.com/legacyfs/online/6184_Capture.JPG" width="284" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Now I want to save my macros to a file and call them from other programs.&amp;nbsp; I can call the macro using the following code, but it does not display the info box or the drop down list of names when I type the macro name and variables.&lt;/P&gt;&lt;P&gt;filename willmacs '&lt;EM&gt;filename';&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;options mautosource sasautos=(willmacs sasautos);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;%testmac(ABC, DEF)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to make EG display the dropdown and infobox?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help and please point me to other threads if this was mentioned before (I did a quick search but could not find anything)&lt;/P&gt;&lt;P&gt;-Will&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2014 22:23:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Macro-dropdown-list-and-info-box-EG-5-1/m-p/138509#M11158</guid>
      <dc:creator>Will_V</dc:creator>
      <dc:date>2014-04-29T22:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: Macro dropdown list and info box EG 5.1</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Macro-dropdown-list-and-info-box-EG-5-1/m-p/138510#M11159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Will,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's a good question, but no, it's not possible -- at least not directly.&amp;nbsp; The program editor displays this "help" when the macro definition is inline in the same program file, but not for autocall macros or macros that were submitted in another program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, you can achieve a similar experience&lt;A href="http://blogs.sas.com/content/sasdummy/2011/11/17/sas-program-editor-abbrevs/"&gt; if you define editor abbreviations for your macros&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2014 12:15:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Macro-dropdown-list-and-info-box-EG-5-1/m-p/138510#M11159</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2014-04-30T12:15:03Z</dc:date>
    </item>
  </channel>
</rss>

