Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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,'.') ge 1 then dot=".";
if count(name,'%') ge 1 then per="%";
if count(name,"-") ge 1 then iph= "-";
col=(dot || per ||iph);
run;proc print;run;

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is your favorite all time computer book? Why?

2506


Explain translate function?

1201


How do you specify the number of iterations and specific condition within a single do loop?

1099


explain what is data set in sas? : Sas-administrator

986


Can you execute a macro within a macro? Describe. : sas-macro

1107


How long can a macro variable be? A token? : sas-macro

1209


why is sas data integration studio important? : Sas-di

1030


How would you code a merge that will write the matches of both to one data set, the non-matches from the left-most data?

1093


How do you test for missing values?

1629


Explain how merging helps to combine data sets.

1049


Name any two sas spawners? : sas-grid-administration

1037


for what purpose would you use the retain statement? : Sas programming

1090


Explain the difference between informat and format with an example.

1162


what is change analysis in sas di ? : Sas-di

1058


What is run-group processing?

1153