<?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 Use a macro variable in dcreate function in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Use-a-macro-variable-in-dcreate-function/m-p/820894#M324053</link>
    <description>&lt;P&gt;I want to use a macro variable in place of directory name in dcreate function. Can you please let me know how to do it.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;i use the following command :&lt;/P&gt;&lt;P&gt;data _null_;&lt;/P&gt;&lt;P&gt;newdirectory =dcreate(‘&amp;amp;mv.’, ‘pathname’);&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;but instead of resolving that macro it creates new directory as &amp;amp;mv.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 29 Jun 2022 12:17:09 GMT</pubDate>
    <dc:creator>Decay2020</dc:creator>
    <dc:date>2022-06-29T12:17:09Z</dc:date>
    <item>
      <title>Use a macro variable in dcreate function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Use-a-macro-variable-in-dcreate-function/m-p/820894#M324053</link>
      <description>&lt;P&gt;I want to use a macro variable in place of directory name in dcreate function. Can you please let me know how to do it.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;i use the following command :&lt;/P&gt;&lt;P&gt;data _null_;&lt;/P&gt;&lt;P&gt;newdirectory =dcreate(‘&amp;amp;mv.’, ‘pathname’);&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;but instead of resolving that macro it creates new directory as &amp;amp;mv.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2022 12:17:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Use-a-macro-variable-in-dcreate-function/m-p/820894#M324053</guid>
      <dc:creator>Decay2020</dc:creator>
      <dc:date>2022-06-29T12:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: Use a macro variable in dcreate function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Use-a-macro-variable-in-dcreate-function/m-p/820895#M324054</link>
      <description>&lt;P&gt;Put&amp;nbsp;&lt;SPAN&gt;&amp;amp;mv. in double quotes &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2022 12:19:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Use-a-macro-variable-in-dcreate-function/m-p/820895#M324054</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2022-06-29T12:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: Use a macro variable in dcreate function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Use-a-macro-variable-in-dcreate-function/m-p/820937#M324072</link>
      <description>Oops, thank you.</description>
      <pubDate>Wed, 29 Jun 2022 15:08:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Use-a-macro-variable-in-dcreate-function/m-p/820937#M324072</guid>
      <dc:creator>Decay2020</dc:creator>
      <dc:date>2022-06-29T15:08:45Z</dc:date>
    </item>
    <item>
      <title>Re: Use a macro variable in dcreate function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Use-a-macro-variable-in-dcreate-function/m-p/821017#M324112</link>
      <description>&lt;P&gt;Make it a habit to use double quotes in code; use single quotes only when you explicitly need them to mask macro triggers.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2022 20:13:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Use-a-macro-variable-in-dcreate-function/m-p/821017#M324112</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-06-29T20:13:48Z</dc:date>
    </item>
  </channel>
</rss>

