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

how sas deals with business intelligence? : Sas-bi

1056


I have 3 years of work experience at a startup and recently got certified in Data Science with SAS. I need to know how to get into the analytics industry

1763


explain the key concept of sas? : Sas-administrator

1007


how to do user inputs and command line arguments in sas?

3050


how will you locate the sas platform applications? : Sas-bi

1034


what is broad cast agent? : Sas-bi

1072


why is sas considered self-documenting? : Sas programming

1149


What is program data vector (pdv)?

1299


where to use sas business intelligence? : Sas-bi

1093


What is the sas data set? : sas-grid-administration

985


which date function advances a date, time or datetime value by a given interval? : Sas programming

1054


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

1264


Which function is used to count the number of intervals between two sas dates?

1133


What do the sas log messages “numeric values have been converted to character” mean? What are the implications?

1195


Explain the difference between informat and format with an example.

1173