<?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: Two-way freq doesn't show the variable names when displayed in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Two-way-freq-doesn-t-show-the-variable-names-when-displayed/m-p/533823#M73849</link>
    <description>&lt;P&gt;I'm guessing that someone messed up the templates for PROC FREQ. Were you trying to customize the output in some manner?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To work around it for now, you can use PROC TABULATE which has very similar functionality for displaying information at least.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/16835"&gt;@jerry898969&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I do a two-way proc freq it doesn't show the two variable names above the freq table.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I never changed any of the setting on my SAS.&amp;nbsp; Is there a way to bring them back?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;EX.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;The SAS System

The FREQ Procedure

Two-Way Table Output

Count   |0-YES    |1-NO     |   Total
--------+---------+---------+
0-YES   |       6 |       2 |       8
--------+---------+---------+
1-NO    |       2 |      56 |      58
--------+---------+---------+
Total           8        58        66&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Under "&lt;CODE class=" language-sas"&gt;Two-Way Table Output&lt;/CODE&gt;" shouldn't I see the 2 variables names used?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 08 Feb 2019 04:04:33 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2019-02-08T04:04:33Z</dc:date>
    <item>
      <title>Two-way freq doesn't show the variable names when displayed</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Two-way-freq-doesn-t-show-the-variable-names-when-displayed/m-p/533656#M73836</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I do a two-way proc freq it doesn't show the two variable names above the freq table.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I never changed any of the setting on my SAS.&amp;nbsp; Is there a way to bring them back?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;EX.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;The SAS System

The FREQ Procedure

Two-Way Table Output

Count   |0-YES    |1-NO     |   Total
--------+---------+---------+
0-YES   |       6 |       2 |       8
--------+---------+---------+
1-NO    |       2 |      56 |      58
--------+---------+---------+
Total           8        58        66&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Under "&lt;CODE class=" language-sas"&gt;Two-Way Table Output&lt;/CODE&gt;" shouldn't I see the 2 variables names used?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 07 Feb 2019 16:56:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Two-way-freq-doesn-t-show-the-variable-names-when-displayed/m-p/533656#M73836</guid>
      <dc:creator>jerry898969</dc:creator>
      <dc:date>2019-02-07T16:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: Two-way freq doesn't show the variable names when displayed</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Two-way-freq-doesn-t-show-the-variable-names-when-displayed/m-p/533663#M73837</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/16835"&gt;@jerry898969&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I do a two-way proc freq it doesn't show the two variable names above the freq table.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I never changed any of the setting on my SAS.&amp;nbsp; Is there a way to bring them back?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;EX.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;The SAS System

The FREQ Procedure

Two-Way Table Output

Count   |0-YES    |1-NO     |   Total
--------+---------+---------+
0-YES   |       6 |       2 |       8
--------+---------+---------+
1-NO    |       2 |      56 |      58
--------+---------+---------+
Total           8        58        66&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Under "&lt;CODE class=" language-sas"&gt;Two-Way Table Output&lt;/CODE&gt;" shouldn't I see the 2 variables names used?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Please show the code you are using. Since the displayed output is not a default two-way proc freq output we need to see all of the options you may have used.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Feb 2019 17:16:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Two-way-freq-doesn-t-show-the-variable-names-when-displayed/m-p/533663#M73837</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-02-07T17:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: Two-way freq doesn't show the variable names when displayed</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Two-way-freq-doesn-t-show-the-variable-names-when-displayed/m-p/533716#M73845</link>
      <description>&lt;P&gt;I apologize for not posting the code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is the code :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
proc freq data= _chk ;
tables Old*New / missing nocol norow nopercent ; 
run ;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 07 Feb 2019 20:09:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Two-way-freq-doesn-t-show-the-variable-names-when-displayed/m-p/533716#M73845</guid>
      <dc:creator>jerry898969</dc:creator>
      <dc:date>2019-02-07T20:09:37Z</dc:date>
    </item>
    <item>
      <title>Re: Two-way freq doesn't show the variable names when displayed</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Two-way-freq-doesn-t-show-the-variable-names-when-displayed/m-p/533741#M73847</link>
      <description>&lt;P&gt;Do you know if anyone using your system has experimented or run example code for Proc Template to modify any table templates?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try running this code:&lt;/P&gt;
