<?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: Id list of all missing entries for all variables next to the cross tabulations in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Id-list-of-all-missing-entries-for-all-variables-next-to-the/m-p/467003#M70661</link>
    <description>Thanks  SuryaKiran,&lt;BR /&gt;&lt;BR /&gt;It worked great! but I have a data set with several variables, is there a&lt;BR /&gt;way to include all variables?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Lalo</description>
    <pubDate>Fri, 01 Jun 2018 19:43:15 GMT</pubDate>
    <dc:creator>lalohg</dc:creator>
    <dc:date>2018-06-01T19:43:15Z</dc:date>
    <item>
      <title>Id list of all missing entries for all variables next to the cross tabulations</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Id-list-of-all-missing-entries-for-all-variables-next-to-the/m-p/466961#M70657</link>
      <description>&lt;P&gt;Hello there,&lt;/P&gt;
&lt;P&gt;I need to get the list of id for all variables with missing entries and also the cross tabulations of non-missing entries for all variables excluding long list of variables to print (for instance dates or id)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;for example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc freq data=x;&lt;/P&gt;
&lt;P&gt;tables _all_/nopercent nocum; also, would like to exclud some long list variables la dates how do I exclude specific variables?&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;example: the output would look like:&lt;/P&gt;
&lt;P&gt;sex&amp;nbsp; &amp;nbsp;N=&lt;/P&gt;
&lt;P&gt;F&amp;nbsp; &amp;nbsp; &amp;nbsp; 10&lt;/P&gt;
&lt;P&gt;M&amp;nbsp; &amp;nbsp; &amp;nbsp; 20&lt;/P&gt;
&lt;P&gt;Missing 10&lt;/P&gt;
&lt;P&gt;Id of missing&lt;/P&gt;
&lt;P&gt;1,2,3,4,5,6,7,8,9,10&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;your help will be very much appreciated it&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Lalohg&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jun 2018 18:06:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Id-list-of-all-missing-entries-for-all-variables-next-to-the/m-p/466961#M70657</guid>
      <dc:creator>lalohg</dc:creator>
      <dc:date>2018-06-01T18:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: Id list of all missing entries for all variables next to the cross tabulations</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Id-list-of-all-missing-entries-for-all-variables-next-to-the/m-p/466996#M70660</link>
      <description>&lt;P&gt;I don't think you can get the list of missing id's in proc freq. You can try something like this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
infile datalines missover;
input id gender $;
datalines ;
1 M
2 F
3
4 M
5 
6 M
7 
8 F
;
run;
proc sort data=have;
by gender;
run;
data want(drop=id);
format id_list $50.;
do until (last.gender);
set have;
by gender;
if first.gender then count=1;
else count+1;
id_list=strip(id_list)||","||strip(put(id,3.));
end;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 01 Jun 2018 19:08:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Id-list-of-all-missing-entries-for-all-variables-next-to-the/m-p/466996#M70660</guid>
      <dc:creator>SuryaKiran</dc:creator>
      <dc:date>2018-06-01T19:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: Id list of all missing entries for all variables next to the cross tabulations</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Id-list-of-all-missing-entries-for-all-variables-next-to-the/m-p/467003#M70661</link>
      <description>Thanks  SuryaKiran,&lt;BR /&gt;&lt;BR /&gt;It worked great! but I have a data set with several variables, is there a&lt;BR /&gt;way to include all variables?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Lalo</description>
      <pubDate>Fri, 01 Jun 2018 19:43:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Id-list-of-all-missing-entries-for-all-variables-next-to-the/m-p/467003#M70661</guid>
      <dc:creator>lalohg</dc:creator>
      <dc:date>2018-06-01T19:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: Id list of all missing entries for all variables next to the cross tabulations</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Id-list-of-all-missing-entries-for-all-variables-next-to-the/m-p/467008#M70662</link>
      <description>&lt;P&gt;How do you want to include then?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One way is use OUTPUT in the do loop, which returns all rows and only the last. will contain the list of id's missing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
format id_list $50.;
do until (last.gender);
set have;
by gender;
if first.gender then count=1;
else count+1;
id_list=strip(id_list)||","||strip(put(id,3.));
output;
end;
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 01 Jun 2018 19:52:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Id-list-of-all-missing-entries-for-all-variables-next-to-the/m-p/467008#M70662</guid>
      <dc:creator>SuryaKiran</dc:creator>
      <dc:date>2018-06-01T19:52:38Z</dc:date>
    </item>
    <item>
      <title>Re: Id list of all missing entries for all variables next to the cross tabulations</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Id-list-of-all-missing-entries-for-all-variables-next-to-the/m-p/467775#M70719</link>
      <description>&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jun 2018 17:44:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Id-list-of-all-missing-entries-for-all-variables-next-to-the/m-p/467775#M70719</guid>
      <dc:creator>lalohg</dc:creator>
      <dc:date>2018-06-05T17:44:40Z</dc:date>
    </item>
  </channel>
</rss>

