<?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: NOTE: Line generated by macro function in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/NOTE-Line-generated-by-macro-function/m-p/306552#M312617</link>
    <description>&lt;P&gt;The data set names in your DATA statement do not match the names in your OUTPUT statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That may be a separate issue since it does not seem related to the error message you are getting.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That message might imply that one variation of your code included something like %i(........)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 22 Oct 2016 11:55:20 GMT</pubDate>
    <dc:creator>Astounding</dc:creator>
    <dc:date>2016-10-22T11:55:20Z</dc:date>
    <item>
      <title>NOTE: Line generated by macro function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/NOTE-Line-generated-by-macro-function/m-p/306514#M312614</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the split macro below&amp;nbsp;that I have been trying to run unsuccesfuly because I get the following error;&lt;STRONG&gt; NOTE: Line generated by the macro function "I."&lt;/STRONG&gt; I have tried some solutions I found online, but I really think that I'm missing smth very obvious; could someone please take a look and let me know what they think? The in.cur_mod2 dataset has 59,325 observations and I am trying to split it into smaller datasets.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;options mlogic mprint symbolgen;&lt;/P&gt;&lt;P&gt;%macro split(num);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data _null_;&lt;/P&gt;&lt;P&gt;if 0 then set in.cur_mod2 nobs=count;&lt;/P&gt;&lt;P&gt;call symput('numobs',put(count,8.));&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;%let n=%sysevalf(&amp;amp;numobs/&amp;amp;num,ceil);&lt;/P&gt;&lt;P&gt;data %do J=1 %to &amp;amp;num; orig_&amp;amp;J %end;;&lt;/P&gt;&lt;P&gt;set in.cur_mod2;&lt;/P&gt;&lt;P&gt;%do I=1 %to &amp;amp;num;&lt;/P&gt;&lt;P&gt;if %eval(&amp;amp;n*(&amp;amp;i-1))&amp;lt;_n_&amp;lt;=%eval(&amp;amp;n*&amp;amp;I)&lt;/P&gt;&lt;P&gt;then output in.cur_mod2_&amp;amp;I;&lt;/P&gt;&lt;P&gt;%end;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;%mend;&lt;/P&gt;&lt;P&gt;%split(10);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 22 Oct 2016 04:38:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/NOTE-Line-generated-by-macro-function/m-p/306514#M312614</guid>
      <dc:creator>maroulator</dc:creator>
      <dc:date>2016-10-22T04:38:43Z</dc:date>
    </item>
    <item>
      <title>Re: NOTE: Line generated by macro function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/NOTE-Line-generated-by-macro-function/m-p/306523#M312615</link>
      <description>&lt;P&gt;Don't. 60,000 records is trivial for SAS and whatever reason you have for splitting the file can be accomplished in another manner.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 22 Oct 2016 05:21:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/NOTE-Line-generated-by-macro-function/m-p/306523#M312615</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-10-22T05:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: NOTE: Line generated by macro function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/NOTE-Line-generated-by-macro-function/m-p/306524#M312616</link>
      <description>&lt;P&gt;Also, in general, post more of your log, from start to error at least.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 22 Oct 2016 05:22:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/NOTE-Line-generated-by-macro-function/m-p/306524#M312616</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-10-22T05:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: NOTE: Line generated by macro function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/NOTE-Line-generated-by-macro-function/m-p/306552#M312617</link>
      <description>&lt;P&gt;The data set names in your DATA statement do not match the names in your OUTPUT statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That may be a separate issue since it does not seem related to the error message you are getting.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That message might imply that one variation of your code included something like %i(........)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 22 Oct 2016 11:55:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/NOTE-Line-generated-by-macro-function/m-p/306552#M312617</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2016-10-22T11:55:20Z</dc:date>
    </item>
  </channel>
</rss>

