<?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: Put statement question in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Put-statement-question/m-p/97478#M27514</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just add a couple of parentheses.&amp;nbsp; e.g.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt; (Total10-Total20) (13.4);&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Oct 2012 14:27:51 GMT</pubDate>
    <dc:creator>art297</dc:creator>
    <dc:date>2012-10-17T14:27:51Z</dc:date>
    <item>
      <title>Put statement question</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Put-statement-question/m-p/97477#M27513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the following data step:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data _null_;&lt;/P&gt;&lt;P&gt; Set SHPR;&lt;/P&gt;&lt;P&gt; File "C:\shpr.txt" Lrecl = 900;&lt;/P&gt;&lt;P&gt; Put @1 SPCODE 2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Total10-Total20 13.4;&lt;/P&gt;&lt;P&gt;Run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This produces data in the text file like so:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; 20 0 0 0 0 0 0 0 0 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.0000&lt;/P&gt;&lt;P&gt; 30 0 0 0 0 0 0 0 0 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.0000&lt;/P&gt;&lt;P&gt; 20 0 0 0 0 0 0 0 0 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.0000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clearly, what is happening is that it outputs the variables Total10-Total19 just as zero, and outputs the variable Total20 with the numeric format 13.4.&lt;/P&gt;&lt;P&gt;I want all of those variables Total10-Total20 to be output with the numeric format 13.4. Is there a way for me to do this without me having to specify all&lt;/P&gt;&lt;P&gt;of the variables individually? The above is a snippet of my code - there are several hundred of these "Total" variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2012 14:21:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Put-statement-question/m-p/97477#M27513</guid>
      <dc:creator>mediaeval</dc:creator>
      <dc:date>2012-10-17T14:21:44Z</dc:date>
    </item>
    <item>
      <title>Re: Put statement question</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Put-statement-question/m-p/97478#M27514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just add a couple of parentheses.&amp;nbsp; e.g.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt; (Total10-Total20) (13.4);&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2012 14:27:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Put-statement-question/m-p/97478#M27514</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2012-10-17T14:27:51Z</dc:date>
    </item>
  </channel>
</rss>

