<?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: How to identified special characters variables in  dataset in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-identified-special-characters-variables-in-dataset/m-p/890514#M351890</link>
    <description>&lt;P&gt;Use the COMPRESS function on all character variables (define an ARRAY with _CHARACTER_) with the "kad" modifier.&lt;/P&gt;</description>
    <pubDate>Wed, 23 Aug 2023 07:56:03 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2023-08-23T07:56:03Z</dc:date>
    <item>
      <title>How to identified special characters variables in  dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-identified-special-characters-variables-in-dataset/m-p/890508#M351884</link>
      <description>&lt;P&gt;Hi Experts,&lt;/P&gt;
&lt;P&gt;Good Morning&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How to identify special characters variables in a dataset and how to delete those special characters from those variables&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2023 06:56:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-identified-special-characters-variables-in-dataset/m-p/890508#M351884</guid>
      <dc:creator>BrahmanandaRao</dc:creator>
      <dc:date>2023-08-23T06:56:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to identified special characters variables in  dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-identified-special-characters-variables-in-dataset/m-p/890509#M351885</link>
      <description>&lt;P&gt;Can you provide some sample data? Makes it much easier to provide a usable code answer.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You mean special characters in variable &lt;EM&gt;values&lt;/EM&gt;, correct?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And do you want to do this in &lt;EM&gt;all&lt;/EM&gt; character values in the data set?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2023 06:59:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-identified-special-characters-variables-in-dataset/m-p/890509#M351885</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2023-08-23T06:59:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to identified special characters variables in  dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-identified-special-characters-variables-in-dataset/m-p/890512#M351888</link>
      <description>&lt;P&gt;And don't forget to define what constitutes a "special" character (ASCII 0-31 or above 127, UTF, letters like the German "umlauts", ...?).&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2023 07:18:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-identified-special-characters-variables-in-dataset/m-p/890512#M351888</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-08-23T07:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to identified special characters variables in  dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-identified-special-characters-variables-in-dataset/m-p/890513#M351889</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data special;
input var1$ 1-12 var2$ 14-22  var3$ 24-35    var4$ 37-52  var5$ 54-67 var6$ 69-76 var7$  78-84;
datalines;
*/=464aa_!@#	12AAP@!$%	RAL%&amp;amp;*()!!54	8711UURR##!!*())	ZKQL+_))&amp;amp;%#%##	lsjkfj78	yyaa778
*/=464aa_!@#	12AAP@!$%	RAL%&amp;amp;*()!!55	8711UURR##!!*())	ZKQL+_))&amp;amp;%#%##	lsjkfj79	yyaa779
*/=464aa_!@#	12AAP@!$%	RAL%&amp;amp;*()!!56	8711UURR##!!*())	ZKQL+_))&amp;amp;%#%##	lsjkfj80	yyaa780
*/=464aa_!@#	12AAP@!$%	RAL%&amp;amp;*()!!57	8711UURR##!!*())	ZKQL+_))&amp;amp;%#%##	lsjkfj81	yyaa781
*/=464aa_!@#	12AAP@!$%	RAL%&amp;amp;*()!!58	8711UURR##!!*())	ZKQL+_))&amp;amp;%#%##	lsjkfj82	yyaa782
*/=464aa_!@#	12AAP@!$%	RAL%&amp;amp;*()!!59	8711UURR##!!*())	ZKQL+_))&amp;amp;%#%##	lsjkfj83	yyaa783
*/=464aa_!@#	12AAP@!$%	RAL%&amp;amp;*()!!60	8711UURR##!!*())	ZKQL+_))&amp;amp;%#%##	lsjkfj84	yyaa784
*/=464aa_!@#	12AAP@!$%	RAL%&amp;amp;*()!!61	8711UURR##!!*())	ZKQL+_))&amp;amp;%#%##	lsjkfj85	yyaa785
*/=464aa_!@#	12AAP@!$%	RAL%&amp;amp;*()!!62	8711UURR##!!*())	ZKQL+_))&amp;amp;%#%##	lsjkfj86	yyaa786
*/=464aa_!@#	12AAP@!$%	RAL%&amp;amp;*()!!63	8711UURR##!!*())	ZKQL+_))&amp;amp;%#%##	lsjkfj87	yyaa787
*/=464aa_!@#	12AAP@!$%	RAL%&amp;amp;*()!!64	8711UURR##!!*())	ZKQL+_))&amp;amp;%#%##	lsjkfj88	yyaa788
*/=464aa_!@#	12AAP@!$%	RAL%&amp;amp;*()!!65	8711UURR##!!*())	ZKQL+_))&amp;amp;%#%##	lsjkfj89	yyaa789

