<?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: Identify unseen characters and resolve in SAS dataset for a particular column in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Identify-unseen-characters-and-resolve-in-SAS-dataset-for-a/m-p/728449#M226669</link>
    <description>&lt;P&gt;Sure.&amp;nbsp; The TRANSLATE() function matches the two lists of characters by position.&amp;nbsp; So to map both the '00'x and the 'FF'x characters to spaces use:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;string = translate(string,'  ','00FF'x);&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 23 Mar 2021 14:18:43 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2021-03-23T14:18:43Z</dc:date>
    <item>
      <title>Identify unseen characters and resolve in SAS dataset for a particular column</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Identify-unseen-characters-and-resolve-in-SAS-dataset-for-a/m-p/728098#M226560</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;Could you please help me - How to identify unseen characters in SAS dataset under one particular field. data&amp;nbsp;looks normal to my eyes in SAS table but actually there are some unseen control characters which i can not see. can you please guide how can i recognise those records&lt;/P&gt;</description>
      <pubDate>Mon, 22 Mar 2021 10:14:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Identify-unseen-characters-and-resolve-in-SAS-dataset-for-a/m-p/728098#M226560</guid>
      <dc:creator>JJP1</dc:creator>
      <dc:date>2021-03-22T10:14:26Z</dc:date>
    </item>
    <item>
      <title>Re: Identify unseen characters and resolve in SAS dataset for a particular column</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Identify-unseen-characters-and-resolve-in-SAS-dataset-for-a/m-p/728117#M226570</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/256123"&gt;@JJP1&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If your character data use a single-byte character set (SBCS), try this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
