<?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: Trouble with macro that converts datasets into datasteps in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Trouble-with-macro-that-converts-datasets-into-datasteps/m-p/341181#M78057</link>
    <description>&lt;P&gt;Just repeat the steps you succesfully used when we solved &lt;A href="https://communities.sas.com/t5/Base-SAS-Programming/Filtering-out-entries-that-do-not-have-a-certain-scheme/td-p/340374" target="_blank"&gt;https://communities.sas.com/t5/Base-SAS-Programming/Filtering-out-entries-that-do-not-have-a-certain-scheme/td-p/340374&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 15 Mar 2017 13:28:27 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2017-03-15T13:28:27Z</dc:date>
    <item>
      <title>Trouble with macro that converts datasets into datasteps</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Trouble-with-macro-that-converts-datasets-into-datasteps/m-p/341144#M78039</link>
      <description>&lt;P&gt;I'm trying to convert a sample dataset and its been giving me this error. Not quite sure what I typed wrong:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt; 
 1          OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 WARNING: Apparent invocation of macro DATA2DATASTEP not resolved.
 61         
 62         %data2datastep(samplemonthanalysis,mydata,,100);
            _
            180
 
 ERROR 180-322: Statement is not valid or it is used out of proper order.
 
 63         
 64         OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 77         &lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 15 Mar 2017 11:51:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Trouble-with-macro-that-converts-datasets-into-datasteps/m-p/341144#M78039</guid>
      <dc:creator>byeh2017</dc:creator>
      <dc:date>2017-03-15T11:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble with macro that converts datasets into datasteps</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Trouble-with-macro-that-converts-datasets-into-datasteps/m-p/341150#M78042</link>
      <description>&lt;P&gt;That error is telling you that the macro is never defined. &amp;nbsp;You either need to have it in code before the call (i.e. a %macro ... %mend; before the code) or %include "..."; another file which does contain that macro definition - again, before you try to use it.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2017 12:11:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Trouble-with-macro-that-converts-datasets-into-datasteps/m-p/341150#M78042</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-03-15T12:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble with macro that converts datasets into datasteps</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Trouble-with-macro-that-converts-datasets-into-datasteps/m-p/341173#M78053</link>
      <description>&lt;P&gt;Do you know where the file data2datastep.sas is stored?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here are a couple of additional possibilities for what went wrong.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Should your program contain an OPTIONS SASAUTOS= statement that was inadvertently omitted?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Did your EG session try to work with other macros that were not found, before encountering this error?&amp;nbsp; (This situation&amp;nbsp;can be overcome by just starting a new EG session.)&lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2017 13:15:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Trouble-with-macro-that-converts-datasets-into-datasteps/m-p/341173#M78053</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2017-03-15T13:15:13Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble with macro that converts datasets into datasteps</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Trouble-with-macro-that-converts-datasets-into-datasteps/m-p/341181#M78057</link>
      <description>&lt;P&gt;Just repeat the steps you succesfully used when we solved &lt;A href="https://communities.sas.com/t5/Base-SAS-Programming/Filtering-out-entries-that-do-not-have-a-certain-scheme/td-p/340374" target="_blank"&gt;https://communities.sas.com/t5/Base-SAS-Programming/Filtering-out-entries-that-do-not-have-a-certain-scheme/td-p/340374&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2017 13:28:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Trouble-with-macro-that-converts-datasets-into-datasteps/m-p/341181#M78057</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-03-15T13:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble with macro that converts datasets into datasteps</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Trouble-with-macro-that-converts-datasets-into-datasteps/m-p/341469#M78166</link>
      <description>&lt;P&gt;It seems that a simple reloading of a new session helped with it. Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2017 08:33:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Trouble-with-macro-that-converts-datasets-into-datasteps/m-p/341469#M78166</guid>
      <dc:creator>byeh2017</dc:creator>
      <dc:date>2017-03-16T08:33:11Z</dc:date>
    </item>
  </channel>
</rss>

