<?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: Ho Can I Write a Variable Value to SAS log From Proc Report in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Ho-Can-I-Write-a-Variable-Value-to-SAS-log-From-Proc-Report/m-p/350158#M63804</link>
    <description>&lt;P&gt;This does what I think you are asking.&amp;nbsp; Why prints out twice I don't know.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc report data=sashelp.class nowd;
   columns _all_;
   define _all_ / display;
   compute name;
      i + 1;
      call execute(cat('%put NOTE: ',name,' ',i,';'));
      endcomp;
   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>Fri, 14 Apr 2017 18:59:46 GMT</pubDate>
    <dc:creator>data_null__</dc:creator>
    <dc:date>2017-04-14T18:59:46Z</dc:date>
    <item>
      <title>Ho Can I Write a Variable Value to SAS log From Proc Report</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Ho-Can-I-Write-a-Variable-Value-to-SAS-log-From-Proc-Report/m-p/350087#M63800</link>
      <description>&lt;P&gt;For debugging purposes is there a way I can write a variable (column)&amp;nbsp;value to the log in a PROC REPORT?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2017 16:01:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Ho-Can-I-Write-a-Variable-Value-to-SAS-log-From-Proc-Report/m-p/350087#M63800</guid>
      <dc:creator>eg_michael</dc:creator>
      <dc:date>2017-04-14T16:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: Ho Can I Write a Variable Value to SAS log From Proc Report</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Ho-Can-I-Write-a-Variable-Value-to-SAS-log-From-Proc-Report/m-p/350089#M63801</link>
      <description>&lt;P&gt;You can output data on the proc report statement with for example, "out = my_rpt_data" and then just use a data _null_; with put statements to write variable values to the log.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2017 16:05:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Ho-Can-I-Write-a-Variable-Value-to-SAS-log-From-Proc-Report/m-p/350089#M63801</guid>
      <dc:creator>collinelliot</dc:creator>
      <dc:date>2017-04-14T16:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: Ho Can I Write a Variable Value to SAS log From Proc Report</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Ho-Can-I-Write-a-Variable-Value-to-SAS-log-From-Proc-Report/m-p/350158#M63804</link>
      <description>&lt;P&gt;This does what I think you are asking.&amp;nbsp; Why prints out twice I don't know.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc report data=sashelp.class nowd;
   columns _all_;
   define _all_ / display;
   compute name;
      i + 1;
      call execute(cat('%put NOTE: ',name,' ',i,';'));
      endcomp;
   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>Fri, 14 Apr 2017 18:59:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Ho-Can-I-Write-a-Variable-Value-to-SAS-log-From-Proc-Report/m-p/350158#M63804</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2017-04-14T18:59:46Z</dc:date>
    </item>
  </channel>
</rss>

