<?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 SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/proc-format/m-p/266591#M52573</link>
    <description>&lt;P&gt;Sorry about the confusion. only half ofthe ouput was displayed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;anyway,&amp;nbsp;this is how &amp;nbsp;my output looks like&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sum&lt;/P&gt;&lt;DIV&gt;math 124&lt;/DIV&gt;&lt;DIV&gt;phys &amp;nbsp;231&lt;/DIV&gt;&lt;DIV&gt;philo &amp;nbsp; 79&lt;/DIV&gt;&lt;DIV&gt;grd &amp;nbsp; 106&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;but I want&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sum&lt;/P&gt;&lt;DIV&gt;mathematics 124&lt;/DIV&gt;&lt;DIV&gt;physics &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;231&lt;/DIV&gt;&lt;DIV&gt;philosophy &amp;nbsp; &amp;nbsp; &amp;nbsp;79&lt;/DIV&gt;&lt;DIV&gt;grade &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;106&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 27 Apr 2016 01:35:48 GMT</pubDate>
    <dc:creator>archibald</dc:creator>
    <dc:date>2016-04-27T01:35:48Z</dc:date>
    <item>
      <title>proc format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-format/m-p/266588#M52570</link>
      <description>&lt;DIV class="body undoreset"&gt;&lt;DIV class="email-wrapped"&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;Hi all,&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;I added the format option in&amp;nbsp;my code&amp;nbsp;to get the complete label of the variables, but it does not seem to work . see output below. Any idea? Thanks.&lt;/STRONG&gt;&lt;BR /&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc tabulate data=school ;
tables (math phys philo grd)*sum*f=10.0, all ;
format  math mathematics. phys physics. philo philosophy. grd grade.;
var math phys philo grd;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;math 124&lt;/DIV&gt;&lt;DIV&gt;phys &amp;nbsp;231&lt;/DIV&gt;&lt;DIV&gt;philo &amp;nbsp; 79&lt;/DIV&gt;&lt;DIV&gt;grd &amp;nbsp; 106&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 27 Apr 2016 01:01:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-format/m-p/266588#M52570</guid>
      <dc:creator>archibald</dc:creator>
      <dc:date>2016-04-27T01:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: proc format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-format/m-p/266589#M52571</link>
      <description>&lt;P&gt;A touch confused.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Formats are used to control the display of a variables values. I've variable math has the values math101, math102&lt;/P&gt;
&lt;P&gt;Labels are used to control the display of a variable name ie math='Mathematics'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your output and description don't seem to match, which are you trying to do?&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2016 01:10:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-format/m-p/266589#M52571</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-04-27T01:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: proc format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-format/m-p/266591#M52573</link>
      <description>&lt;P&gt;Sorry about the confusion. only half ofthe ouput was displayed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;anyway,&amp;nbsp;this is how &amp;nbsp;my output looks like&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sum&lt;/P&gt;&lt;DIV&gt;math 124&lt;/DIV&gt;&lt;DIV&gt;phys &amp;nbsp;231&lt;/DIV&gt;&lt;DIV&gt;philo &amp;nbsp; 79&lt;/DIV&gt;&lt;DIV&gt;grd &amp;nbsp; 106&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;but I want&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sum&lt;/P&gt;&lt;DIV&gt;mathematics 124&lt;/DIV&gt;&lt;DIV&gt;physics &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;231&lt;/DIV&gt;&lt;DIV&gt;philosophy &amp;nbsp; &amp;nbsp; &amp;nbsp;79&lt;/DIV&gt;&lt;DIV&gt;grade &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;106&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 27 Apr 2016 01:35:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-format/m-p/266591#M52573</guid>
      <dc:creator>archibald</dc:creator>
      <dc:date>2016-04-27T01:35:48Z</dc:date>
    </item>
    <item>
      <title>Re: proc format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-format/m-p/266593#M52575</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc tabulate data=school ;
tables (math='mathematics'  phys='physics'   philo='philosophy'  grd='grade' )*sum*f=10.0, all ;

var math phys philo grd;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;It is variable label, has nothing to do with FORMAT.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2016 01:46:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-format/m-p/266593#M52575</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2016-04-27T01:46:40Z</dc:date>
    </item>
    <item>
      <title>Re: proc format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-format/m-p/266594#M52576</link>
      <description>&lt;P&gt;Given your code try labels then, instead of format.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If if that doesn't work please post a sample of your input data set.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Label math='Mathematics';&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2016 01:47:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-format/m-p/266594#M52576</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-04-27T01:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: proc format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-format/m-p/266597#M52579</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Formats will not be a solution for this. Just use variable labels in table statement to get the full text. Try this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE class=" language-sas"&gt;proc tabulate data=school ;&lt;BR /&gt;&lt;STRONG&gt;tables (math='mathematics' phys='physics' philo='philosophy' grd='grade')*sum*f=10.0, all ;&lt;/STRONG&gt;&lt;BR /&gt;var math phys philo grd;&lt;BR /&gt;run;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2016 01:53:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-format/m-p/266597#M52579</guid>
      <dc:creator>stat_sas</dc:creator>
      <dc:date>2016-04-27T01:53:15Z</dc:date>
    </item>
  </channel>
</rss>

