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 are some problems you might encounter in processing missing values? In data steps? Arithmetic? Comparisons? Functions? Classifying data? : Sas programming

1296


what is study design in while working with SAS? what are screening variables in SAS?

2277


Describe the function and utility of the most difficult SAS macro that you have written?

2627


what is slowly changing dimension? : Sas-di

1186


What is the different between functions and PROCs that calculate the same simple descriptive statistics?

1848


how can you import .csv file in to sas? : Sas programming

1139


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

1078


How do you define proc in sas? : sas-grid-administration

1135


If you have a dataset that contains 100 variables, but you need only five of those, what is the code to force SAS to use only those variables?

1210


How can you limit the variables written to output dataset in data step?

1380


how can you put a "trace" in your program? : Sas programming

1116


explain the main difference between the nodup and nodupkey options? : Sas-administrator

1224


Mention some common errors that are usually committed in sas programming.

1105


explain about various caches available in data integrator? : Sas-di

1114


what cause the "error: connect:" and "error in the libname statement" when there weren't any such problems?

2231