&lt;PRE&gt;proc template;
  source base.freq.crosstabfreqs;

run;&lt;/PRE&gt;
&lt;P&gt;A line at the bottom of the output should look like this:&lt;/P&gt;
&lt;PRE&gt;NOTE: Path 'Base.Freq.Crosstabfreqs' is in: SASHELP.TMPLBASE (via SASHELP.TMPLMST).

&lt;/PRE&gt;
&lt;P&gt;If the path references somewhere else then likely someone ran something that created another template that is being used. The most likely alternate path would mention SASUSER.Templat. If that is the case we can use Proc Template to remove the altered template if that is what you need.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Feb 2019 20:53:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Two-way-freq-doesn-t-show-the-variable-names-when-displayed/m-p/533741#M73847</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-02-07T20:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: Two-way freq doesn't show the variable names when displayed</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Two-way-freq-doesn-t-show-the-variable-names-when-displayed/m-p/533823#M73849</link>
      <description>&lt;P&gt;I'm guessing that someone messed up the templates for PROC FREQ. Were you trying to customize the output in some manner?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To work around it for now, you can use PROC TABULATE which has very similar functionality for displaying information at least.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/16835"&gt;@jerry898969&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I do a two-way proc freq it doesn't show the two variable names above the freq table.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I never changed any of the setting on my SAS.&amp;nbsp; Is there a way to bring them back?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;EX.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;The SAS System

The FREQ Procedure

Two-Way Table Output

Count   |0-YES    |1-NO     |   Total
--------+---------+---------+
0-YES   |       6 |       2 |       8
--------+---------+---------+
1-NO    |       2 |      56 |      58
--------+---------+---------+
Total           8        58        66&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Under "&lt;CODE class=" language-sas"&gt;Two-Way Table Output&lt;/CODE&gt;" shouldn't I see the 2 variables names used?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Feb 2019 04:04:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Two-way-freq-doesn-t-show-the-variable-names-when-displayed/m-p/533823#M73849</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-02-08T04:04:33Z</dc:date>
    </item>
    <item>
      <title>Re: Two-way freq doesn't show the variable names when displayed</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Two-way-freq-doesn-t-show-the-variable-names-when-displayed/m-p/534489#M73880</link>
      <description>&lt;P&gt;Hi ballardw,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I ran this code and this is what it said in the log:&amp;nbsp; NOTE: Path 'Base.Freq.Crosstabfreqs' is in: SASUSER.TEMPLAT.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc template;
  source base.freq.crosstabfreqs;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. I went to SAS and right-clicked on the word results in the result window and selected templates.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. I clicked the "+" of&amp;nbsp; Sasuser.Templat&lt;/P&gt;
&lt;P&gt;3. I clicked the "+" of Base&lt;/P&gt;
&lt;P&gt;4. Selected "Freq" and it had "CrossTabFreqs" so I renamed it to "_CrossTabFreqs" .&amp;nbsp;&lt;/P&gt;
&lt;P&gt;5. I re-ran my freq and now it shows the column names.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you all for your help.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Feb 2019 15:27:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Two-way-freq-doesn-t-show-the-variable-names-when-displayed/m-p/534489#M73880</guid>
      <dc:creator>jerry898969</dc:creator>
      <dc:date>2019-02-11T15:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: Two-way freq doesn't show the variable names when displayed</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Two-way-freq-doesn-t-show-the-variable-names-when-displayed/m-p/534562#M73887</link>
      <description>&lt;P&gt;If you search the help for Proc Template there is an example that shows how to modify a procedure's table template, use that, and then remove the replaced template.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Good work on finding at least one manual way to correct the issue once identified.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Feb 2019 18:48:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Two-way-freq-doesn-t-show-the-variable-names-when-displayed/m-p/534562#M73887</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-02-11T18:48:58Z</dc:date>
    </item>
  </channel>
</rss>

