<?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: Cleaning Driving License Number in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Cleaning-Driving-License-Number/m-p/903251#M356927</link>
    <description>&lt;P&gt;Are you going to read multiple files with this problem? If so then the most efficient might be a custom informat that will "read" known problems as a blank.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this is a one time thing then something like:&lt;/P&gt;
&lt;PRE&gt;data want;
   set have;
   if license in ( 'None' 'XXXXXX' 'XXXXXXXXXXXX' 'PPPPPPPPPPPP'  'FFFFFFFFFFFF'  'Unknown' 'Not available') then call missing(license);
run;&lt;/PRE&gt;
&lt;P&gt;call missing is a special function that will set any list of variables to the appropriate missing type value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 15 Nov 2023 17:13:53 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2023-11-15T17:13:53Z</dc:date>
    <item>
      <title>Cleaning Driving License Number</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Cleaning-Driving-License-Number/m-p/903239#M356921</link>
      <description>&lt;P&gt;Good Morning Everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have driver's license numbers from various states such as Maryland, Virginia, DC, Delaware, or other surrounding states on the East Coast, and so on. &lt;SPAN&gt;This specific variable is currently miscoded, with some license numbers represented as None, XXXXXX, XXXXXXXXXXXX, PPPPPPPPPPPP, FFFFFFFFFFFF, Unknown, or Not available. My objective is to transform these miscoded license numbers into the appropriate blank field. Could someone please provide the most effective method for cleaning this variable?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2023 16:42:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Cleaning-Driving-License-Number/m-p/903239#M356921</guid>
      <dc:creator>kbhagat</dc:creator>
      <dc:date>2023-11-15T16:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: Cleaning Driving License Number</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Cleaning-Driving-License-Number/m-p/903251#M356927</link>
      <description>&lt;P&gt;Are you going to read multiple files with this problem? If so then the most efficient might be a custom informat that will "read" known problems as a blank.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this is a one time thing then something like:&lt;/P&gt;
&lt;PRE&gt;data want;
   set have;
   if license in ( 'None' 'XXXXXX' 'XXXXXXXXXXXX' 'PPPPPPPPPPPP'  'FFFFFFFFFFFF'  'Unknown' 'Not available') then call missing(license);
run;&lt;/PRE&gt;
&lt;P&gt;call missing is a special function that will set any list of variables to the appropriate missing type value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2023 17:13:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Cleaning-Driving-License-Number/m-p/903251#M356927</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-11-15T17:13:53Z</dc:date>
    </item>
  </channel>
</rss>