set have;
_pos=findc(var,' ','kg');
if _pos;
_c=rank(char(var,_pos));
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Variable &lt;FONT face="courier new,courier"&gt;_pos&lt;/FONT&gt; will contain the position of the first invisible character, except ordinary blanks, in character variable &lt;FONT face="courier new,courier"&gt;var&lt;/FONT&gt;.&amp;nbsp; If such a character is found, the observation will be written to dataset WANT and variable &lt;FONT face="courier new,courier"&gt;_c&lt;/FONT&gt;&amp;nbsp;will contain the decimal ASCII code (assuming an ASCII system) of that invisible character (e.g., 9 for a tab character, 160 for a non-breakable space).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Edit: To check all characters of &lt;FONT face="courier new,courier"&gt;var&lt;/FONT&gt; in the selected observations at once, apply the &lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.5&amp;amp;docsetId=leforinforref&amp;amp;docsetTarget=p1h8xtl50tpzthn1u8kp0sji8f60.htm&amp;amp;locale=en" target="_blank" rel="noopener"&gt;$HEX&lt;EM&gt;w&lt;/EM&gt;. format&lt;/A&gt; to &lt;FONT face="courier new,courier"&gt;var&lt;/FONT&gt;.&lt;/P&gt;
&lt;P&gt;Example:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc print data=want(obs=10);
format var $hex80.;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Adapt the length of the format (here: 80) to twice the length of &lt;FONT face="courier new,courier"&gt;var&lt;/FONT&gt;. The output will display the hexadecimal ASCII codes of the characters, e.g., A0&amp;nbsp;for a non-breakable space.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To remove the unwanted characters, use the &lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.5&amp;amp;docsetId=lefunctionsref&amp;amp;docsetTarget=n0fcshr0ir3h73n1b845c4aq58hz.htm&amp;amp;locale=en" target="_blank" rel="noopener"&gt;COMPRESS function&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Example:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data clean;
set have;
var=compress(var,' ','kg');
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;But maybe you rather want to &lt;EM&gt;replace&lt;/EM&gt; them, e.g., by using the &lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.5&amp;amp;docsetId=lefunctionsref&amp;amp;docsetTarget=p05ww22zp7lcg3n1bjk7v93tscyo.htm&amp;amp;locale=en" target="_blank" rel="noopener"&gt;TRANSLATE function&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Mar 2021 12:09:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Identify-unseen-characters-and-resolve-in-SAS-dataset-for-a/m-p/728117#M226570</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2021-03-22T12:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: Identify unseen characters and resolve in SAS dataset for a particular column</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Identify-unseen-characters-and-resolve-in-SAS-dataset-for-a/m-p/728356#M226631</link>
      <description>&lt;P&gt;Thnaks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/32733"&gt;@FreelanceReinh&lt;/a&gt;&amp;nbsp;. please find below sample screen shot output and i am trying to run the proc print to see unseen characters but i am getting error as var is not character datatype. and there is no data for var field. please help&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JJP1_1-1616483289123.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/56293i41F14F29887EC982/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JJP1_1-1616483289123.png" alt="JJP1_1-1616483289123.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Mar 2021 07:08:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Identify-unseen-characters-and-resolve-in-SAS-dataset-for-a/m-p/728356#M226631</guid>
      <dc:creator>JJP1</dc:creator>
      <dc:date>2021-03-23T07:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: Identify unseen characters and resolve in SAS dataset for a particular column</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Identify-unseen-characters-and-resolve-in-SAS-dataset-for-a/m-p/728367#M226635</link>
      <description>&lt;P&gt;In your initial post you wrote about "&lt;SPAN&gt;one particular field" being affected by invisible characters -- without disclosing the variable name. Therefore I used the generic variable name &lt;FONT face="courier new,courier"&gt;var&lt;/FONT&gt;&amp;nbsp;for that "particular field." Apparently I should have mentioned that &lt;EM&gt;you need to replace this name by the name of your real character variable&lt;/EM&gt;, as SAS doesn't know by default where to look for the invisible characters. Sorry for this omission.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Mar 2021 08:14:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Identify-unseen-characters-and-resolve-in-SAS-dataset-for-a/m-p/728367#M226635</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2021-03-23T08:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: Identify unseen characters and resolve in SAS dataset for a particular column</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Identify-unseen-characters-and-resolve-in-SAS-dataset-for-a/m-p/728370#M226637</link>
      <description>&lt;P&gt;try use anycntrl.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
  set have;
  if ANYCNTRL(&lt;EM&gt;&lt;STRONG&gt;VAR&lt;/STRONG&gt;&lt;/EM&gt;);/*Replace &lt;EM&gt;&lt;STRONG&gt;VAR&lt;/STRONG&gt;&lt;/EM&gt; with one &lt;SPAN&gt;particular &lt;/SPAN&gt;field name which has unseen characters */
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Mar 2021 08:52:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Identify-unseen-characters-and-resolve-in-SAS-dataset-for-a/m-p/728370#M226637</guid>
      <dc:creator>japelin</dc:creator>
      <dc:date>2021-03-23T08:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: Identify unseen characters and resolve in SAS dataset for a particular column</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Identify-unseen-characters-and-resolve-in-SAS-dataset-for-a/m-p/728390#M226644</link>
      <description>&lt;P&gt;hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/226565"&gt;@japelin&lt;/a&gt;&amp;nbsp;. i have ran the query as suggested by you. but i have no data in output table want.&lt;/P&gt;&lt;P&gt;does this mean that there is no unseen characters&amp;nbsp; ? but there are unseen characters please&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Mar 2021 10:10:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Identify-unseen-characters-and-resolve-in-SAS-dataset-for-a/m-p/728390#M226644</guid>
      <dc:creator>JJP1</dc:creator>
      <dc:date>2021-03-23T10:10:24Z</dc:date>
    </item>
    <item>
      <title>Re: Identify unseen characters and resolve in SAS dataset for a particular column</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Identify-unseen-characters-and-resolve-in-SAS-dataset-for-a/m-p/728396#M226647</link>
      <description>&lt;P&gt;try this code.&lt;/P&gt;
