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
: and & modifiers.
What is a method for assigning first.VAR and last.VAR to the BY group variable on unsorted data?
How substr function works in sas?
what has been your most common programming mistake? : Sas programming
Mention sas system options to debug sas macros.
what is metadata? : Sas-bi
what r the job openings SAS for fresher graduates !
What is connection profile? : sas-grid-administration
Do you need to compute new variables? If so,should you do this before you execute the report-writing procedure?
what can you learn from the sas log when debugging? : Sas programming
What would be the result of the following SAS function (given that 31 Dec, 2000 is Sunday)?
for report generation which one you used proc report or data_null_?
If money were no object, what would you like to do?
Are you involved in writing the inferential analysis plan? Tables specifications?
Describe the function and utility of the most difficult SAS macro that you have written?