<?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 Two small question - Numeric to Char and Report Output in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Two-small-question-Numeric-to-Char-and-Report-Output/m-p/100220#M28134</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guru's&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my first question:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a numeric field formatted as dollar. But i want to have 'N/A' for where we have 0 value. How do i achieve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) will i be able to keep dollar sign and format but still be able to put 'N/A' for 0's? good to have.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if var_a = 0 then var_a = 'N/A';&amp;nbsp; This is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my second question:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i use Proc report it gives me a good formatted/tabulated report, if i export to html the layout is all messed up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;basically i want to use the proc report output to export to any format&amp;nbsp; (basically read-only) example pdf. How do i change the report layout to landscape (have 60 variables) and define field length etc.?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for sharing your experience/knowledge.&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Oct 2012 16:25:41 GMT</pubDate>
    <dc:creator>Rish</dc:creator>
    <dc:date>2012-10-18T16:25:41Z</dc:date>
    <item>
      <title>Two small question - Numeric to Char and Report Output</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Two-small-question-Numeric-to-Char-and-Report-Output/m-p/100220#M28134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guru's&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my first question:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a numeric field formatted as dollar. But i want to have 'N/A' for where we have 0 value. How do i achieve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) will i be able to keep dollar sign and format but still be able to put 'N/A' for 0's? good to have.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if var_a = 0 then var_a = 'N/A';&amp;nbsp; This is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my second question:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i use Proc report it gives me a good formatted/tabulated report, if i export to html the layout is all messed up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;basically i want to use the proc report output to export to any format&amp;nbsp; (basically read-only) example pdf. How do i change the report layout to landscape (have 60 variables) and define field length etc.?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for sharing your experience/knowledge.&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2012 16:25:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Two-small-question-Numeric-to-Char-and-Report-Output/m-p/100220#M28134</guid>
      <dc:creator>Rish</dc:creator>
      <dc:date>2012-10-18T16:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: Two small question - Numeric to Char and Report Output</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Two-small-question-Numeric-to-Char-and-Report-Output/m-p/100221#M28135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could define a new format to force the zeros to N/A.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;proc format ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;value nadollar (default=12)&amp;nbsp; 0='N/A' other=[dollar12.] ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;data _null_;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; do i=0,500,1500,150000 ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; put i= nadollar8. ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; end;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;i=N/A&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;i=$500&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;i=$1,500&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;i=$150,000&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2012 16:36:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Two-small-question-Numeric-to-Char-and-Report-Output/m-p/100221#M28135</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2012-10-18T16:36:52Z</dc:date>
    </item>
    <item>
      <title>Re: Two small question - Numeric to Char and Report Output</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Two-small-question-Numeric-to-Char-and-Report-Output/m-p/100222#M28136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tom,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the quick response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the above suggestion and may be i am doing something wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is what i want to achieve.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data test1;&lt;/P&gt;&lt;P&gt;format xa $4.;&lt;/P&gt;&lt;P&gt;format ya dollar10.2;&lt;/P&gt;&lt;P&gt;format za dollar10.2;&lt;/P&gt;&lt;P&gt;input xa ya za;&lt;/P&gt;&lt;P&gt;cards;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3.1 1234 26459&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3.1 3126 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4.1 1235 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4.1 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6286&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data test2;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set test1;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if xa = '4.1' then ya = 'N/A';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if xa = '3.1' then za = 'N/A';&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2012 17:13:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Two-small-question-Numeric-to-Char-and-Report-Output/m-p/100222#M28136</guid>
      <dc:creator>Rish</dc:creator>
      <dc:date>2012-10-18T17:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: Two small question - Numeric to Char and Report Output</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Two-small-question-Numeric-to-Char-and-Report-Output/m-p/100223#M28137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your output controls are basically going to be using ODS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ODS HTML path="C:\your folders here" (url=none) body="your file name.html";&lt;/P&gt;&lt;P&gt;(and other html options are available)&lt;BR /&gt;&amp;lt;Your proc report code goes here&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods html close;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Similar for PDF or RTF file formats using ODS PDF or ODS RTF or ODS TAGSETS.RTF ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have "Create HTML" turned on? That would allow the easiest way to get HTML output.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2012 17:20:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Two-small-question-Numeric-to-Char-and-Report-Output/m-p/100223#M28137</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2012-10-18T17:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: Two small question - Numeric to Char and Report Output</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Two-small-question-Numeric-to-Char-and-Report-Output/m-p/100224#M28138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ballardw;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got the PDF and/or HTML output, but can i format the output to say landscape, fit to page1 and column width?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where and how do i define the layout.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2012 17:28:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Two-small-question-Numeric-to-Char-and-Report-Output/m-p/100224#M28138</guid>
      <dc:creator>Rish</dc:creator>
      <dc:date>2012-10-18T17:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: Two small question - Numeric to Char and Report Output</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Two-small-question-Numeric-to-Char-and-Report-Output/m-p/100225#M28139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try adding:&lt;/P&gt;&lt;P&gt;options orientation=landscape;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2012 17:34:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Two-small-question-Numeric-to-Char-and-Report-Output/m-p/100225#M28139</guid>
      <dc:creator>Linlin</dc:creator>
      <dc:date>2012-10-18T17:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: Two small question - Numeric to Char and Report Output</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Two-small-question-Numeric-to-Char-and-Report-Output/m-p/100226#M28140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure what you are trying to do with the second data step.&amp;nbsp; Looks like if the value of XA is 4.1 then variable YA is not applicable?&amp;nbsp; If so then does that mean that the value 0 for variable ZA in the third row is a real value of zero?&amp;nbsp; &lt;/P&gt;&lt;P&gt;Have you considered using SAS missing values instead of coding the missing values as zeros?&amp;nbsp; This will work much better if you want take the mean of values.&amp;nbsp; The missing value will not count into the denominator.&amp;nbsp; So the mean of (0,10) is 5 with a count of 2 but the mean of (.,10) is 10 with a count of 1.&amp;nbsp; To do that make these changes to your sample program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;proc format ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp; value nadollar .='&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; N/A' other=[dollar10.2] ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;run;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;data test1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; length xa $4;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; format ya za nadollar10.2;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; input xa ya za;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;SPAN style="font-family: 'courier new', courier; background-color: #ffffff;"&gt;&amp;nbsp; if xa='3.1' then za=.;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new', courier; background-color: #ffffff;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; font-family: 'courier new', courier;"&gt;&amp;nbsp; if xa='4.1' then ya=.;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;cards;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;3.1 1234 26459&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;3.1 3126 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;4.1 1235 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;4.1 0&amp;nbsp;&amp;nbsp;&amp;nbsp; 6286&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;proc print;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Obs&amp;nbsp;&amp;nbsp;&amp;nbsp; xa&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ya&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; za&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3.1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $1,234.00&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; N/A&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3.1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $3,126.00&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; N/A&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt; 3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4.1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; N/A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $0.00&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt; 4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4.1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; N/A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $6,286.00&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2012 17:34:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Two-small-question-Numeric-to-Char-and-Report-Output/m-p/100226#M28140</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2012-10-18T17:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: Two small question - Numeric to Char and Report Output</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Two-small-question-Numeric-to-Char-and-Report-Output/m-p/100227#M28141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check out SAS missing values. They represent a concept of "this isn't a number".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Change Tom's format to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc format ;&lt;/P&gt;&lt;P&gt;value nadollar (default=12)&amp;nbsp; .='N/A' other=[dollar12.] ;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And your code becomes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if xa = '4.1' then ya = .;&lt;/P&gt;&lt;P&gt;if xa = '3.1' then za = .;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2012 17:40:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Two-small-question-Numeric-to-Char-and-Report-Output/m-p/100227#M28141</guid>
      <dc:creator>TomKari</dc:creator>
      <dc:date>2012-10-18T17:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: Two small question - Numeric to Char and Report Output</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Two-small-question-Numeric-to-Char-and-Report-Output/m-p/100228#M28142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unlike PDF, HTML does not think of pages in terms of paper.&amp;nbsp; Most of the formatting of the layout for HTML is done at the browser end, so there is less that you can control on the report generation side. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2012 05:02:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Two-small-question-Numeric-to-Char-and-Report-Output/m-p/100228#M28142</guid>
      <dc:creator>ArtC</dc:creator>
      <dc:date>2012-10-19T05:02:46Z</dc:date>
    </item>
    <item>
      <title>Re: Two small question - Numeric to Char and Report Output</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Two-small-question-Numeric-to-Char-and-Report-Output/m-p/100229#M28143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My question is answered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately I am not able to flag as "Correct Answer". Not sure why.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try&amp;nbsp; back later for flag.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2012 14:19:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Two-small-question-Numeric-to-Char-and-Report-Output/m-p/100229#M28143</guid>
      <dc:creator>Rish</dc:creator>
      <dc:date>2012-10-19T14:19:17Z</dc:date>
    </item>
  </channel>
</rss>