&lt;P&gt;if your data has&amp;nbsp;&lt;SPAN&gt;a control character, uns= shows&amp;nbsp;&amp;nbsp;ASCII collating sequence of it.&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt; data want;
   set have;
   pos=ANYCNTRL(&lt;EM&gt;&lt;STRONG&gt;VAR&lt;/STRONG&gt;&lt;/EM&gt;);/* replace var to your field name */
   if pos&amp;gt;0 then uns=rank(substr(var,pos,1));
   put uns=;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;For example, the tab is 9.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Mar 2021 10:33:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Identify-unseen-characters-and-resolve-in-SAS-dataset-for-a/m-p/728396#M226647</guid>
      <dc:creator>japelin</dc:creator>
      <dc:date>2021-03-23T10:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: Identify unseen characters and resolve in SAS dataset for a particular column</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Identify-unseen-characters-and-resolve-in-SAS-dataset-for-a/m-p/728399#M226649</link>
      <description>&lt;P&gt;yes sorry i got the output data now. iam just trying to see the unseen characters by copying to notepad++ but not able to see those unseen values.&lt;/P&gt;&lt;P&gt;can't we not see those unseen characters ?&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&amp;nbsp;am i wrong please ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Mar 2021 10:53:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Identify-unseen-characters-and-resolve-in-SAS-dataset-for-a/m-p/728399#M226649</guid>
      <dc:creator>JJP1</dc:creator>
      <dc:date>2021-03-23T10:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: Identify unseen characters and resolve in SAS dataset for a particular column</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Identify-unseen-characters-and-resolve-in-SAS-dataset-for-a/m-p/728402#M226651</link>
      <description>&lt;P&gt;What kind of characters did you find with SAS, i.e., their decimal code in variable &lt;FONT face="courier new,courier"&gt;_c&lt;/FONT&gt; or the hexadecimal code seen with the $HEX&lt;EM&gt;w&lt;/EM&gt;. format? Then why do you need to use external tools in addition?&lt;/P&gt;</description>
      <pubDate>Tue, 23 Mar 2021 11:10:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Identify-unseen-characters-and-resolve-in-SAS-dataset-for-a/m-p/728402#M226651</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2021-03-23T11:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: Identify unseen characters and resolve in SAS dataset for a particular column</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Identify-unseen-characters-and-resolve-in-SAS-dataset-for-a/m-p/728405#M226652</link>
      <description>&lt;P&gt;Upload the result of the output of the uns variable to the log, just as an image.&lt;/P&gt;
&lt;P&gt;like this.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2021-03-23_20h28_54.png" style="width: 258px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/56299i8EFA07601FCF0CDD/image-size/large?v=v2&amp;amp;px=999" role="button" title="2021-03-23_20h28_54.png" alt="2021-03-23_20h28_54.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Since the control code is not visible, you will have to convert it to another format such as hex format or ASCII collating sequence.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Mar 2021 11:29:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Identify-unseen-characters-and-resolve-in-SAS-dataset-for-a/m-p/728405#M226652</guid>
      <dc:creator>japelin</dc:creator>
      <dc:date>2021-03-23T11:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: Identify unseen characters and resolve in SAS dataset for a particular column</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Identify-unseen-characters-and-resolve-in-SAS-dataset-for-a/m-p/728408#M226654</link>
      <description>&lt;P&gt;after running the code as per your suggested i am getting below output . can you please advise is the below data has unseen characters pos is '0' and uns '.' for all records on that particular filed please&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JJP1_0-1616499382047.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/56300iF7769387EFF84AD6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JJP1_0-1616499382047.png" alt="JJP1_0-1616499382047.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Mar 2021 11:37:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Identify-unseen-characters-and-resolve-in-SAS-dataset-for-a/m-p/728408#M226654</guid>
      <dc:creator>JJP1</dc:creator>
      <dc:date>2021-03-23T11:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: Identify unseen characters and resolve in SAS dataset for a particular column</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Identify-unseen-characters-and-resolve-in-SAS-dataset-for-a/m-p/728410#M226655</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JJP1_0-1616499805789.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/56301i13E19BFD4B0DC139/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JJP1_0-1616499805789.png" alt="JJP1_0-1616499805789.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;uploaded please have a look and&amp;nbsp; have marked red due to confidentiality purpose please .&lt;/P&gt;&lt;P&gt;for uns=. it's whole log has only missing values for uns which is .&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Mar 2021 11:47:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Identify-unseen-characters-and-resolve-in-SAS-dataset-for-a/m-p/728410#M226655</guid>
      <dc:creator>JJP1</dc:creator>
      <dc:date>2021-03-23T11:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: Identify unseen characters and resolve in SAS dataset for a particular column</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Identify-unseen-characters-and-resolve-in-SAS-dataset-for-a/m-p/728412#M226656</link>
      <description>&lt;P&gt;Please show the results of my code as well, e.g., the output of the suggested PROC PRINT step using dataset WANT. Your latest screenshots belong to&amp;nbsp;kawakami's code. Ideally, copy and paste the output into a code box opened with the &amp;lt;/&amp;gt; ("Insert Code") button. This is better than uploading screenshots.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Mar 2021 12:13:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Identify-unseen-characters-and-resolve-in-SAS-dataset-for-a/m-p/728412#M226656</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2021-03-23T12:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: Identify unseen characters and resolve in SAS dataset for a particular column</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Identify-unseen-characters-and-resolve-in-SAS-dataset-for-a/m-p/728417#M226658</link>
      <description>&lt;P&gt;Use the $HEX format to look at what characters are in the file.&lt;/P&gt;
