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

Explain the use of proc gplot? : sas-grid-administration

1042


what do the sas log messages "numeric values have been converted to character" mean? What are the implications? : Sas programming

1316


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

1152


What would be the value of month at the end of data step execution and how many observations would be there?

1224


what are the component of range? : Sas-bi

1147


what is the use of sas management console? : Sas-di

1138


What is the purpose of _character_ and _numeric_?

1105


Explain the purpose of substr functions in sas programming.

1105


I am preparing SAS Certified Advanced Programmer for SAS 9 in 2014. If anybody has the latest dumps for this exam, please mail me at dhiman.mukherjee@gmail.com

2771


explain the difference between proc means and proc summary?

1176


What is the length assigned to the target variable by the scan function?

1202


Explain by-group processing?

1036


What is the use of function Proc summary?

1340


how does sas handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, procs? : Sas programming

1067


What are pdv and it functions?

1238