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

Mention the validation tools used in SAS?

1105


how we can create a FLAG datasets? Ex:-ID age_group no_persons 1 to 10 10 to 20 3 11 to 20 21 to 30 7 21 to 3o 31 to 40 5

2059


how to generate the test data in sas without input data? : Sas-administrator

1050


How you can read the variables that you need?

1069


Why double trailing @@ is used in input statement?

1150


Mention common programming errors committed in sas ?

1058


Mention the category in which sas informats are placed?

976


how to change the execute of macro

2227


How do you use the do loop if you don’t know how many times you should execute the do loop?

1210


Give some examples where proc report’s defaults are same as proc print’s defaults?

1054


For clinical entire study how many tables will create approx?

1905


Explain why double trailing @@ is used in input statement?

1008


Explain how merging helps to combine data sets.

992


Describe a time when you were really stuck on a problem and how you solved it?

2482


what is the purpose of _error_? : Sas programming

1080