<?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 Basic Question: Put statement not writing to log. in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Basic-Question-Put-statement-not-writing-to-log/m-p/256083#M49024</link>
    <description>&lt;P&gt;Hi, I have started learning SAS.&amp;nbsp;When i type the below&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;put 'I am here';&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am expecting "I am here" to be written to log.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But Put statement is not incorporating blue color and after running it gives error: Statement is not valid or used out of proper order. But %put is working (macro). Any suggestions pls.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 11 Mar 2016 12:03:51 GMT</pubDate>
    <dc:creator>Rafi</dc:creator>
    <dc:date>2016-03-11T12:03:51Z</dc:date>
    <item>
      <title>Basic Question: Put statement not writing to log.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Basic-Question-Put-statement-not-writing-to-log/m-p/256083#M49024</link>
      <description>&lt;P&gt;Hi, I have started learning SAS.&amp;nbsp;When i type the below&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;put 'I am here';&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am expecting "I am here" to be written to log.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But Put statement is not incorporating blue color and after running it gives error: Statement is not valid or used out of proper order. But %put is working (macro). Any suggestions pls.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2016 12:03:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Basic-Question-Put-statement-not-writing-to-log/m-p/256083#M49024</guid>
      <dc:creator>Rafi</dc:creator>
      <dc:date>2016-03-11T12:03:51Z</dc:date>
    </item>
    <item>
      <title>Re: Basic Question: Put statement not writing to log.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Basic-Question-Put-statement-not-writing-to-log/m-p/256084#M49025</link>
      <description>&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;Try:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;Data&lt;/STRONG&gt;&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;_NULL_&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;put&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;FONT color="#800080" face="Courier New" size="3"&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"'I am here'"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;Run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;%Put&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt; 'I am here';&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2016 12:06:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Basic-Question-Put-statement-not-writing-to-log/m-p/256084#M49025</guid>
      <dc:creator>user24feb</dc:creator>
      <dc:date>2016-03-11T12:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: Basic Question: Put statement not writing to log.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Basic-Question-Put-statement-not-writing-to-log/m-p/256093#M49026</link>
      <description>&lt;P&gt;PUT needs to be used in a data step.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;%PUT can be used anywhere.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2016 12:24:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Basic-Question-Put-statement-not-writing-to-log/m-p/256093#M49026</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-03-11T12:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: Basic Question: Put statement not writing to log.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Basic-Question-Put-statement-not-writing-to-log/m-p/256096#M49029</link>
      <description>&lt;P&gt;The&amp;nbsp;&lt;A href="http://support.sas.com/documentation/cdl/en/lestmtsref/68024/HTML/default/viewer.htm#n1spe7nmkmi7ywn175002rof97fv.htm" target="_self"&gt;PUT Statement&lt;/A&gt; is valid only in a DATA step and can not be used in "open code" or in procedure steps.&lt;/P&gt;
&lt;P&gt;That's why you need the DATA and RUN statements around it.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2016 12:32:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Basic-Question-Put-statement-not-writing-to-log/m-p/256096#M49029</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-03-11T12:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: Basic Question: Put statement not writing to log.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Basic-Question-Put-statement-not-writing-to-log/m-p/256102#M49030</link>
      <description>&lt;P&gt;To add, you talk about the coloring of items in the log. &amp;nbsp;This is defined based on a set of rules, for instance ERROR: text will come out red, WARNING: will come out green. &amp;nbsp;Your code will appear (if default install) as black font in the log, NOTEs will appear in blue and error/warning as above. &amp;nbsp;This is just for highlighting information points and doesn't affect anything.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2016 13:03:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Basic-Question-Put-statement-not-writing-to-log/m-p/256102#M49030</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2016-03-11T13:03:20Z</dc:date>
    </item>
  </channel>
</rss>

