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

Explain proc univariate?

972


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

976


What would you change about your job?

2333


describe about metadata object? : Sas-di

1009


What are the best sas programming practices for handling very large datasets? : sas-grid-administration

967


What is a method for assigning first.VAR and last.VAR to the BY group variable on unsorted data?

2532


This entry was posted in General. Bookmark the permalink. Post a comment or leave

4527


What is by-group processing?

947


How will you generate test data with no input data?

1107


Give e an example of..

2275


How do you control the number of observations and/or variables read or written? Approximately what date is represented by the SAS date value of 730?

1625


what is data integration? : Sas-di

1065


What is proc sort?

1138


hi here is a problem can anybody solve this? i want to report the data through third party file. by using data _null_ or proc report or macro automation process. but i want to insert the 'titles and footnotes' in between the data and also starting of 2nd and ending of 2nd and starting of 3rd and ending of the 3rd page. tell me how and write the code?

2062


Explain how you can debug and test your SAS program?

946