<?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: Proc Format in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Format/m-p/98#M16</link>
    <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
  This question is not related to ODS and Base reporting, and is best answered by our excellent technical support staff.  See &lt;A href="http://support.sas.com/techsup/intro.html" target="_blank"&gt;http://support.sas.com/techsup/intro.html&lt;/A&gt; .&lt;BR /&gt;
&lt;BR /&gt;
  Good luck with learning and using SAS!&lt;BR /&gt;
&lt;BR /&gt;
 -- David Kelley, SAS</description>
    <pubDate>Mon, 13 Mar 2006 13:39:35 GMT</pubDate>
    <dc:creator>David_SAS</dc:creator>
    <dc:date>2006-03-13T13:39:35Z</dc:date>
    <item>
      <title>Proc Format</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Format/m-p/97#M15</link>
      <description>Hallo NG,&lt;BR /&gt;
as new sasii, i was trying to run some examples from "Power of Proc Format." One example will not run correctly. This is  the:&lt;BR /&gt;
proc format;&lt;BR /&gt;
value score_f low-&amp;lt;160 = ‘INCA’  &lt;BR /&gt;
160-179 = ‘INCB’&lt;BR /&gt;
180-199 = ‘INCC’&lt;BR /&gt;
200-219 = ‘INCD’&lt;BR /&gt;
220-high = ‘INCE’;&lt;BR /&gt;
&lt;BR /&gt;
value INCA low-&amp;lt;35000=’ 500’ 35000-&amp;lt;45000=’750’ 45000-&amp;lt;55000=’1000’&lt;BR /&gt;
55000-high=’1250’;&lt;BR /&gt;
value INCB low-&amp;lt;35000=’1500’ 35000-&amp;lt;45000=’2000’ 45000-&amp;lt;55000=’2500’&lt;BR /&gt;
55000-high=’3000’;&lt;BR /&gt;
value INCC low-&amp;lt;35000=’4000’ 35000-&amp;lt;45000=’4500’ 45000-&amp;lt;55000=’5000’&lt;BR /&gt;
55000-high=’6000’;&lt;BR /&gt;
value INCD low-&amp;lt;35000=’7000’ 35000-&amp;lt;45000=’7500’ 45000-&amp;lt;55000=’8000’&lt;BR /&gt;
55000-high=’8500’;&lt;BR /&gt;
value INCE low-&amp;lt;35000=’9000’ 35000-&amp;lt;45000=’10000’ 45000-&amp;lt;55000=’15000’&lt;BR /&gt;
55000-high=’20000’;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
data scorestt;&lt;BR /&gt;
set scores;&lt;BR /&gt;
&lt;BR /&gt;
fmtuse = put(score,score_f.);  &lt;BR /&gt;
&lt;BR /&gt;
line = input(put(income_est,fmtuse),best12.0);  &lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
The following error occurred:&lt;BR /&gt;
&lt;BR /&gt;
id=19 x=-1.226326813 score=176 lnest=0.777661291 pbad=0.6851758499 a=0.9131872989 bad=1&lt;BR /&gt;
income_est=23806 fmtuse=‘INCB’ line=  _ERROR_=1 _N_=19&lt;BR /&gt;
NOTE: Argument 2 to function PUTC at line 389 column 8 is invalid.&lt;BR /&gt;
&lt;BR /&gt;
Has anybody an idea?Can i not use strings as format name?Must they end with a period.

&lt;BR /&gt;
Message was edited by: new_sasi at Mar 12, 2006 2:37 PM&lt;BR /&gt;</description>
      <pubDate>Sun, 12 Mar 2006 19:37:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Format/m-p/97#M15</guid>
      <dc:creator>new_sasi</dc:creator>
      <dc:date>2006-03-12T19:37:15Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Format</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Format/m-p/98#M16</link>
      <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
  This question is not related to ODS and Base reporting, and is best answered by our excellent technical support staff.  See &lt;A href="http://support.sas.com/techsup/intro.html" target="_blank"&gt;http://support.sas.com/techsup/intro.html&lt;/A&gt; .&lt;BR /&gt;
&lt;BR /&gt;
  Good luck with learning and using SAS!&lt;BR /&gt;
&lt;BR /&gt;
 -- David Kelley, SAS</description>
      <pubDate>Mon, 13 Mar 2006 13:39:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Format/m-p/98#M16</guid>
      <dc:creator>David_SAS</dc:creator>
      <dc:date>2006-03-13T13:39:35Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Format</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Format/m-p/99#M17</link>
      <description>I went back and looked at the SAS code for the BBU (book by user)&lt;BR /&gt;
&lt;I&gt;The Power of PROC FORMAT&lt;/I&gt;, which you can find at &lt;A href="http://www.sas.com/apps/pubscat/bookdetails.jsp?pc=59498&amp;amp;promo=BS" target="_blank"&gt;http://www.sas.com/apps/pubscat/bookdetails.jsp?pc=59498&amp;amp;promo=BS&lt;/A&gt; &lt;BR /&gt;
&lt;BR /&gt;
The snippet in question is:&lt;BR /&gt;
[pre]&lt;BR /&gt;
data scores;&lt;BR /&gt;
  set bbu.scores;&lt;BR /&gt;
  fmtuse = put(score,score_f.);  &lt;BR /&gt;
  line = input(putn(income_est,fmtuse),best12.);&lt;BR /&gt;
run;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
Notice that the code does PUTN, not PUT.  "new_sasi", can you fix up your code and retry?&lt;BR /&gt;
&lt;BR /&gt;
 -- David Kelley, SAS</description>
      <pubDate>Mon, 13 Mar 2006 16:47:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Format/m-p/99#M17</guid>
      <dc:creator>David_SAS</dc:creator>
      <dc:date>2006-03-13T16:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Format</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Format/m-p/100#M18</link>
      <description>Glad to see my book has made this forum.  Hope to see many of you at SUGI this week.  &lt;BR /&gt;
&lt;BR /&gt;
Jonas V. Bilenas</description>
      <pubDate>Mon, 27 Mar 2006 04:59:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Format/m-p/100#M18</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2006-03-27T04:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Format</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Format/m-p/101#M19</link>
      <description>Quote: "This question is not related to ODS and Base reporting, ..."&lt;BR /&gt;
&lt;BR /&gt;
There seems to be a lot of topics for discussion that do not fit into any of the topics setup in the forum. Could this suggest a new topic forum: "Base SAS discussions" or "ETL" possibly?</description>
      <pubDate>Thu, 30 Mar 2006 10:24:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Format/m-p/101#M19</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2006-03-30T10:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Format</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Format/m-p/102#M20</link>
      <description>Please submit your suggestions for improvements or additional forums using the form available at &lt;A href="http://support.sas.com/contact/comment-form.html" target="_blank"&gt;http://support.sas.com/contact/comment-form.html&lt;/A&gt; .&lt;BR /&gt;
&lt;BR /&gt;
-- David Kelley, SAS</description>
      <pubDate>Fri, 31 Mar 2006 15:59:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-Format/m-p/102#M20</guid>
      <dc:creator>David_SAS</dc:creator>
      <dc:date>2006-03-31T15:59:19Z</dc:date>
    </item>
  </channel>
</rss>

