<?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: error using the PROCESS macro in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/error-using-the-PROCESS-macro/m-p/973805#M43466</link>
    <description>&lt;P&gt;kindly post the process macro in sas. its no longer available from the frank hayes website for process macro. my email is&amp;nbsp;&lt;/P&gt;&lt;P&gt;h.mannan@westernsydney.edu.au&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 01 Sep 2025 05:51:48 GMT</pubDate>
    <dc:creator>hrmannan</dc:creator>
    <dc:date>2025-09-01T05:51:48Z</dc:date>
    <item>
      <title>error using the PROCESS macro</title>
      <link>https://communities.sas.com/t5/New-SAS-User/error-using-the-PROCESS-macro/m-p/928119#M41682</link>
      <description>&lt;P&gt;I am a novice using macros. I want to perform mediation analysis and want to use the PROCESS macro by A. Hayes.&lt;/P&gt;&lt;P&gt;While using the macro I get the error: use &amp;amp;data; ERROR 22-322: Expecting a name.&lt;/P&gt;&lt;P&gt;Line generated by the invoked macro "PROCESS".&lt;BR /&gt;43 use &amp;amp;data;&lt;/P&gt;&lt;P&gt;ERROR 22-322: Expecting a name.&lt;/P&gt;&lt;P&gt;how do I solve this?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Marij&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2024 13:55:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/error-using-the-PROCESS-macro/m-p/928119#M41682</guid>
      <dc:creator>M_Gielen</dc:creator>
      <dc:date>2024-05-13T13:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: error using the PROCESS macro</title>
      <link>https://communities.sas.com/t5/New-SAS-User/error-using-the-PROCESS-macro/m-p/928121#M41683</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;We need more information to help.&amp;nbsp; Can you share the macro definition (i.e. the code that creates the macro)?&amp;nbsp; Can you turn on the option MPRINT, and then run your code, and post the full log starting with the macro call?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One possibility is that the macro has a parameter named data which you did not provide a value, or you provided an invalid value.&amp;nbsp; But there are many other possibilities.&amp;nbsp; Also be sure to start your debugging by starting with the first error (or warning) that appears in the log.&amp;nbsp; Often one problem will trigger more problems, so you always want to start with the first problem.&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2024 14:01:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/error-using-the-PROCESS-macro/m-p/928121#M41683</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2024-05-13T14:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: error using the PROCESS macro</title>
      <link>https://communities.sas.com/t5/New-SAS-User/error-using-the-PROCESS-macro/m-p/928123#M41684</link>
      <description>&lt;P&gt;Turn on the macro debugging option by running this line of code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options mprint;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then run the code again and copy the log as text and paste it into the window that appears when you click on the &amp;lt;/&amp;gt; icon.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PaigeMiller_0-1663012019648.png" style="width: 859px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/75161i0E71B1489A6C9839/image-size/large?v=v2&amp;amp;px=999" role="button" title="PaigeMiller_0-1663012019648.png" alt="PaigeMiller_0-1663012019648.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the future, please do not show us errors without the rest of the log. Errors detached from the code that created it are not helpful.&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2024 14:01:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/error-using-the-PROCESS-macro/m-p/928123#M41684</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2024-05-13T14:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: error using the PROCESS macro</title>
      <link>https://communities.sas.com/t5/New-SAS-User/error-using-the-PROCESS-macro/m-p/928219#M41686</link>
      <description>&lt;P&gt;For using SAS macros you first need to compile the macro definition. This is done by running the code that's between %macro &amp;lt;name of the macro&amp;gt;;... and %mend;&lt;/P&gt;
&lt;P&gt;Once the macro has been compiled you can use it. You call a macro by using %&amp;lt;name of the macro&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've downloaded the macro from&amp;nbsp;&lt;A href="https://www.processmacro.org/download.html" target="_blank" rel="noopener"&gt;https://www.processmacro.org/download.html&lt;/A&gt;&amp;nbsp;. The code contains the macro definition AND a sample macro call.&lt;/P&gt;
&lt;P&gt;Here the sample macro call:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%process (data=test,activate=1);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Looking into the macro definition I find:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;use &amp;amp;data;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I assume you called the macro without providing a value for macro parameter data= and though in the code the macro variable &amp;amp;data resolved to nothing which then caused the error due to a USE command without any table name.&lt;/P&gt;
&lt;PRE&gt;29         %process (activate=1);
NOTE: IML Ready
NOTE: Line generated by the invoked macro "PROCESS".
29                          use &amp;amp;data;
                                     _
                                     22
                                     76
ERROR 22-322: Expecting a name.  &lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It appears that to use this macro you need training or at least access and a read of the documentation.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2024 01:11:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/error-using-the-PROCESS-macro/m-p/928219#M41686</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2024-05-14T01:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: error using the PROCESS macro</title>
      <link>https://communities.sas.com/t5/New-SAS-User/error-using-the-PROCESS-macro/m-p/973805#M43466</link>
      <description>&lt;P&gt;kindly post the process macro in sas. its no longer available from the frank hayes website for process macro. my email is&amp;nbsp;&lt;/P&gt;&lt;P&gt;h.mannan@westernsydney.edu.au&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Sep 2025 05:51:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/error-using-the-PROCESS-macro/m-p/973805#M43466</guid>
      <dc:creator>hrmannan</dc:creator>
      <dc:date>2025-09-01T05:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: error using the PROCESS macro</title>
      <link>https://communities.sas.com/t5/New-SAS-User/error-using-the-PROCESS-macro/m-p/973811#M43467</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/459042"&gt;@hrmannan&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Sorry, but I've changed my laptop since this download and didn't keep the code.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Sep 2025 08:08:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/error-using-the-PROCESS-macro/m-p/973811#M43467</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2025-09-01T08:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: error using the PROCESS macro</title>
      <link>https://communities.sas.com/t5/New-SAS-User/error-using-the-PROCESS-macro/m-p/973827#M43468</link>
      <description>Ive found itfrom the web. Thanks&lt;BR /&gt;</description>
      <pubDate>Mon, 01 Sep 2025 09:44:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/error-using-the-PROCESS-macro/m-p/973827#M43468</guid>
      <dc:creator>hrmannan</dc:creator>
      <dc:date>2025-09-01T09:44:03Z</dc:date>
    </item>
  </channel>
</rss>

