<?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: What is an in-line macro? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/What-is-an-in-line-macro/m-p/44342#M9070</link>
    <description>Is the OP asking the forum subscribers do their homework here? &lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
    <pubDate>Mon, 05 Jul 2010 07:42:18 GMT</pubDate>
    <dc:creator>sbb</dc:creator>
    <dc:date>2010-07-05T07:42:18Z</dc:date>
    <item>
      <title>What is an in-line macro?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-is-an-in-line-macro/m-p/44340#M9068</link>
      <description>1. What is an in-line macro?&lt;BR /&gt;
2. How to swap 2 macro variables without creating 3rd macro variable?&lt;BR /&gt;
3. Suggest a way to enlist tables that have a column containing string - ‘asset’?</description>
      <pubDate>Mon, 05 Jul 2010 05:49:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-is-an-in-line-macro/m-p/44340#M9068</guid>
      <dc:creator>Pavan_SAS</dc:creator>
      <dc:date>2010-07-05T05:49:41Z</dc:date>
    </item>
    <item>
      <title>Re: What is an in-line macro?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-is-an-in-line-macro/m-p/44341#M9069</link>
      <description>hmmmmm interesting questions. &lt;BR /&gt;
&amp;gt; 1. What is an in-line macro?&lt;BR /&gt;
Are you perhaps referring to either a statement style or command line macro?&lt;BR /&gt;
&lt;BR /&gt;
&amp;gt; 2. How to swap 2 macro variables without creating 3rd&lt;BR /&gt;
&amp;gt; macro variable?&lt;BR /&gt;
I have never needed to do this is there a specific motivation?  The use of a third temporary variable seems like a small cost.&lt;BR /&gt;
&lt;BR /&gt;
&amp;gt; 3. Suggest a way to enlist tables that have a column&lt;BR /&gt;
&amp;gt; containing string - ‘asset’?&lt;BR /&gt;
Sorry I am not sure what you mean.  Any data set with a variable with the name ASSET or any data set with any variable which contains a value of 'asset'.   I am guessing the second and that you do not want to actually read the potential data sets.</description>
      <pubDate>Mon, 05 Jul 2010 07:18:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-is-an-in-line-macro/m-p/44341#M9069</guid>
      <dc:creator>ArtC</dc:creator>
      <dc:date>2010-07-05T07:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: What is an in-line macro?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-is-an-in-line-macro/m-p/44342#M9070</link>
      <description>Is the OP asking the forum subscribers do their homework here? &lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Mon, 05 Jul 2010 07:42:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-is-an-in-line-macro/m-p/44342#M9070</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2010-07-05T07:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: What is an in-line macro?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-is-an-in-line-macro/m-p/44343#M9071</link>
      <description>.</description>
      <pubDate>Mon, 05 Jul 2010 08:20:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-is-an-in-line-macro/m-p/44343#M9071</guid>
      <dc:creator>Pavan_SAS</dc:creator>
      <dc:date>2010-07-05T08:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: What is an in-line macro?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-is-an-in-line-macro/m-p/44344#M9072</link>
      <description>.</description>
      <pubDate>Mon, 05 Jul 2010 08:20:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-is-an-in-line-macro/m-p/44344#M9072</guid>
      <dc:creator>Pavan_SAS</dc:creator>
      <dc:date>2010-07-05T08:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: What is an in-line macro?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-is-an-in-line-macro/m-p/44345#M9073</link>
      <description>.</description>
      <pubDate>Mon, 05 Jul 2010 08:20:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-is-an-in-line-macro/m-p/44345#M9073</guid>
      <dc:creator>Pavan_SAS</dc:creator>
      <dc:date>2010-07-05T08:20:42Z</dc:date>
    </item>
    <item>
      <title>Re: What is an in-line macro?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-is-an-in-line-macro/m-p/44346#M9074</link>
      <description>.</description>
      <pubDate>Mon, 05 Jul 2010 08:20:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-is-an-in-line-macro/m-p/44346#M9074</guid>
      <dc:creator>Pavan_SAS</dc:creator>
      <dc:date>2010-07-05T08:20:47Z</dc:date>
    </item>
    <item>
      <title>Re: What is an in-line macro?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-is-an-in-line-macro/m-p/44347#M9075</link>
      <description>.</description>
      <pubDate>Mon, 05 Jul 2010 08:21:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-is-an-in-line-macro/m-p/44347#M9075</guid>
      <dc:creator>Pavan_SAS</dc:creator>
      <dc:date>2010-07-05T08:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: What is an in-line macro?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-is-an-in-line-macro/m-p/44348#M9076</link>
      <description>Pavan&lt;BR /&gt;
&lt;BR /&gt;
Yes, this is a technical discussion forum - which expects users to first do their own bit of work and then ask questions when they've got stuck.&lt;BR /&gt;
&lt;BR /&gt;
For example the following search terms in Google - SAS "in-line macro" - and the very first hit links already to a white paper explaining what an in-line macro is. &lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;BR /&gt;
Patrick</description>
      <pubDate>Mon, 05 Jul 2010 09:14:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-is-an-in-line-macro/m-p/44348#M9076</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2010-07-05T09:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: What is an in-line macro?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-is-an-in-line-macro/m-p/44349#M9077</link>
      <description>Hi:&lt;BR /&gt;
  Generally, when people refer to "in-line" macros, they are referring to "session compiled" macro programs that are compiled and used within the same program. Usually, they reside in the WORK library, as described here, in the documentation (as opposed to autocall macro programs or Stored compiled macro programs):&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/mcrolref/61885/HTML/default/viewer.htm#/documentation/cdl/en/mcrolref/61885/HTML/default/a002293861.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/mcrolref/61885/HTML/default/viewer.htm#/documentation/cdl/en/mcrolref/61885/HTML/default/a002293861.htm&lt;/A&gt;&lt;BR /&gt;
 &lt;BR /&gt;
And these 2 papers are very good resources for the beginner (in addition to the most excellent books written by Art Carpenter):&lt;BR /&gt;
&lt;A href="http://www2.sas.com/proceedings/sugi29/243-29.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/sugi29/243-29.pdf&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://www2.sas.com/proceedings/sugi28/056-28.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/sugi28/056-28.pdf&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
I'm not sure what you mean by #2 and #3 -- this is an instance where a concrete example or more explanation would be useful. Especially, what you mean by the phrase "enlist tables" in the sentence "Suggest a way to enlist tables that have a column containing string - ‘asset’" If you want to &lt;B&gt;find&lt;/B&gt; tables that have a column which contains "asset" as part of a column name, then you will want to search for previous forum postings on the use of the SAS Dictionary tables or the SASHELP "V" tables.&lt;BR /&gt;
 &lt;BR /&gt;
And, if this is a homework assignment, then your best resource is your professor or teaching assistant for the class.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Mon, 05 Jul 2010 15:20:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-is-an-in-line-macro/m-p/44349#M9077</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-07-05T15:20:29Z</dc:date>
    </item>
  </channel>
</rss>

