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...


data jagan1.s;
input bp$;
cards;
100/90
120/89
112/87
run;
in the above code how to convert character data values to numeric data values?

Answer Posted / hny135

DATA JAGAN1.S1;
SET JAGAN1.S;
X=SCAN(BP,1,'/');
Y=SCAN(BP,2,'/');
A=INPUT(X,3.);
B=INPUT(Y,2.);
DROP BP X Y;
RUN;

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how many types of prompts are there? : Sas-bi

1077


what is business intelligence? : Sas-bi

1063


Explain what Proc glm does?

1206


what are sas/access and sas/connect? : Sas programming

991


how does sas handle missing values in procs? : Sas programming

1246


explain what is factor analysis? : Sas-administrator

1112


how will you location sas platform applications available from web browser? : Sas-bi

1071


How many ways to overcome a missing values???

2809


how does sas handle missing values in formats? : Sas programming

1139


Explain what is SAS informats?

1092


What are the different servers in sas? : sas-grid-administration

1053


What is the differnce between SDTM 3.1.2 to 3.1.1 version

5071


how to change the execute of macro

2311


What is the maximum length of the macro variable?

1178


what is broad cast agent? : Sas-bi

1069