here is a string like chq.2312244%4452-
from that i want only special characters in a column.
dont use compress. bcoz i have 1.2 billion of records.i want
another process to find the values instant from the data.

Answer Posted / krish

data spdot;
set spec_char;
if count(name,'.') then dot=".";
if count(name,'%') then per="%";
if count(name,"-") then iph= "-";
col=(dot || per ||iph);
run;proc print;run;

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the statements that are executed only?

665


What do the PUT and INPUT functions do?

769


How will you react when, while consulting a SAS documentation manual to get an answer to a problem, someone says hey, I thought you were supposed to know all that stuff already, and not have to look it up in a book?

1934


Explain the main difference between the sas procedures and functions? : Sas-administrator

529


why a stop statement is needed for the point= option on a set statement?

617






explain about sas business intelligence? : Sas-bi

596


Explain the difference between informat and format with an example.

676


Name few SAS functions?

664


Are you involved in writing the inferential analysis plan? Tables specifications?

3471


Tell e how how dealt with..

1764


how to debug and test the sas program? : Sas-administrator

567


what is data integration? : Sas-di

606


What are the uses of sas?

694


how to create the AE dataset by using SDTMIG specifications and SAP plan by using UNIX platform?

2284


How will you use the WHO Drug Dictionary for Reporting Clinical Trials?

1874