<?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: Simple format question in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Simple-format-question/m-p/53786#M14895</link>
    <description>It appears that the single 0 is being used like a digit selector in a PICTURE statement for some reason. Try assigning another format to the range below 0 such as below.&lt;BR /&gt;
&lt;BR /&gt;
value eq &lt;BR /&gt;
low - &amp;lt;0 = [best8.]&lt;BR /&gt;
1-high = '0';&lt;BR /&gt;
run;</description>
    <pubDate>Thu, 16 Jul 2009 22:56:20 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2009-07-16T22:56:20Z</dc:date>
    <item>
      <title>Simple format question</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Simple-format-question/m-p/53784#M14893</link>
      <description>I want to format a range of numbers so that anything with a value of greater than zero is formatted as zero, whereas anything with a negative value is left unchanged.&lt;BR /&gt;
&lt;BR /&gt;
This is what I am trying to use.&lt;BR /&gt;
&lt;BR /&gt;
proc format;&lt;BR /&gt;
value eq&lt;BR /&gt;
0 - high = 0;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
But as I'm not specifying any format for the range below zero I get the error:&lt;BR /&gt;
&lt;BR /&gt;
ERROR: Invalid value for width specified - width out of range&lt;BR /&gt;
&lt;BR /&gt;
Thanks.</description>
      <pubDate>Mon, 13 Jul 2009 10:58:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Simple-format-question/m-p/53784#M14893</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-07-13T10:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: Simple format question</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Simple-format-question/m-p/53785#M14894</link>
      <description>I got a slightly different error message in SAS 9.2, but the effect was the same.  I was able to get around the message with this format&lt;BR /&gt;
&lt;BR /&gt;
0 - high = 00000;&lt;BR /&gt;
&lt;BR /&gt;
but then it printed all non-negative numbers as 00000, which is also less than ideal.</description>
      <pubDate>Mon, 13 Jul 2009 12:51:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Simple-format-question/m-p/53785#M14894</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2009-07-13T12:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: Simple format question</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Simple-format-question/m-p/53786#M14895</link>
      <description>It appears that the single 0 is being used like a digit selector in a PICTURE statement for some reason. Try assigning another format to the range below 0 such as below.&lt;BR /&gt;
&lt;BR /&gt;
value eq &lt;BR /&gt;
low - &amp;lt;0 = [best8.]&lt;BR /&gt;
1-high = '0';&lt;BR /&gt;
run;</description>
      <pubDate>Thu, 16 Jul 2009 22:56:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Simple-format-question/m-p/53786#M14895</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2009-07-16T22:56:20Z</dc:date>
    </item>
  </channel>
</rss>

