<?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: Troubleshooting macro codes in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Troubleshooting-macro-codes/m-p/562554#M157603</link>
    <description>&lt;PRE&gt;call symputx(  cats('Product',_n_)   , product, 'G');&lt;/PRE&gt;</description>
    <pubDate>Thu, 30 May 2019 13:31:26 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2019-05-30T13:31:26Z</dc:date>
    <item>
      <title>Troubleshooting macro codes</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Troubleshooting-macro-codes/m-p/562550#M157599</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I inherited a program containing macro codes and saw the log message below. Can you help troubleshoot what the issue is regarding the following codes?&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;	data _null_;
		set test8 end=eof;
		call symputx('Product'||left(_n_), product, 'G');
		call symputx('Environment'||left(_n_), environment, 'G');
		if eof then call symputx('numrows',_n_, 'G');
	run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;NOTE: Numeric values have been converted to character values at the places given by:&lt;BR /&gt;(Line) : (Column).&lt;BR /&gt;1463:35 1464:35&lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2019 13:27:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Troubleshooting-macro-codes/m-p/562550#M157599</guid>
      <dc:creator>sonic_poem</dc:creator>
      <dc:date>2019-05-30T13:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: Troubleshooting macro codes</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Troubleshooting-macro-codes/m-p/562552#M157601</link>
      <description>&lt;P&gt;This happens because the &lt;A href="https://documentation.sas.com/?docsetId=lefunctionsref&amp;amp;docsetTarget=n1awii5zy0u6g0n1fy6yu1hwqiw4.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_self"&gt;Left Function&lt;/A&gt;&amp;nbsp;requires a character string. If the argument is numeric, the function attempts to convert it to character before left aligning. The code below gives the same Note. Probably nothing no worry about.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data test;
   set sashelp.class;
   a=left(_n_);
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2019 13:28:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Troubleshooting-macro-codes/m-p/562552#M157601</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2019-05-30T13:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: Troubleshooting macro codes</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Troubleshooting-macro-codes/m-p/562553#M157602</link>
      <description>display product and system from test8...are they numeric?&lt;BR /&gt;comment out lines 3-5, run, then uncomment one at a time to figure out where the error is.</description>
      <pubDate>Thu, 30 May 2019 13:30:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Troubleshooting-macro-codes/m-p/562553#M157602</guid>
      <dc:creator>tomrvincent</dc:creator>
      <dc:date>2019-05-30T13:30:21Z</dc:date>
    </item>
    <item>
      <title>Re: Troubleshooting macro codes</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Troubleshooting-macro-codes/m-p/562554#M157603</link>
      <description>&lt;PRE&gt;call symputx(  cats('Product',_n_)   , product, 'G');&lt;/PRE&gt;</description>
      <pubDate>Thu, 30 May 2019 13:31:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Troubleshooting-macro-codes/m-p/562554#M157603</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2019-05-30T13:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: Troubleshooting macro codes</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Troubleshooting-macro-codes/m-p/562559#M157605</link>
      <description>&lt;P&gt;Thank you! It worked!!&lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2019 13:43:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Troubleshooting-macro-codes/m-p/562559#M157605</guid>
      <dc:creator>sonic_poem</dc:creator>
      <dc:date>2019-05-30T13:43:51Z</dc:date>
    </item>
  </channel>
</rss>

