<?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 Freq-Help in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Proc-Freq-Help/m-p/96426#M20356</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Another question is that&lt;/P&gt;&lt;P&gt;Can where clause be used with Numeric variable????What is in brackets is a numeric variable???can we use it???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where (numeric variable) ne .&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;where not missing(numeric variable) ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ofter times I get this Error: Where clause operator requires compatible variables!!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Oct 2012 04:22:24 GMT</pubDate>
    <dc:creator>robertrao</dc:creator>
    <dc:date>2012-10-17T04:22:24Z</dc:date>
    <item>
      <title>Proc Freq-Help</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Freq-Help/m-p/96417#M20347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a numeric variable which has values&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;2&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;i wrote the format&lt;/P&gt;&lt;P&gt;proc format;&lt;/P&gt;&lt;P&gt;value char&lt;/P&gt;&lt;P&gt;1="ONE"&lt;/P&gt;&lt;P&gt;2="TWO"&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;dint use anything for the .(missing value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the data step i used&lt;/P&gt;&lt;P&gt;Z=put(numeric variable,char.) so the values are converted to a charecter now&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I am doing proc freq containing this variable and I dint want to get the missing(.)&lt;/P&gt;&lt;P&gt;So in the proc freq I use :&lt;/P&gt;&lt;P&gt;where (numeric variable) ne ".";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even then the periood remains............&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had to go to the format and write other =" ";&amp;nbsp; to arrive at the result...Finally it gives Missing in the Contingency table at the bottom with out showing in the table itself...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could somebody explain the logic behind????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a ton&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2012 05:17:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Freq-Help/m-p/96417#M20347</guid>
      <dc:creator>robertrao</dc:creator>
      <dc:date>2012-10-16T05:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Freq-Help</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Freq-Help/m-p/96418#M20348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you mixed the missing value of both numeric and character.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where (numeric variable) ne .&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where not missing(numeric variable) ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ksharp&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2012 05:30:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Freq-Help/m-p/96418#M20348</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2012-10-16T05:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Freq-Help</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Freq-Help/m-p/96419#M20349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the datastep i used a&lt;STRONG&gt; put function&lt;/STRONG&gt; to apply the format above.&lt;/P&gt;&lt;P&gt;The format gets applied and . (missing stays as it is)&lt;/P&gt;&lt;P&gt;But the variable attributes is char now so i tried to use&lt;/P&gt;&lt;P&gt;where (numeric variable) ne&lt;STRONG&gt;" ." &lt;/STRONG&gt; ;&lt;/P&gt;&lt;P&gt;Still missing appears in the 2*2 table..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2012 05:42:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Freq-Help/m-p/96419#M20349</guid>
      <dc:creator>robertrao</dc:creator>
      <dc:date>2012-10-16T05:42:08Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Freq-Help</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Freq-Help/m-p/96420#M20350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As Ksharp suggests I believe that you are confusing numeric and character missing values;&lt;/P&gt;&lt;P&gt;The numeric variable is not changed by the PUT function.&amp;nbsp; The new variable Z is character and the period (.) is no longer a missing value.&lt;/P&gt;&lt;P&gt;Is the following something like you are seeing (you did not show much code so I am guessing)?&amp;nbsp; Notice that the missing value for NUM is automatically excluded by FREQ (it is a classification variable), while Z has no missing values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc format;&lt;BR /&gt;value char&lt;BR /&gt;1="ONE"&lt;BR /&gt;2="TWO";&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data have;&lt;BR /&gt;input num;&lt;BR /&gt;z=put(num,char.);&lt;BR /&gt;datalines;&lt;BR /&gt;1&lt;BR /&gt;2&lt;BR /&gt;.&lt;BR /&gt;run;&lt;BR /&gt;proc freq data=have;&lt;BR /&gt;table num*z;&lt;BR /&gt;format num char.;&lt;BR /&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2012 06:07:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Freq-Help/m-p/96420#M20350</guid>
      <dc:creator>ArtC</dc:creator>
      <dc:date>2012-10-16T06:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Freq-Help</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Freq-Help/m-p/96421#M20351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;Thanks for the detailed explanation.&lt;/P&gt;&lt;P&gt;I did not do it the way you showed me.&lt;/P&gt;&lt;P&gt;But in the format i wrote like this:&lt;/P&gt;&lt;P&gt;proc format;&lt;BR /&gt;value char&lt;BR /&gt;1="ONE"&lt;BR /&gt;2="TWO";&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;other=" "&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;--------------------&lt;/STRONG&gt;&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;But it took me a long time to figure this out....and got the missing(.) eliminated from the contingency table&lt;/P&gt;&lt;P&gt;So the other way is how you showed it above???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2012 13:58:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Freq-Help/m-p/96421#M20351</guid>
      <dc:creator>robertrao</dc:creator>
      <dc:date>2012-10-16T13:58:38Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Freq-Help</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Freq-Help/m-p/96422#M20352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another way is before the data step using the put function set&amp;nbsp; Option missing=' '; The format approach is probably better most times but knowing about the option as an alternative is useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, remember to set mising back to '.' when done.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2012 14:13:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Freq-Help/m-p/96422#M20352</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2012-10-16T14:13:07Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Freq-Help</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Freq-Help/m-p/96423#M20353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also dint understand how the missing will be set back to "." after done????&lt;/P&gt;&lt;P&gt;Could you please show an example of the put function set&amp;nbsp; Option missing=' ';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2012 14:22:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Freq-Help/m-p/96423#M20353</guid>
      <dc:creator>robertrao</dc:creator>
      <dc:date>2012-10-16T14:22:50Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Freq-Help</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Freq-Help/m-p/96424#M20354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;The output for put statement or put function behaves the same with the option missing settings. Look in log for example&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;data _null_; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;x = .; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;put 'Option missing=.' x; &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;&lt;/P&gt;&lt;P&gt;option missing=' '; /* set missing to blank*/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data _null_; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;x = .; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;put 'Option missing= blank' x; &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;option missing='.'; /* reset to . when done */&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2012 14:32:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Freq-Help/m-p/96424#M20354</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2012-10-16T14:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Freq-Help</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Freq-Help/m-p/96425#M20355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hiiii,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After I run thwe complete program I get a 2*2 table with&lt;/P&gt;&lt;P&gt;num varaible having values ONE TWO&lt;/P&gt;&lt;P&gt;z variable having values&amp;nbsp; &lt;STRONG&gt;. &lt;/STRONG&gt;&amp;nbsp; ONE TWO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NUM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Z &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;.&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ONE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TWO&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ONE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TWO&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i remove the &lt;STRONG&gt;.&lt;/STRONG&gt; from Z now????I do not want it to be seen in the table!!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess THAT would be to use"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc format;&lt;/P&gt;&lt;P&gt;value char&lt;/P&gt;&lt;P&gt;1="ONE"&lt;/P&gt;&lt;P&gt;2="TWO"&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;. =" "&lt;/STRONG&gt;&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;Any other methods....?????????&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2012 03:35:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Freq-Help/m-p/96425#M20355</guid>
      <dc:creator>robertrao</dc:creator>
      <dc:date>2012-10-17T03:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Freq-Help</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Freq-Help/m-p/96426#M20356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Another question is that&lt;/P&gt;&lt;P&gt;Can where clause be used with Numeric variable????What is in brackets is a numeric variable???can we use it???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where (numeric variable) ne .&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;where not missing(numeric variable) ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ofter times I get this Error: Where clause operator requires compatible variables!!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2012 04:22:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Freq-Help/m-p/96426#M20356</guid>
      <dc:creator>robertrao</dc:creator>
      <dc:date>2012-10-17T04:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Freq-Help</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Freq-Help/m-p/96427#M20357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Assuming that you are using the CHAR. format shown in your post (the version mapping . to ' ') (numeric missing to character missing), you should be seeing just the columns ONE and TWO for both NUM and Z.&amp;nbsp; PROC FREQ like other procedures that work with classification variables automatically exclude observations with classification variables (NUM and Z) that take on a missing value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you could also apply a WHERE to subset the data by eliminating the missing values in an earlier step. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2012 16:48:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Freq-Help/m-p/96427#M20357</guid>
      <dc:creator>ArtC</dc:creator>
      <dc:date>2012-10-17T16:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Freq-Help</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Freq-Help/m-p/96428#M20358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for the reply. Below in the format &lt;STRONG&gt;if I did not use&lt;/STRONG&gt; &lt;STRONG&gt; . =" "&lt;/STRONG&gt;&amp;nbsp; then I would be getting&lt;STRONG&gt; .&lt;/STRONG&gt; in the cross tabulation table as shown above.&lt;/P&gt;&lt;P&gt;I want to clarify if adding&lt;STRONG&gt; . = " " in the format is the only way to get rid of the . from the z variable(char variable) during cross tabulation?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc format;&lt;/P&gt;&lt;P&gt;value char&lt;/P&gt;&lt;P&gt;1="ONE"&lt;/P&gt;&lt;P&gt;2="TWO"&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;. =" "&amp;nbsp;&amp;nbsp; &amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;-------------------------if i did not use this&lt;/STRONG&gt;&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;STRONG&gt;can i also do this;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc freq data=have;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;where z ne "." ;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*assuming I dint use &lt;STRONG&gt; . = " " in the proc format*/&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;table num*z;&lt;/P&gt;&lt;P&gt;format num char.;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2012 17:09:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Freq-Help/m-p/96428#M20358</guid>
      <dc:creator>robertrao</dc:creator>
      <dc:date>2012-10-17T17:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Freq-Help</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Freq-Help/m-p/96429#M20359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could filter for the '.' using a WHERE.&amp;nbsp; However you will also need to use a LEFT function to eliminate leading blanks.&amp;nbsp; The period is actually being stored with two leading blanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc freq data=have(where=(left(z) ne '.'));&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2012 17:54:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Freq-Help/m-p/96429#M20359</guid>
      <dc:creator>ArtC</dc:creator>
      <dc:date>2012-10-17T17:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Freq-Help</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Freq-Help/m-p/96430#M20360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tried and tested it. Great help. Thanks for the in depth&amp;nbsp; explanation....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2012 18:25:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Freq-Help/m-p/96430#M20360</guid>
      <dc:creator>robertrao</dc:creator>
      <dc:date>2012-10-17T18:25:22Z</dc:date>
    </item>
  </channel>
</rss>