&lt;P&gt;Personally I would check for any character that does not fall into the normal range of ASCII codes from '20'x (space) to '7F'x (tilde).&amp;nbsp; One way to do that is to compress out the normal characters and then if the resulting string has anything in it they are the other characters.&lt;/P&gt;
&lt;P&gt;For example if you have a dataset named HAVE with a character variable named STRING then code will create a dataset with just the observations where STRING had some strange characters.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want ;
  set have ;
  bad_chars = compress(string,collate(020x,07Fx));
  length = lengthn(bad_chars);
  if length ;
  keep length bad_chars string ;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Example:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have ;
  length string $20 ;
  string = 'abc';
  output;
  string = 'abc' || 'A0'x ;
  output;
run;


data want ;
  set have ;
  bad_chars = compress(string,collate(020x,07Fx));
  length = lengthn(bad_chars);
  if length ;
  keep length bad_chars string ;
run;

proc print data=want;
  format bad_chars $hex. ;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;PRE&gt;Obs    string                   bad_chars                    length

 1      abc&amp;nbsp;     A020202020202020202020202020202020202020       1

&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Mar 2021 12:46:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Identify-unseen-characters-and-resolve-in-SAS-dataset-for-a/m-p/728417#M226658</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-03-23T12:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: Identify unseen characters and resolve in SAS dataset for a particular column</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Identify-unseen-characters-and-resolve-in-SAS-dataset-for-a/m-p/728431#M226663</link>
      <description>&lt;P&gt;Thanks you so much&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159"&gt;@Tom&lt;/a&gt;&amp;nbsp;. i am able to see nearly 2000 records are having unseen characters please have a look on below screen shot. Actually from source itself iam getting the file like this.&lt;/P&gt;&lt;P&gt;Would you please advise how can i resolve this issue even if source file is sent with unseen characters please.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JJP1_0-1616507018938.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/56305i73799FA8767CC828/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JJP1_0-1616507018938.png" alt="JJP1_0-1616507018938.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Mar 2021 13:43:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Identify-unseen-characters-and-resolve-in-SAS-dataset-for-a/m-p/728431#M226663</guid>
      <dc:creator>JJP1</dc:creator>
      <dc:date>2021-03-23T13:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: Identify unseen characters and resolve in SAS dataset for a particular column</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Identify-unseen-characters-and-resolve-in-SAS-dataset-for-a/m-p/728433#M226664</link>
      <description>&lt;P&gt;Those all looks like zeros.&lt;/P&gt;
&lt;P&gt;Try replacing the zeros with spaces&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;string = translate(string,' ','00'x);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;and then re-check to see if there are other characters.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Mar 2021 13:48:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Identify-unseen-characters-and-resolve-in-SAS-dataset-for-a/m-p/728433#M226664</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-03-23T13:48:42Z</dc:date>
    </item>
    <item>
      <title>Re: Identify unseen characters and resolve in SAS dataset for a particular column</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Identify-unseen-characters-and-resolve-in-SAS-dataset-for-a/m-p/728448#M226668</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159"&gt;@Tom&lt;/a&gt;&amp;nbsp;. rechecked i can see the below character values in output data. can i use translate function to resolve the both cases please&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JJP1_0-1616508604288.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/56306i400913C916A669A8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JJP1_0-1616508604288.png" alt="JJP1_0-1616508604288.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Mar 2021 14:10:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Identify-unseen-characters-and-resolve-in-SAS-dataset-for-a/m-p/728448#M226668</guid>
      <dc:creator>JJP1</dc:creator>
      <dc:date>2021-03-23T14:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: Identify unseen characters and resolve in SAS dataset for a particular column</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Identify-unseen-characters-and-resolve-in-SAS-dataset-for-a/m-p/728449#M226669</link>
      <description>&lt;P&gt;Sure.&amp;nbsp; The TRANSLATE() function matches the two lists of characters by position.&amp;nbsp; So to map both the '00'x and the 'FF'x characters to spaces use:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;string = translate(string,'  ','00FF'x);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 23 Mar 2021 14:18:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Identify-unseen-characters-and-resolve-in-SAS-dataset-for-a/m-p/728449#M226669</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-03-23T14:18:43Z</dc:date>
    </item>
  </channel>
</rss>

