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 / srinivasa rao
Using input function
data jaganl.1;
input bp$;
a=input(bp);
cards;
100/90
120/89
112/87
;
run;
| Is This Answer Correct ? | 1 Yes | 9 No |
Post New Answer View All Answers
for whom is sas data integration studio designed? : Sas-di
what is star schema? : Sas-di
Are you sensitive to code walk-throughs peer review or QC review?
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?
name some data transformation used in sas di? : Sas-di
What is the maximum length of the macro variable?
How long can a macro variable be? A token? : sas-macro
What does proc print, and proc contents are used for?
Describe 5 ways to do a “table lookup” in SAS?
What are the data types that sas contain?
What do you know about sas data set?
where to use sas business intelligence? : Sas-bi
what is function of retain statment
Can you execute macro within another macro? : sas-macro
Did you used proc test? when?