<?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: finding specific values within a library of multible datasets in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/finding-specific-values-within-a-library-of-multible-datasets/m-p/793198#M254191</link>
    <description>&lt;P&gt;Yes that is exactly what I'm looking for if 'None' as a character variable appeared at least once given that&lt;/P&gt;&lt;P&gt;1- all the variable values where 'None' appeared are of characters type only.&lt;/P&gt;&lt;P&gt;2- the variable values where the 'None' appeared is either characters or numeric.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 28 Jan 2022 19:44:21 GMT</pubDate>
    <dc:creator>Abdulla1</dc:creator>
    <dc:date>2022-01-28T19:44:21Z</dc:date>
    <item>
      <title>finding specific values within a library of multible datasets</title>
      <link>https://communities.sas.com/t5/SAS-Programming/finding-specific-values-within-a-library-of-multible-datasets/m-p/793167#M254177</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;Hello&lt;BR /&gt;among almost 100 file within a library (libname= "wsaslib") I'm trying to find all datasets (memname) that contains a value of "NONE" and I'm trying to do so for the following cases&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;1- if the variable is character only&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;2- if the variable contain both numeric and character variables &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jan 2022 17:00:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/finding-specific-values-within-a-library-of-multible-datasets/m-p/793167#M254177</guid>
      <dc:creator>Abdulla1</dc:creator>
      <dc:date>2022-01-28T17:00:40Z</dc:date>
    </item>
    <item>
      <title>Re: finding specific values within a library of multible datasets</title>
      <link>https://communities.sas.com/t5/SAS-Programming/finding-specific-values-within-a-library-of-multible-datasets/m-p/793173#M254179</link>
      <description>&lt;P&gt;So you need to find all datasets that have a character variable that contains 'NONE' at least once? Or do you also want numeric variables where a&amp;nbsp;&lt;EM&gt;formatted&lt;/EM&gt; value resolves to 'NONE'?&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jan 2022 18:00:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/finding-specific-values-within-a-library-of-multible-datasets/m-p/793173#M254179</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-01-28T18:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: finding specific values within a library of multible datasets</title>
      <link>https://communities.sas.com/t5/SAS-Programming/finding-specific-values-within-a-library-of-multible-datasets/m-p/793198#M254191</link>
      <description>&lt;P&gt;Yes that is exactly what I'm looking for if 'None' as a character variable appeared at least once given that&lt;/P&gt;&lt;P&gt;1- all the variable values where 'None' appeared are of characters type only.&lt;/P&gt;&lt;P&gt;2- the variable values where the 'None' appeared is either characters or numeric.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jan 2022 19:44:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/finding-specific-values-within-a-library-of-multible-datasets/m-p/793198#M254191</guid>
      <dc:creator>Abdulla1</dc:creator>
      <dc:date>2022-01-28T19:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: finding specific values within a library of multible datasets</title>
      <link>https://communities.sas.com/t5/SAS-Programming/finding-specific-values-within-a-library-of-multible-datasets/m-p/793249#M254220</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/414636"&gt;@Abdulla1&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Yes that is exactly what I'm looking for if 'None' as a character variable appeared at least once given that&lt;/P&gt;
&lt;P&gt;1- all the variable values where 'None' appeared are of characters type only.&lt;/P&gt;
&lt;P&gt;2- the variable values where the 'None' appeared is either characters or numeric.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You did not answer the question.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How do you expect the search for the word None in a numeric field?&amp;nbsp; There is no place to store letters.&amp;nbsp; The question was do you want to check the formatted values of the numeric variables, in case they have a user defined format attached to them (and the format is available in one of the catalogs listed in the FMTSEARCH system option).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Plus there are other questions.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The main one being WHY?&amp;nbsp; What is the real world problem such code would solve.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please clarify that you want to search the values of the variables and not the names of the variables or the names of the datasets for the string 'None'.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you only want to search for 'None'?&amp;nbsp; What about 'NONE' or 'none' or even '&amp;nbsp; &amp;nbsp;None'?&amp;nbsp; In SAS string comparisons are case sensitive.&amp;nbsp; And leading spaces in a the value of a variable are significant.&amp;nbsp; Trailing spaces are not significant since SAS stores character variables as FIXED length strings, padding them with spaces to their full length.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is the result you want?&amp;nbsp; A list of the datasets where NONE was found? A list of the variables where NONE was found?&amp;nbsp; A list of the observations where NONE was found?&amp;nbsp; If the later do all of the database have common key variables you could include in the list to properly identify the observation(s) where NONE was found.&lt;/P&gt;</description>
      <pubDate>Sat, 29 Jan 2022 02:57:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/finding-specific-values-within-a-library-of-multible-datasets/m-p/793249#M254220</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-01-29T02:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: finding specific values within a library of multible datasets</title>
      <link>https://communities.sas.com/t5/SAS-Programming/finding-specific-values-within-a-library-of-multible-datasets/m-p/793266#M254228</link>
      <description>&lt;P&gt;1- "How do you expect the search for the word None in a numeric field?"&amp;nbsp;&lt;/P&gt;&lt;P&gt;within the numeric only field I don't want to search for the word 'None',&amp;nbsp; in another word I don't want to check for the formatted value of the numeric field.&lt;/P&gt;&lt;P&gt;2- What is the real world problem such code would solve.&lt;/P&gt;&lt;P&gt;there are actually two different problems that I'm trying to solve.&lt;/P&gt;&lt;P&gt;a- I'm unable to get a specific data by the variable name as it is probably stored under different name other that I'm expecting. rather, I believe that the variable may have specific characters in it's fields such as 'None'. I need to locate in which datasets I can find this variable. and to limit the outputs I know that all values within the variable are of of character type and none of them is numeric, if that is not possible then no problem.&lt;/P&gt;&lt;P&gt;b- at few of the datasets I have missing values for customers phone number, these missing fields are filled with 'None' as character value. I need to locate such datasets knowing that the variable phone number is sometimes stored as phone, contact, mobile, ... and many other different names at different datasets.&lt;/P&gt;&lt;P&gt;3- Do you only want to search for 'None'?&amp;nbsp;&lt;/P&gt;&lt;P&gt;For now yes only the word 'None' and I can then play with the code afterwards. and btw, thanks for notifying me about all the different possibilities.&lt;/P&gt;&lt;P&gt;4- What is the result you want?&lt;/P&gt;&lt;P&gt;I'm actually looking for a list of the datasets where 'None' was found?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&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>Sat, 29 Jan 2022 06:16:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/finding-specific-values-within-a-library-of-multible-datasets/m-p/793266#M254228</guid>
      <dc:creator>Abdulla1</dc:creator>
      <dc:date>2022-01-29T06:16:46Z</dc:date>
    </item>
  </channel>
</rss>

