<?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 to Create a Macro Variable in SAS Studio Practice in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Error-to-Create-a-Macro-Variable-in-SAS-Studio-Practice/m-p/863054#M340933</link>
    <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp; for the quick and very useful help. Much appreciated.&lt;/P&gt;&lt;P&gt;Problems solved including the macro issue.&lt;/P&gt;</description>
    <pubDate>Wed, 08 Mar 2023 19:09:23 GMT</pubDate>
    <dc:creator>Jallah_Kennedy</dc:creator>
    <dc:date>2023-03-08T19:09:23Z</dc:date>
    <item>
      <title>Error to Create a Macro Variable in SAS Studio Practice</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-to-Create-a-Macro-Variable-in-SAS-Studio-Practice/m-p/863024#M340915</link>
      <description>&lt;P&gt;Please help me solve this issue to create the macro for the path.&lt;/P&gt;&lt;P&gt;I read some of the solutions in the SAS Community but I still cannot solve it. Thanks.&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;Activity: Create a Macro Variable (REQUIRED)&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;P&gt;Follow the instructions for your software to create a macro variable that stores the location for output files.&lt;/P&gt;SAS Studio&lt;OL&gt;&lt;OL&gt;&lt;LI&gt;In your&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;EPG1V2&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;folder, open&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;libname.sas&lt;/STRONG&gt;.&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;LI&gt;Create a macro variable named&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;outpath&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;that stores the filepath to your&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;EPG1V2/output&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;folder:&lt;/LI&gt;&lt;/OL&gt;&lt;/OL&gt;&lt;PRE&gt;%let outpath=&lt;EM&gt;filepath-to-output-folder&lt;/EM&gt;; &lt;/PRE&gt;&lt;OL&gt;&lt;LI&gt;Run the code.&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;LI&gt;Check the log to be sure there are no errors, then save and close the program.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I replaced the italicized with this:&amp;nbsp;/home/u49276441/EPG1V2/output&lt;/P&gt;&lt;P&gt;and tried to run this:&lt;/P&gt;&lt;PRE&gt;proc export data=pg1.storm_final
     outfile="&amp;amp;outpath/storm_final.csv"
     dbms=csv replace;
run; &lt;BR /&gt;&lt;BR /&gt;I get these errors:&lt;/PRE&gt;&lt;DIV class=""&gt;1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;&lt;DIV class=""&gt;68&lt;/DIV&gt;&lt;DIV class=""&gt;69 proc export data=pg1.storm.final&lt;/DIV&gt;&lt;DIV class=""&gt;ERROR: "PG1.STORM.FINAL" is not a valid name.&lt;/DIV&gt;&lt;DIV class=""&gt;ERROR: Invalid data set name pg1.storm.final.&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 08 Mar 2023 16:11:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-to-Create-a-Macro-Variable-in-SAS-Studio-Practice/m-p/863024#M340915</guid>
      <dc:creator>Jallah_Kennedy</dc:creator>
      <dc:date>2023-03-08T16:11:11Z</dc:date>
    </item>
    <item>
      <title>Re: Error to Create a Macro Variable in SAS Studio Practice</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-to-Create-a-Macro-Variable-in-SAS-Studio-Practice/m-p/863026#M340916</link>
      <description>Your log doesn't appear to match the code.&lt;BR /&gt;&lt;BR /&gt;pg1.storm_final versus&lt;BR /&gt;pg1.storm.final &lt;BR /&gt;&lt;BR /&gt;period versus underscore. &lt;BR /&gt;&lt;BR /&gt;Can you show the full log and code please?</description>
      <pubDate>Wed, 08 Mar 2023 16:14:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-to-Create-a-Macro-Variable-in-SAS-Studio-Practice/m-p/863026#M340916</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2023-03-08T16:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: Error to Create a Macro Variable in SAS Studio Practice</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-to-Create-a-Macro-Variable-in-SAS-Studio-Practice/m-p/863054#M340933</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp; for the quick and very useful help. Much appreciated.&lt;/P&gt;&lt;P&gt;Problems solved including the macro issue.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2023 19:09:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-to-Create-a-Macro-Variable-in-SAS-Studio-Practice/m-p/863054#M340933</guid>
      <dc:creator>Jallah_Kennedy</dc:creator>
      <dc:date>2023-03-08T19:09:23Z</dc:date>
    </item>
  </channel>
</rss>