;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;In the above dataset&amp;nbsp; seven variables are there in sample dataset var6 and var7 only does not have special characters&amp;nbsp; &amp;nbsp;first i want to idetify which variables have special characters and then delete those special charaters&amp;nbsp; keep alpha and numeric in those variables&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2023 07:28:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-identified-special-characters-variables-in-dataset/m-p/890513#M351889</guid>
      <dc:creator>BrahmanandaRao</dc:creator>
      <dc:date>2023-08-23T07:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to identified special characters variables in  dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-identified-special-characters-variables-in-dataset/m-p/890514#M351890</link>
      <description>&lt;P&gt;Use the COMPRESS function on all character variables (define an ARRAY with _CHARACTER_) with the "kad" modifier.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2023 07:56:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-identified-special-characters-variables-in-dataset/m-p/890514#M351890</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-08-23T07:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to identified special characters variables in  dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-identified-special-characters-variables-in-dataset/m-p/890518#M351893</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data special;
input var1$ 1-12 var2$ 14-22  var3$ 24-35    var4$ 37-52  var5$ 54-67 var6$ 69-76 var7$  78-84;
datalines;
*/=464aa_!@#	12AAP@!$%	RAL%&amp;amp;*()!!54	8711UURR##!!*())	ZKQL+_))&amp;amp;%#%##	lsjkfj78	yyaa778
*/=464aa_!@#	12AAP@!$%	RAL%&amp;amp;*()!!55	8711UURR##!!*())	ZKQL+_))&amp;amp;%#%##	lsjkfj79	yyaa779
*/=464aa_!@#	12AAP@!$%	RAL%&amp;amp;*()!!56	8711UURR##!!*())	ZKQL+_))&amp;amp;%#%##	lsjkfj80	yyaa780
*/=464aa_!@#	12AAP@!$%	RAL%&amp;amp;*()!!57	8711UURR##!!*())	ZKQL+_))&amp;amp;%#%##	lsjkfj81	yyaa781
*/=464aa_!@#	12AAP@!$%	RAL%&amp;amp;*()!!58	8711UURR##!!*())	ZKQL+_))&amp;amp;%#%##	lsjkfj82	yyaa782
*/=464aa_!@#	12AAP@!$%	RAL%&amp;amp;*()!!59	8711UURR##!!*())	ZKQL+_))&amp;amp;%#%##	lsjkfj83	yyaa783
*/=464aa_!@#	12AAP@!$%	RAL%&amp;amp;*()!!60	8711UURR##!!*())	ZKQL+_))&amp;amp;%#%##	lsjkfj84	yyaa784
*/=464aa_!@#	12AAP@!$%	RAL%&amp;amp;*()!!61	8711UURR##!!*())	ZKQL+_))&amp;amp;%#%##	lsjkfj85	yyaa785
*/=464aa_!@#	12AAP@!$%	RAL%&amp;amp;*()!!62	8711UURR##!!*())	ZKQL+_))&amp;amp;%#%##	lsjkfj86	yyaa786
*/=464aa_!@#	12AAP@!$%	RAL%&amp;amp;*()!!63	8711UURR##!!*())	ZKQL+_))&amp;amp;%#%##	lsjkfj87	yyaa787
*/=464aa_!@#	12AAP@!$%	RAL%&amp;amp;*()!!64	8711UURR##!!*())	ZKQL+_))&amp;amp;%#%##	lsjkfj88	yyaa788
*/=464aa_!@#	12AAP@!$%	RAL%&amp;amp;*()!!65	8711UURR##!!*())	ZKQL+_))&amp;amp;%#%##	lsjkfj89	yyaa789

;
run;


data rspl;
set special;
array v[*] _character_;
do i= 1 to dim(v);
v[i]=compress(v[i],,'kad');
end;
drop i;
proc print noobs;
run;

&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 23 Aug 2023 09:13:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-identified-special-characters-variables-in-dataset/m-p/890518#M351893</guid>
      <dc:creator>BrahmanandaRao</dc:creator>
      <dc:date>2023-08-23T09:13:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to identified special characters variables in  dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-identified-special-characters-variables-in-dataset/m-p/890521#M351895</link>
      <description>&lt;P&gt;And did it do what you expected?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2023 09:38:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-identified-special-characters-variables-in-dataset/m-p/890521#M351895</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-08-23T09:38:40Z</dc:date>
    </item>
  </channel>
</rss>

